/* ==========================================================================
   Slomo Personal – main.css
   Autor: Lizardo Agency
   ========================================================================== */

/* ---------- Fonty (lokalnie, RODO) ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-ExtraBold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

/* ---------- Zmienne ---------- */
:root {
	--c-primary: #c33838;
	--c-primary-d: color-mix(in srgb, var(--c-primary) 82%, #000);
	--c-primary-soft: color-mix(in srgb, var(--c-primary) 9%, #fff);
	--c-primary-tint: color-mix(in srgb, var(--c-primary) 16%, transparent);
	--c-ink: #15171c;
	--c-ink-2: color-mix(in srgb, var(--c-ink) 88%, #fff);
	--c-text: #2b2e35;
	--c-muted: #656b76;
	--c-line: #e8e3dd;
	--c-bg: #faf8f5;
	--c-alt: #f3efea;
	--c-surface: #fff;

	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-head: "Inter Display", "Inter", system-ui, sans-serif;

	--r-sm: 12px;
	--r: 20px;
	--r-lg: 28px;
	--r-pill: 999px;

	--shadow-sm: 0 2px 8px rgba(21, 23, 28, .05);
	--shadow: 0 18px 50px -18px rgba(21, 23, 28, .18);
	--shadow-lg: 0 40px 90px -30px rgba(21, 23, 28, .35);

	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);

	--container: 1240px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(84px, 10vw, 150px);
	--header-h: 84px;
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-primary); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--c-ink); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--c-primary); color: #fff; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.site-main { overflow-x: clip; }

.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: fixed; top: 12px; left: 12px; z-index: 1000; padding: 12px 18px;
	background: var(--c-ink); color: #fff; border-radius: var(--r-sm); transform: translateY(-200%);
	transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }

.icon { flex-shrink: 0; }

/* Pasek postępu przewijania */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--c-primary); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); }

/* ---------- Typografia sekcji ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--c-primary); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--c-primary); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem); margin-bottom: 0; }
.section-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--c-muted); margin: 22px 0 0; max-width: 640px; }
.section-head--center .section-lead { margin-inline: auto; }

/* Wyróżnione słowo z podkreśleniem */
.accent-word { position: relative; display: inline-block; color: var(--c-primary); white-space: nowrap; }
.accent-word svg { position: absolute; left: 0; right: 0; bottom: -.08em; width: 100%; height: .22em; overflow: visible; }
.accent-word path { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.1s var(--ease) .5s; vector-effect: non-scaling-stroke; }
.is-in .accent-word path, .no-anim .accent-word path { stroke-dashoffset: 0; }
html:not(.js) .accent-word path { stroke-dashoffset: 0; }

/* ---------- Przyciski ---------- */
.btn {
	--btn-bg: var(--c-ink); --btn-fg: #fff; --btn-bd: var(--btn-bg);
	--btn-hover: var(--c-ink); --btn-hover-fg: #fff;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px;
	font-weight: 600; font-size: 1rem; line-height: 1; letter-spacing: -.005em;
	color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
	border-radius: var(--r-pill);
	transition: color .25s ease, border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
	white-space: nowrap;
}
.btn:hover { color: var(--btn-hover-fg); background: var(--btn-hover); border-color: var(--btn-hover); }
.btn--primary { --btn-bg: var(--c-primary); --btn-hover: var(--c-primary-d); box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--c-primary) 70%, transparent); }
.btn--primary:hover { box-shadow: 0 14px 34px -12px color-mix(in srgb, var(--c-primary) 85%, transparent); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bd: color-mix(in srgb, var(--c-ink) 22%, transparent); --btn-hover: var(--c-ink); }
.btn--ghost, .btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bd: var(--c-line); --btn-hover: var(--c-alt); --btn-hover-fg: var(--c-ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.0625rem; }
.btn:disabled { opacity: .6; pointer-events: none; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-ink);
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
	padding-bottom: 3px; transition: background-size .4s var(--ease), color .3s;
}
.link-arrow:hover { background-size: 100% 1.5px; color: var(--c-primary); }
.link-arrow .icon { transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Nagłówek ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
	transition: transform .5s var(--ease), background-color .4s, box-shadow .4s, height .4s var(--ease);
}
.site-header.is-scrolled {
	--header-h: 72px;
	background: color-mix(in srgb, var(--c-bg) 82%, transparent);
	backdrop-filter: saturate(1.6) blur(16px);
	-webkit-backdrop-filter: saturate(1.6) blur(16px);
	box-shadow: 0 1px 0 var(--c-line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 100%; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--c-ink); }
.logo:hover { color: var(--c-ink); }
.logo__img { width: auto; height: 38px; }
.logo__tag {
	font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted);
	padding-left: 12px; border-left: 1px solid var(--c-line); line-height: 1.2;
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list a {
	position: relative; display: block; padding: 10px 14px; font-weight: 500; font-size: .9875rem; color: var(--c-ink);
	border-radius: var(--r-pill); transition: color .25s, background-color .25s;
}
.nav__list a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1.5px; background: var(--c-primary);
	transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__list a:hover { color: var(--c-ink); }
.nav__list a:hover::after, .nav__list .current-menu-item > a::after, .nav__list .current_page_item > a::after { transform: scaleX(1); transform-origin: left; }

.site-header__actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; color: var(--c-ink); }
.header-phone .icon { color: var(--c-primary); }

.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--c-ink); color: #fff; align-items: center; justify-content: center; }
.menu-toggle__bars { position: relative; width: 20px; height: 12px; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle__bars span:first-child { top: 1px; }
.menu-toggle__bars span:last-child { top: 9px; width: 70%; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 5px; width: 100%; transform: rotate(-45deg); }

/* Menu mobilne */
.mobile-menu {
	position: fixed; inset: 0; z-index: 90; background: var(--c-bg);
	padding: calc(var(--header-h) + 24px) 0 40px; overflow-y: auto;
	clip-path: circle(0 at calc(100% - 44px) 42px);
	transition: clip-path .7s var(--ease-in-out);
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); }
.mobile-menu__inner { display: flex; flex-direction: column; gap: 36px; min-height: 100%; }
.mobile-menu__list a {
	display: block; padding: 10px 0; font-family: var(--f-head); font-weight: 700;
	font-size: clamp(2rem, 8vw, 2.8rem); letter-spacing: -.03em; color: var(--c-ink); border-bottom: 1px solid var(--c-line);
	opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mobile-menu.is-open .mobile-menu__list a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) a { transition-delay: .06s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) a { transition-delay: .12s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) a { transition-delay: .18s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) a { transition-delay: .24s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(6) a { transition-delay: .3s; }
.mobile-menu__ctas { display: grid; gap: 12px; }
.mobile-menu__contact { display: grid; gap: 10px; margin-top: auto; }
.mobile-menu__contact a { display: inline-flex; gap: 10px; align-items: center; font-weight: 500; }
.mobile-menu__contact .icon { color: var(--c-primary); }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(70px, 8vw, 120px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__blob {
	position: absolute; width: 60vw; max-width: 900px; aspect-ratio: 1; right: -18vw; top: -22vw;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--c-primary) 16%, transparent), transparent 70%);
	filter: blur(10px); animation: blob 18s var(--ease-in-out) infinite alternate;
}
.hero__grid-lines {
	position: absolute; inset: 0;
	background-image: linear-gradient(to right, color-mix(in srgb, var(--c-ink) 6%, transparent) 1px, transparent 1px);
	background-size: calc((min(100vw, var(--container) + var(--gutter) * 2) - var(--gutter) * 2) / 6) 100%;
	background-position: center;
	mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
@keyframes blob { to { transform: translate(-8vw, 6vw) scale(1.15); } }

.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero__title { margin: 0 0 28px; }
.hero__kicker {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
	padding: 8px 16px 8px 12px; border-radius: var(--r-pill); background: var(--c-surface);
	border: 1px solid var(--c-line); box-shadow: var(--shadow-sm);
	font-family: var(--f-body); font-size: .875rem; font-weight: 600; letter-spacing: 0; color: var(--c-ink);
}
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
.hero__main { display: block; font-size: clamp(2.75rem, 1.2rem + 5.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.hero__lead { font-size: clamp(1.075rem, 1rem + .35vw, 1.25rem); color: var(--c-muted); max-width: 560px; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--c-line); }
.hero__tags li { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; color: var(--c-ink); }
.hero__tags .icon { color: var(--c-primary); }

.hero__media { position: relative; padding: 0 0 12% 12%; }
.hero__img { overflow: hidden; border-radius: var(--r-lg); background: var(--c-alt); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main { aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.hero__img--main .parallax { height: 112%; margin-top: -6%; }
.hero__img--small {
	position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3;
	border: 6px solid var(--c-bg); box-shadow: var(--shadow);
}
.hero__badge {
	position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
	background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border-radius: 18px; box-shadow: var(--shadow); font-size: .875rem; line-height: 1.3;
}
.hero__badge strong { display: block; color: var(--c-ink); font-size: .9375rem; }
.hero__badge small { color: var(--c-muted); font-size: .8125rem; }
.hero__badge--a { top: 9%; left: 0; }
.hero__badge--b { right: -4%; bottom: 30%; }
.hero__badge-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--c-primary); color: #fff; }
.hero__badge-icon--dark { background: var(--c-ink); }
.js .hero__badge.is-in { animation: float 6s var(--ease-in-out) 1.5s infinite alternate; }
.js .hero__badge--b.is-in { animation-delay: 2.4s; animation-duration: 7s; }
@keyframes float { to { transform: translateY(-12px); } }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sekcje ---------- */
.section { position: relative; padding: var(--section) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0 var(--section); }
.section--alt { background: var(--c-alt); }

/* Intro */
.hero + .intro { padding-top: clamp(30px, 4vw, 60px); }
.intro__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro__statement { font-size: clamp(1.7rem, 1rem + 2.2vw, 2.75rem); line-height: 1.18; letter-spacing: -.03em; font-weight: 700; margin-bottom: 32px; }
.intro__statement .hw { color: color-mix(in srgb, var(--c-ink) 18%, transparent); transition: color .25s; }
.intro__statement .hw.is-lit { color: var(--c-ink); }
.intro__body { max-width: 600px; color: var(--c-muted); }
.intro__body p:last-of-type { margin-bottom: 26px; }
.intro__media { position: relative; }
.intro__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.intro__img .parallax { height: 112%; margin-top: -6%; }
.intro__img img { width: 100%; height: 100%; object-fit: cover; }
.intro__card {
	position: absolute; left: -12%; bottom: 8%; max-width: 300px; padding: 20px 22px;
	background: var(--c-surface); border-radius: var(--r); box-shadow: var(--shadow); font-size: .9375rem; line-height: 1.5;
}
.intro__card p { margin: 0; color: var(--c-muted); }
.intro__card strong { display: block; color: var(--c-ink); margin-bottom: 4px; font-size: 1rem; }
.intro__card-flag { display: flex; width: 34px; height: 22px; flex-direction: column; border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.intro__card-flag i { flex: 1; }
.intro__card-flag i:nth-child(1) { background: #111; }
.intro__card-flag i:nth-child(2) { background: #dd0000; }
.intro__card-flag i:nth-child(3) { background: #ffce00; }

/* Wartości */
.values { margin-top: clamp(80px, 9vw, 130px); }
.values__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--c-line); }
.values__head .eyebrow { margin: 0; }
.values__title { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); letter-spacing: -.02em; color: var(--c-ink); }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { padding: 28px 26px 30px; background: var(--c-surface); border-radius: var(--r); border: 1px solid var(--c-line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.value__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--c-primary-soft); color: var(--c-primary); margin-bottom: 22px; transition: background-color .4s, color .4s, transform .5s var(--ease); }
.value:hover .value__icon { background: var(--c-primary); color: #fff; transform: rotate(-8deg); }
.value__title { font-size: 1.25rem; margin-bottom: 10px; }
.value p { margin: 0; font-size: .975rem; color: var(--c-muted); }
.section--alt .value { background: var(--c-bg); }

/* Usługi */
.services { background: var(--c-surface); }
.services__head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.services__head .section-head { margin: 0; }
.services__intro { margin: 0; color: var(--c-muted); font-size: 1.075rem; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
	position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
	padding: 34px 32px 32px; min-height: 380px; border-radius: var(--r-lg);
	background: var(--c-bg); border: 1px solid var(--c-line);
	transition: transform .6s var(--ease), box-shadow .6s var(--ease), color .45s;
}
.service-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-ink);
	clip-path: circle(0 at 100% 0); transition: clip-path .8s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: rgba(255, 255, 255, .78); }
.service-card:hover::before { clip-path: circle(150% at 100% 0); }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 48px; }
.service-card__num { font-family: var(--f-head); font-weight: 700; font-size: .9375rem; color: var(--c-muted); transition: color .45s; }
.service-card__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--c-primary); color: #fff; transition: transform .6s var(--ease); }
.service-card:hover .service-card__icon { transform: rotate(-12deg) scale(1.08); }
.service-card__title { font-size: clamp(1.45rem, 1.2rem + .6vw, 1.75rem); margin-bottom: 14px; transition: color .45s; }
.service-card__text { color: var(--c-muted); transition: color .45s; }
.service-card:hover .service-card__title, .service-card:hover .service-card__num { color: #fff; }
.service-card:hover .service-card__text { color: rgba(255, 255, 255, .72); }
.service-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--c-ink); transition: color .45s; }
.service-card:hover .service-card__link { color: #fff; }
.service-card__link .icon { transition: transform .4s var(--ease); }
.service-card:hover .service-card__link .icon { transform: translateX(6px); }
.stretched::after { content: ""; position: absolute; inset: 0; }

.services--detailed .service-card { min-height: 0; }
.services--detailed .service-card__top { padding-bottom: 36px; }
.services--detailed .check-list { margin: 6px 0 24px; }
.services--detailed .service-card:hover .check-list li { color: #fff; }
.services--detailed .service-card__link { margin-top: auto; position: relative; z-index: 1; }

/* Listy */
.check-list { display: grid; gap: 14px; margin: 28px 0 34px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--c-ink); transition: color .45s; }
.check-list .icon { margin-top: 3px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--c-primary); color: #fff; stroke-width: 2.4; }
.check-list--sm { gap: 10px; font-size: .9375rem; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tags li { padding: 10px 18px; border-radius: var(--r-pill); background: var(--c-surface); border: 1px solid var(--c-line); font-weight: 500; color: var(--c-ink); transition: transform .4s var(--ease), border-color .3s, color .3s; }
.tags li:hover { transform: translateY(-3px); border-color: var(--c-primary); color: var(--c-primary); }

/* Specjalizacje */
.spec__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spec-card { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 3 / 4; color: #fff; isolation: isolate; outline-offset: 4px; }
.spec-card__img { position: absolute; inset: 0; z-index: -2; }
.spec-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.spec-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(15, 16, 20, .88) 100%); transition: opacity .5s; }
.spec-card:hover .spec-card__img img, .spec-card:focus-within .spec-card__img img { transform: scale(1.08); }
.spec-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 28px; }
.spec-card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin-bottom: 18px; transition: background-color .4s; }
.spec-card:hover .spec-card__icon { background: var(--c-primary); }
.spec-card__title { color: #fff; font-size: clamp(1.4rem, 1.1rem + .8vw, 1.85rem); margin: 0; }
.spec-card__text { margin: 0; max-height: 0; opacity: 0; overflow: hidden; color: rgba(255, 255, 255, .82); transition: max-height .6s var(--ease), opacity .5s, margin .6s var(--ease); }
.spec-card:hover .spec-card__text, .spec-card:focus .spec-card__text, .spec-card:focus-within .spec-card__text { max-height: 120px; opacity: 1; margin-top: 10px; }

/* Ścieżki – przełącznik */
.paths { background: var(--c-surface); }
.switch {
	position: relative; display: flex; width: max-content; margin: 0 auto clamp(40px, 5vw, 60px);
	padding: 6px; border-radius: var(--r-pill); background: var(--c-alt); border: 1px solid var(--c-line);
}
.switch__pill { position: absolute; top: 6px; bottom: 6px; left: 6px; width: 0; border-radius: var(--r-pill); background: var(--c-ink); box-shadow: var(--shadow); transition: transform .6s var(--ease), width .6s var(--ease); }
.switch__btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: var(--r-pill); font-weight: 600; color: var(--c-ink); transition: color .4s; }
.switch__btn.is-active { color: #fff; }
html:not(.js) .switch__btn.is-active { background: var(--c-ink); }
.path-panel.is-active { animation: panelIn .8s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(24px); } }
.path-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.path-panel__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; }
.path-panel__media img { width: 100%; height: 100%; object-fit: cover; }
.path-panel.is-active .path-panel__media img { animation: imgIn 1.2s var(--ease) both; }
@keyframes imgIn { from { transform: scale(1.15); } }
.path-panel__title { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.6rem); }
.path-panel__text { color: var(--c-muted); font-size: 1.075rem; }
.path-panel__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.path-panel .process { margin-top: clamp(60px, 7vw, 100px); }

/* Proces */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.process__line { position: absolute; top: 31px; left: 32px; right: 32px; height: 2px; background: var(--c-line); }
.process__line span { display: block; height: 100%; background: var(--c-primary); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
html:not(.js) .process__line span { transform: scaleX(1); }
.process__step { position: relative; }
.process__num {
	position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 26px;
	border-radius: 50%; background: var(--c-surface); border: 2px solid var(--c-line);
	font-family: var(--f-head); font-weight: 700; font-size: 1.125rem; color: var(--c-ink);
	transition: background-color .5s, border-color .5s, color .5s, transform .5s var(--ease);
}
.process__step.is-done .process__num { background: var(--c-primary); border-color: var(--c-primary); color: #fff; transform: scale(1.06); }
.process__title { font-size: 1.25rem; margin-bottom: 10px; }
.process__step p { margin: 0; color: var(--c-muted); font-size: .975rem; }
.section--alt .process__num { background: var(--c-alt); }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__aside .section-head { margin-bottom: 36px; }
.faq__help { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r); background: var(--c-surface); border: 1px solid var(--c-line); }
.faq__help p { margin: 0; color: var(--c-muted); font-size: .9375rem; }
.faq__help a { font-weight: 700; font-size: 1.125rem; color: var(--c-ink); }
.faq__help a:hover { color: var(--c-primary); }
.faq__help-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--c-primary); color: #fff; }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item:first-child { border-top: 1px solid var(--c-line); }
.faq-item__q {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0;
	font-family: var(--f-head); font-weight: 600; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--c-ink); letter-spacing: -.015em;
	cursor: pointer; list-style: none; transition: color .3s;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { color: var(--c-primary); }
.faq-item__icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--c-line); transition: transform .5s var(--ease), background-color .3s, border-color .3s, color .3s; }
.faq-item[open] .faq-item__icon { transform: rotate(135deg); background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.faq-item__a { overflow: hidden; }
.faq-item__a p { margin: 0; padding: 0 60px 28px 0; color: var(--c-muted); }

/* Kontakt */
.contact { background: var(--c-ink); color: rgba(255, 255, 255, .72); overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 0% 100%, color-mix(in srgb, var(--c-primary) 34%, transparent), transparent 70%), radial-gradient(40% 50% at 100% 0%, rgba(255, 255, 255, .06), transparent 70%); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__info { position: sticky; top: calc(var(--header-h) + 30px); }
.contact .section-title { color: #fff; }
.contact .section-lead { color: rgba(255, 255, 255, .7); }
.contact-list { display: grid; gap: 4px; margin-top: 40px; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact-list small { display: block; font-size: .8125rem; color: rgba(255, 255, 255, .5); letter-spacing: .02em; }
.contact-list a, .contact-list span { color: #fff; font-weight: 500; }
.contact-list a:hover { color: color-mix(in srgb, var(--c-primary) 60%, #fff); }
.contact-list__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: #fff; flex-shrink: 0; }
.contact-person { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.contact-person__avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 700; font-size: 1.2rem; }
.contact-person strong { display: block; color: #fff; }
.contact-person small { color: rgba(255, 255, 255, .6); }
.contact__form { background: var(--c-surface); color: var(--c-text); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 44px); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .5); }

/* ---------- Formularz wielokrokowy ---------- */
.msf { position: relative; }
.msf__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msf__notice { padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 20px; font-weight: 500; }
.msf__notice--ok { background: #e7f6ec; color: #17633a; }
.msf__notice--error { background: var(--c-primary-soft); color: var(--c-primary-d); }
.msf__progress { margin-bottom: 28px; }
.msf__progress-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: .875rem; color: var(--c-muted); }
.msf__progress-meta strong { color: var(--c-ink); }
.msf__progress-path { font-weight: 600; color: var(--c-primary); }
.msf__bar { height: 6px; border-radius: 6px; background: var(--c-alt); overflow: hidden; }
.msf__bar span { display: block; height: 100%; width: 20%; border-radius: inherit; background: linear-gradient(90deg, var(--c-primary), color-mix(in srgb, var(--c-primary) 70%, #ff9a5c)); transition: width .7s var(--ease); }
html:not(.js) .msf__progress { display: none; }

.msf__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .msf__step { display: none; }
.js .msf__step.is-active { display: block; animation: stepIn .6s var(--ease) both; }
.js .msf__step.is-active.from-left { animation-name: stepInLeft; }
@keyframes stepIn { from { opacity: 0; transform: translateX(32px); } }
@keyframes stepInLeft { from { opacity: 0; transform: translateX(-32px); } }
html:not(.js) .msf__step + .msf__step { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.msf__legend { display: block; padding: 0; margin-bottom: 26px; width: 100%; }
.msf__step-title { display: block; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); color: var(--c-ink); letter-spacing: -.025em; line-height: 1.15; }
.msf__step-desc { display: block; margin-top: 6px; color: var(--c-muted); font-size: .975rem; }
.msf__fields { display: flex; flex-wrap: wrap; gap: 22px 16px; }

.field { width: 100%; }
.field--half { width: calc(50% - 8px); }
.field__label { display: block; margin: 0 0 12px; font-weight: 600; font-size: .9375rem; color: var(--c-ink); }
.field__hint { margin: -8px 0 12px; font-size: .875rem; color: var(--c-muted); }
.req { color: var(--c-primary); }
.field__error { margin: 8px 0 0; font-size: .875rem; color: var(--c-primary); font-weight: 500; min-height: 0; }
.field__error:empty { display: none; }

/* Kafle */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile__box {
	display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px;
	border: 1.5px solid var(--c-line); border-radius: 16px; background: var(--c-surface);
	transition: border-color .3s, background-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tile:hover .tile__box { border-color: color-mix(in srgb, var(--c-primary) 50%, var(--c-line)); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tile__icon { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; background: var(--c-alt); color: var(--c-ink); transition: background-color .3s, color .3s; }
.tile__text { flex: 1; line-height: 1.3; }
.tile__text strong { display: block; color: var(--c-ink); font-size: 1rem; }
.tile__text small { color: var(--c-muted); font-size: .875rem; }
.tile__check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--c-line); color: transparent; flex-shrink: 0; transition: all .3s var(--ease); }
.tile__check .icon { stroke-width: 3; width: 14px; height: 14px; }
.tile input:checked + .tile__box { border-color: var(--c-primary); background: var(--c-primary-soft); box-shadow: 0 0 0 3px var(--c-primary-tint); }
.tile input:checked + .tile__box .tile__icon { background: var(--c-primary); color: #fff; }
.tile input:checked + .tile__box .tile__check { background: var(--c-primary); border-color: var(--c-primary); color: #fff; transform: scale(1.1); }
.tile input:focus-visible + .tile__box { outline: 2px solid var(--c-primary); outline-offset: 2px; }

/* Chipsy */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
	display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: var(--r-pill);
	border: 1.5px solid var(--c-line); background: var(--c-surface); font-weight: 500; font-size: .9375rem; color: var(--c-ink);
	transition: all .3s var(--ease);
}
.chip:hover span { border-color: var(--c-ink); }
.chip input:checked + span { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.chip input[type="checkbox"]:checked + span::before { content: "✓"; font-weight: 700; color: color-mix(in srgb, var(--c-primary) 50%, #fff); }
.chip input:focus-visible + span { outline: 2px solid var(--c-primary); outline-offset: 2px; }

/* Pola z pływającą etykietą */
.float-field { position: relative; }
.float-field input, .float-field textarea {
	width: 100%; padding: 26px 18px 10px; border-radius: 14px; border: 1.5px solid var(--c-line); background: var(--c-surface);
	font-size: 1rem; outline: none; transition: border-color .3s, box-shadow .3s; appearance: none;
}
.float-field textarea { resize: vertical; min-height: 120px; padding-top: 30px; }
.float-field input::placeholder, .float-field textarea::placeholder { color: transparent; transition: color .3s; }
.float-field input:focus::placeholder, .float-field textarea:focus::placeholder { color: #a4a8b0; }
.float-field label {
	position: absolute; left: 19px; top: 18px; color: var(--c-muted); pointer-events: none; font-size: 1rem;
	transform-origin: 0 0; transition: transform .3s var(--ease), color .3s;
}
.float-field input:focus, .float-field textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 4px var(--c-primary-tint); }
.float-field input:focus + label, .float-field input:not(:placeholder-shown) + label,
.float-field textarea:focus + label, .float-field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.78); color: var(--c-primary); }
.field.has-error .float-field input, .field.has-error .float-field textarea, .field.has-error .tile__box, .field.has-error .chip span, .field.has-error .dropzone { border-color: var(--c-primary); }
.field.has-error { animation: shake .4s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* Dropzone */
.dropzone {
	position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; cursor: pointer;
	border: 1.5px dashed color-mix(in srgb, var(--c-ink) 25%, transparent); border-radius: 16px; background: var(--c-bg);
	transition: border-color .3s, background-color .3s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--c-primary); background: var(--c-primary-soft); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--c-surface); color: var(--c-primary); box-shadow: var(--shadow-sm); flex-shrink: 0; }
.dropzone__text { color: var(--c-muted); font-size: .9375rem; line-height: 1.4; }
.dropzone__text strong { color: var(--c-ink); }
.dropzone__text small { display: block; font-size: .8125rem; margin-top: 2px; }
.dropzone.has-file { border-style: solid; border-color: var(--c-ink); background: var(--c-surface); }
.dropzone__clear { position: relative; z-index: 2; margin-left: auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-alt); }
.dropzone__clear:hover { background: var(--c-primary); color: #fff; }

/* Zgody */
.field--consent { margin-top: 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .875rem; line-height: 1.5; color: var(--c-muted); }
.check input { position: absolute; opacity: 0; }
.check__box { display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 1.5px solid color-mix(in srgb, var(--c-ink) 30%, transparent); color: transparent; transition: all .25s; }
.check__box .icon { stroke-width: 3; }
.check input:checked + .check__box { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.check input:focus-visible + .check__box { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.check a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 2px; }

/* Podsumowanie */
.msf__summary { width: 100%; margin: 0 0 6px; padding: 6px 20px; border-radius: 16px; background: var(--c-bg); border: 1px solid var(--c-line); }
.msf__summary:empty { display: none; }
.msf__summary div { display: grid; grid-template-columns: 40% 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-line); font-size: .9375rem; }
.msf__summary div:last-child { border-bottom: 0; }
.msf__summary dt { color: var(--c-muted); }
.msf__summary dd { margin: 0; color: var(--c-ink); font-weight: 500; word-break: break-word; white-space: pre-line; }
.msf__summary button { margin-left: 6px; font-size: .8125rem; color: var(--c-primary); text-decoration: underline; text-underline-offset: 2px; }

/* Nawigacja */
.msf__nav { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.msf__back .icon { transform: rotate(180deg); }
.msf__next, .msf__submit { margin-left: auto; }
.js .msf__submit { display: none; }
.js .msf.is-last .msf__submit { display: inline-flex; }
.js .msf.is-last .msf__next { display: none; }
html:not(.js) .msf__next, html:not(.js) .msf__back { display: none; }
.msf__submit.is-loading { pointer-events: none; }
.msf__submit.is-loading .icon { animation: spin 1s linear infinite; }
.msf__error { margin: 14px 0 0; color: var(--c-primary); font-weight: 500; font-size: .9375rem; }
.msf__error:empty { display: none; }

/* Sukces */
.msf__success { text-align: center; padding: 30px 10px; animation: stepIn .6s var(--ease) both; outline: none; }
.msf__success h3 { font-size: 2rem; margin: 22px 0 10px; }
.msf__success p { color: var(--c-muted); max-width: 420px; margin: 0 auto 28px; }
.msf__success-icon { width: 96px; height: 96px; margin: 0 auto; }
.msf__success-icon circle { fill: var(--c-primary-soft); stroke: var(--c-primary); stroke-width: 3; stroke-dasharray: 230; stroke-dashoffset: 230; animation: draw 1s var(--ease) forwards; }
.msf__success-icon path { fill: none; stroke: var(--c-primary); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s var(--ease) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Podstrony ---------- */
.page-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.page-hero--plain .page-hero__grid { grid-template-columns: 1fr; }
.page-hero--plain .page-hero__content { max-width: 900px; }
.page-hero__title { font-size: clamp(2.4rem, 1.2rem + 4.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; margin-bottom: 24px; }
.page-hero__lead { font-size: clamp(1.075rem, 1rem + .35vw, 1.25rem); color: var(--c-muted); max-width: 600px; margin-bottom: 34px; }
.page-hero__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.page-hero__media .parallax { height: 112%; margin-top: -6%; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 26px; font-size: .875rem; color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-primary); }
.breadcrumbs [aria-current] { color: var(--c-ink); font-weight: 500; }

.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.split__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.4; }
.split__media .parallax { height: 112%; margin-top: -6%; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split .section-head { margin-bottom: 0; }

.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.perk { padding: 32px 28px; border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.perk:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.perk__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--c-primary); color: #fff; margin-bottom: 26px; }
.perk__title { font-size: 1.3rem; }
.perk p { margin: 0; color: var(--c-muted); font-size: .975rem; }

.story__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); }
.story__head .section-head { margin: 0; position: sticky; top: calc(var(--header-h) + 30px); }
.story__lead { font-family: var(--f-head); font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); line-height: 1.35; color: var(--c-ink); font-weight: 600; letter-spacing: -.02em; margin-bottom: 28px; }
.story__body p { color: var(--c-muted); }
.story__body .story__lead { color: var(--c-ink); }

.mini-services { display: grid; gap: 4px; margin: 32px 0 36px; }
.mini-services li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--c-line); color: var(--c-muted); font-size: .975rem; }
.mini-services strong { display: block; color: var(--c-ink); font-size: 1.125rem; margin-bottom: 4px; font-family: var(--f-head); }
.mini-services__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-primary-soft); color: var(--c-primary); flex-shrink: 0; }

/* Treść edytora */
.entry-content { font-size: 1.0625rem; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); margin-top: 1.8em; }
.entry-content h3 { font-size: 1.4rem; margin-top: 1.6em; }
.entry-content a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul { list-style: disc; padding-left: 1.3em; }
.entry-content ol { list-style: decimal; padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content img { border-radius: var(--r); }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--c-primary); font-size: 1.2rem; color: var(--c-ink); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--c-line); text-align: left; }
.editor-section { padding-top: 0; }

.post-list { display: grid; gap: 20px; }
.post-card { padding: 28px; border-radius: var(--r); background: var(--c-surface); border: 1px solid var(--c-line); }
.post-card__date { font-size: .875rem; color: var(--c-muted); margin-bottom: 6px; }
.post-card__title { font-size: 1.5rem; }

.error-404__inner { text-align: center; }
.error-404 .page-hero__title, .error-404 .page-hero__lead { margin-inline: auto; }
.error-404 .hero__ctas { justify-content: center; }
.error-404__code { font-family: var(--f-head); font-weight: 800; font-size: clamp(6rem, 20vw, 14rem); line-height: .9; letter-spacing: -.06em; margin: 0 0 10px; color: transparent; -webkit-text-stroke: 2px var(--c-primary); }

/* ---------- Stopka ---------- */
.site-footer { position: relative; background: #0f1014; color: rgba(255, 255, 255, .62); padding: clamp(70px, 8vw, 110px) 0 32px; font-size: .9375rem; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #fff; }
.site-footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: clamp(50px, 6vw, 80px); margin-bottom: clamp(50px, 6vw, 80px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__big { margin: 0; max-width: 760px; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.05; letter-spacing: -.035em; color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 50px; }
.site-footer__brand .logo { margin-bottom: 22px; }
.site-footer__brand .logo__tag { color: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .15); }
.site-footer__brand p { max-width: 380px; }
.site-footer__title { font-family: var(--f-body); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); font-weight: 600; margin-bottom: 20px; }
.site-footer__menu, .site-footer .nav__list { display: grid; gap: 10px; }
.site-footer .nav__list a { padding: 0; }
.site-footer .nav__list a::after { display: none; }
.site-footer__menu a { position: relative; display: inline-block; transition: transform .3s var(--ease), color .3s; }
.site-footer__menu a:hover { transform: translateX(6px); }
.site-footer__contact { display: grid; gap: 14px; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .icon { margin-top: 3px; color: var(--c-primary); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background-color .3s; }
.socials a:hover { background: var(--c-primary); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8125rem; color: rgba(255, 255, 255, .45); }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.site-footer__legal .legal-menu { display: flex; gap: 22px; }
.credit a { color: rgba(255, 255, 255, .7); }

.to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 80; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
	background: var(--c-ink); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none;
	transition: opacity .4s, transform .4s var(--ease), background-color .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--c-primary); }

/* ---------- Animacje wejścia ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--r-lg)); transition: clip-path 1.3s var(--ease); }
.js [data-reveal="mask"] img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js [data-reveal="mask"].is-in img { transform: scale(1); }
.js .spec-card[data-reveal="mask"].is-in:hover img { transform: scale(1.08); }
.js [data-delay="1"] { transition-delay: .1s; }
.js [data-delay="2"] { transition-delay: .2s; }
.js [data-delay="3"] { transition-delay: .3s; }
.js [data-delay="4"] { transition-delay: .4s; }
.js [data-delay="5"] { transition-delay: .5s; }
.js [data-delay="6"] { transition-delay: .6s; }
.js [data-delay="3"] img, .js [data-delay="2"] img { transition-delay: .2s; }

/* Rozbijanie nagłówków na słowa */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w__i { display: inline-block; }
.js [data-split] .w__i { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-split].is-in .w__i { transform: none; }
.w:has(.accent-word) { overflow: visible; }
.js [data-split] .w:has(.accent-word) .w__i { transform: none; opacity: 0; transition: opacity 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-split].is-in .w:has(.accent-word) .w__i { opacity: 1; }

/* Paralaksa */
.parallax { will-change: transform; transform: translate3d(0, var(--py, 0px), 0); }

/* ---------- Responsywność ---------- */
@media (max-width: 1200px) {
	.header-phone span { display: none; }
	.header-phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; border: 1px solid var(--c-line); }
	.values__grid, .perks__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
	:root { --header-h: 74px; }
	.nav, .header-phone { display: none; }
	.menu-toggle { display: inline-flex; }
	.site-header__actions { margin-left: auto; }
	.hero__grid, .page-hero__grid, .intro__grid, .split__grid, .path-panel__grid, .faq__grid, .contact__grid, .story__grid { grid-template-columns: 1fr; }
	.hero__media { max-width: 620px; }
	.services__head { grid-template-columns: 1fr; }
	.services__grid, .spec__grid { grid-template-columns: 1fr 1fr; }
	.spec-card { aspect-ratio: 4 / 4.4; }
	.spec-card__text { max-height: none; opacity: 1; margin-top: 10px; }
	.process { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
	.process__line { display: none; }
	.faq__aside, .contact__info, .story__head .section-head { position: static; }
	.intro__card { left: 20px; bottom: 20px; }
	.intro__media { max-width: 560px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
	.split__media { order: -1; aspect-ratio: 4 / 3; }
	.areas .split__media { order: 0; }
}

@media (max-width: 768px) {
	body { font-size: 1rem; }
	.logo__img { height: 32px; }
	.logo__tag { display: none; }
	.site-header__actions .btn { display: none; }
	.hero__media { padding: 0 0 18% 8%; }
	.hero__badge--a { top: 4%; left: -2%; }
	.hero__badge--b { right: 0; bottom: 34%; }
	.hero__badge { padding: 10px 14px 10px 10px; }
	.hero__badge-icon { width: 36px; height: 36px; }
	.hero__ctas .btn { flex: 1 1 auto; }
	.services__grid, .spec__grid, .values__grid, .perks__grid { grid-template-columns: 1fr; }
	.service-card { min-height: 0; }
	.process { grid-template-columns: 1fr; gap: 0; }
	.process__step { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; padding-bottom: 32px; }
	.process__step::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: var(--c-line); }
	.process__step:last-child::before { display: none; }
	.process__num { grid-row: span 2; margin: 0; }
	.process__title { margin-top: 16px; }
	.switch { width: 100%; }
	.switch__btn { flex: 1; justify-content: center; padding: 13px 12px; font-size: .9375rem; }
	.tiles { grid-template-columns: 1fr; }
	.field--half { width: 100%; }
	.faq-item__a p { padding-right: 0; }
	.msf__summary div { grid-template-columns: 1fr; gap: 2px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
	.hero__badge--b { display: none; }
	.msf__nav { flex-wrap: wrap; }
	.msf__nav .btn { flex: 1; }
}

/* ---------- Ograniczony ruch ---------- */
@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; }
	.js [data-reveal], .js [data-reveal="mask"], .js [data-split] .w__i { opacity: 1 !important; transform: none !important; clip-path: none !important; }
	.js [data-reveal="mask"] img { transform: none !important; }
	.parallax { transform: none !important; }
}
