@charset "UTF-8";
/* Hallmark · component: industries bento + front-page motion layer · tone: technical · anchor hue: 265 (brand blue) */
/* ---------------------------------------------------------------------------------
 * "Wow" layer for the front page (and any view that carries the same blocks).
 *
 * Enqueued by includes/hooks/enqueue-wow-effects.php after the theme bundle and
 * cta.css. The markup lives in the page content (HTML blocks with their own
 * inline <style>), so every rule here is scoped one class deeper than the
 * inline one to win the cascade without !important — except where the content
 * uses style="" attributes.
 *
 * Content never depends on JS: everything is visible in plain HTML. wow.js only
 * adds html.wow-js and the classes that drive motion (reveal, spotlight,
 * icon draw, magnetic buttons, scroll progress). prefers-reduced-motion turns
 * the motion off.
 *
 * Sections:
 *   1. Tokens
 *   2. Industries — .profesjonals:has(.emm8-ind)
 *   3. Price cards — .emm8-sec grid of inline-styled cards
 *   4. CTA band — .emm8-sec div with the inline gradient
 *   5. Shared motion — reveal, magnetic, scroll progress
 *   6. Reduced motion
 * --------------------------------------------------------------------------------- */

/* 1. Tokens ----------------------------------------------------------------------- */
:root {
	--wow-color-blue: oklch(0.546 0.215 265);
	--wow-color-blue-soft: oklch(0.74 0.13 265);
	--wow-color-blue-glow: oklch(0.62 0.2 265 / 0.38);
	--wow-color-ink: oklch(0.2 0.035 265);
	--wow-color-ink-raised: oklch(0.245 0.04 265);
	--wow-color-ink-line: oklch(0.985 0.005 265 / 0.09);
	--wow-color-ink-line-strong: oklch(0.985 0.005 265 / 0.2);
	--wow-color-paper: oklch(0.985 0.004 265);
	--wow-color-paper-muted: oklch(0.82 0.02 265);
	--wow-color-paper-faint: oklch(0.66 0.03 265);

	--wow-font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

	--wow-space-1: 4px;
	--wow-space-2: 8px;
	--wow-space-3: 12px;
	--wow-space-4: 16px;
	--wow-space-5: 20px;
	--wow-space-6: 24px;
	--wow-space-8: 32px;
	--wow-space-10: 40px;
	--wow-space-12: 48px;
	--wow-space-16: 64px;
	--wow-space-24: 96px;

	--wow-radius-card: 20px;
	--wow-radius-section: 32px;

	--wow-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--wow-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--wow-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

	--wow-dur-fast: 180ms;
	--wow-dur-base: 420ms;
	--wow-dur-slow: 900ms;
}

/* 2. Industries ------------------------------------------------------------------- */
.profesjonals:has(.emm8-ind) {
	position: relative;
	isolation: isolate;
	overflow: clip;
	width: auto;
	margin: 0 var(--wow-space-4);
	border-radius: var(--wow-radius-section);
	background-color: var(--wow-color-ink);
	color: var(--wow-color-paper);
}

/* Dot grid, fading out towards the bottom. Static: no motion, no cost. */
.profesjonals:has(.emm8-ind)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: radial-gradient(var(--wow-color-ink-line-strong) 1px, transparent 1.5px);
	background-size: 24px 24px;
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
	mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
	pointer-events: none;
}

/* The light: a soft blue glow that trails the cursor across the section
   (wow.js sets --wow-gx / --wow-gy). Without JS it rests top-right. */
.profesjonals:has(.emm8-ind)::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 720px;
	height: 720px;
	margin: -360px 0 0 -360px;
	border-radius: 50%;
	background: radial-gradient(closest-side, var(--wow-color-blue-glow), transparent);
	transform: translate3d(var(--wow-gx, 82vw), var(--wow-gy, 120px), 0);
	transition: transform var(--wow-dur-slow) var(--wow-ease-out);
	pointer-events: none;
}

.profesjonals:has(.emm8-ind) .profesjonals__heading-container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	column-gap: var(--wow-space-8);
	margin-bottom: var(--wow-space-12);
}

.profesjonals:has(.emm8-ind) .profesjonals__subheading {
	display: inline-flex;
	align-items: center;
	gap: var(--wow-space-3);
	margin-bottom: var(--wow-space-4);
	color: var(--wow-color-blue-soft);
	font-family: var(--wow-font-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.profesjonals:has(.emm8-ind) .profesjonals__subheading::before {
	content: "";
	width: 32px;
	height: 1px;
	background: currentColor;
}

.profesjonals:has(.emm8-ind) .profesjonals__heading {
	grid-column: 1;
	max-width: 16ch;
	color: var(--wow-color-paper);
	font-size: clamp(32px, 4.4vw, 56px);
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

/* Grid: a 4-column bento. Four wide tiles and four narrow ones give three
   rows of different rhythm:  [1 1][2][3] · [4][5][6 6] · [7 7][8 8]. */
.profesjonals .emm8-ind {
	counter-reset: wow-ind;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-flow: dense;
	gap: var(--wow-space-4);
}

.profesjonals .emm8-ind__item {
	counter-increment: wow-ind;
}

.profesjonals .emm8-ind__item:nth-child(1),
.profesjonals .emm8-ind__item:nth-child(6),
.profesjonals .emm8-ind__item:nth-child(7),
.profesjonals .emm8-ind__item:nth-child(8) {
	grid-column: span 2;
}

.profesjonals .emm8-ind__card {
	--wow-mx: 50%;
	--wow-my: 50%;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 260px;
	padding: var(--wow-space-8);
	border: 1px solid var(--wow-color-ink-line);
	border-radius: var(--wow-radius-card);
	background: var(--wow-color-ink-raised);
	box-shadow: none;
	color: var(--wow-color-paper);
	transition:
		transform var(--wow-dur-base) var(--wow-ease-out),
		border-color var(--wow-dur-base) var(--wow-ease-out);
}

/* Index number, top-right: 01 … 08. */
.profesjonals .emm8-ind__card::before {
	content: counter(wow-ind, decimal-leading-zero);
	position: absolute;
	top: var(--wow-space-6);
	right: var(--wow-space-8);
	color: var(--wow-color-paper-faint);
	font-family: var(--wow-font-mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	transition: color var(--wow-dur-base) var(--wow-ease-out);
}

/* Spotlight inside the card: follows the cursor (wow.js sets --wow-mx/my). */
.profesjonals .emm8-ind__card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: radial-gradient(420px circle at var(--wow-mx) var(--wow-my), oklch(0.62 0.2 265 / 0.22), transparent 60%);
	opacity: 0;
	transition: opacity var(--wow-dur-base) var(--wow-ease-out);
	pointer-events: none;
}

.profesjonals .emm8-ind__card:hover {
	transform: translateY(-6px);
	border-color: var(--wow-color-ink-line-strong);
	box-shadow: none;
}

.profesjonals .emm8-ind__card:hover::before {
	color: var(--wow-color-blue-soft);
}

.profesjonals .emm8-ind__card:hover::after {
	opacity: 1;
}

.profesjonals .emm8-ind__card:active {
	transform: translateY(-2px);
	transition-duration: var(--wow-dur-fast);
}

.profesjonals .emm8-ind__card:focus-visible {
	outline: 2px solid var(--wow-color-blue-soft);
	outline-offset: 4px;
}

/* Icon: inline, no tinted disc. */
.profesjonals .emm8-ind__icon,
.profesjonals .emm8-ind__card:hover .emm8-ind__icon {
	justify-content: flex-start;
	width: auto;
	height: auto;
	margin-bottom: var(--wow-space-10);
	border-radius: 0;
	background: none;
	color: var(--wow-color-blue-soft);
}

.profesjonals .emm8-ind__svg {
	width: 36px;
	height: 36px;
}

/* Ghost icon: a big outline copy of the card's icon (added by wow.js,
   aria-hidden). Sits bottom-right and turns on hover. */
.profesjonals .emm8-ind__ghost {
	position: absolute;
	right: -24px;
	bottom: -32px;
	z-index: -1;
	width: 168px;
	height: 168px;
	color: var(--wow-color-paper);
	opacity: 0.05;
	transform: rotate(-8deg);
	transition:
		transform var(--wow-dur-slow) var(--wow-ease-out),
		opacity var(--wow-dur-slow) var(--wow-ease-out);
	pointer-events: none;
}

.profesjonals .emm8-ind__ghost svg {
	width: 100%;
	height: 100%;
	stroke-width: 0.8;
}

.profesjonals .emm8-ind__item:nth-child(1) .emm8-ind__ghost,
.profesjonals .emm8-ind__item:nth-child(6) .emm8-ind__ghost,
.profesjonals .emm8-ind__item:nth-child(7) .emm8-ind__ghost,
.profesjonals .emm8-ind__item:nth-child(8) .emm8-ind__ghost {
	right: 24px;
	bottom: -48px;
	width: 240px;
	height: 240px;
}

.profesjonals .emm8-ind__card:hover .emm8-ind__ghost {
	opacity: 0.1;
	transform: rotate(0deg) scale(1.06);
}

.profesjonals .emm8-ind__title {
	margin: 0 0 var(--wow-space-3);
	color: var(--wow-color-paper);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.profesjonals .emm8-ind__text {
	max-width: 44ch;
	margin: 0 0 var(--wow-space-8);
	color: var(--wow-color-paper-muted);
	font-size: 15px;
	line-height: 1.6;
	opacity: 1;
}

/* Wide tiles: bigger title, text kept to a readable measure. */
.profesjonals .emm8-ind__item:nth-child(1) .emm8-ind__title,
.profesjonals .emm8-ind__item:nth-child(6) .emm8-ind__title,
.profesjonals .emm8-ind__item:nth-child(7) .emm8-ind__title,
.profesjonals .emm8-ind__item:nth-child(8) .emm8-ind__title {
	max-width: 18ch;
	font-size: clamp(24px, 2.2vw, 30px);
}

.profesjonals .emm8-ind__item:nth-child(1) .emm8-ind__text,
.profesjonals .emm8-ind__item:nth-child(6) .emm8-ind__text,
.profesjonals .emm8-ind__item:nth-child(7) .emm8-ind__text,
.profesjonals .emm8-ind__item:nth-child(8) .emm8-ind__text {
	max-width: 40ch;
}

/* "Zobacz ofertę" + arrow in a ring that fills on hover. */
.profesjonals .emm8-ind__more {
	display: inline-flex;
	align-items: center;
	gap: var(--wow-space-3);
	color: var(--wow-color-paper);
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
}

.profesjonals .emm8-ind__more::after {
	content: "\2192";
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin: 0;
	border: 1px solid var(--wow-color-ink-line-strong);
	border-radius: 50%;
	transition:
		transform var(--wow-dur-base) var(--wow-ease-spring),
		background-color var(--wow-dur-base) var(--wow-ease-out),
		border-color var(--wow-dur-base) var(--wow-ease-out);
}

.profesjonals .emm8-ind__card:hover .emm8-ind__more::after {
	border-color: var(--wow-color-blue);
	background-color: var(--wow-color-blue);
	transform: translateX(6px) rotate(-45deg);
}

/* Icon draws itself on hover (wow.js sets pathLength="1" on every shape,
   so the dash maths only applies when JS has run). */
.wow-js .profesjonals .emm8-ind__icon .emm8-ind__svg * {
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
}

.wow-js .profesjonals .emm8-ind__card:hover .emm8-ind__icon .emm8-ind__svg * {
	animation: wow-draw 1.1s var(--wow-ease-in-out) both;
}

@keyframes wow-draw {
	0% { stroke-dashoffset: 1; }
	100% { stroke-dashoffset: 0; }
}

@media (max-width: 1100px) {
	.profesjonals .emm8-ind {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.profesjonals .emm8-ind__item:nth-child(6),
	.profesjonals .emm8-ind__item:nth-child(7) {
		grid-column: auto;
	}
}

@media (max-width: 782px) {
	.profesjonals:has(.emm8-ind) {
		margin: 0 var(--wow-space-2);
		border-radius: var(--wow-radius-card);
	}

	.profesjonals:has(.emm8-ind) .profesjonals__heading-container {
		display: block;
		margin-bottom: var(--wow-space-8);
	}
}

@media (max-width: 600px) {
	.profesjonals .emm8-ind {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wow-space-3);
	}

	.profesjonals .emm8-ind__item:nth-child(n) {
		grid-column: auto;
	}

	.profesjonals .emm8-ind__card {
		min-height: 0;
		padding: var(--wow-space-6);
	}

	.profesjonals .emm8-ind__card::before {
		top: var(--wow-space-5);
		right: var(--wow-space-6);
	}

	.profesjonals .emm8-ind__icon,
	.profesjonals .emm8-ind__card:hover .emm8-ind__icon {
		margin-bottom: var(--wow-space-6);
	}

	.profesjonals .emm8-ind__item:nth-child(n) .emm8-ind__ghost {
		right: -16px;
		bottom: -24px;
		width: 128px;
		height: 128px;
	}

	.profesjonals .emm8-ind__item:nth-child(n) .emm8-ind__title {
		font-size: 20px;
	}
}

/* 3. Price cards ------------------------------------------------------------------ */
/* The cards are divs with style="" inside a grid div, so they are matched by
   their inline grid declaration. Lift + a light spotlight, same language as
   the industries tiles. */
.emm8-sec .emm8-wrap > div[style*="grid-template-columns"] > div {
	--wow-mx: 50%;
	--wow-my: 50%;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	transition:
		transform var(--wow-dur-base) var(--wow-ease-out),
		box-shadow var(--wow-dur-base) var(--wow-ease-out),
		border-color var(--wow-dur-base) var(--wow-ease-out);
}

.emm8-sec .emm8-wrap > div[style*="grid-template-columns"] > div::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(360px circle at var(--wow-mx) var(--wow-my), oklch(0.546 0.215 265 / 0.08), transparent 65%);
	opacity: 0;
	transition: opacity var(--wow-dur-base) var(--wow-ease-out);
	pointer-events: none;
}

.emm8-sec .emm8-wrap > div[style*="grid-template-columns"] > div:hover {
	border-color: var(--wow-color-blue) !important;
	box-shadow: 0 24px 48px -24px oklch(0.546 0.215 265 / 0.35);
	transform: translateY(-6px);
}

.emm8-sec .emm8-wrap > div[style*="grid-template-columns"] > div:hover::after {
	opacity: 1;
}

/* 4. CTA band --------------------------------------------------------------------- */
.emm8-sec .emm8-wrap > div[style*="linear-gradient"] {
	--wow-gx: 85%;
	--wow-gy: 20%;
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

/* A white light that trails the cursor over the band. */
.emm8-sec .emm8-wrap > div[style*="linear-gradient"]::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 560px;
	height: 560px;
	margin: -280px 0 0 -280px;
	border-radius: 50%;
	background: radial-gradient(closest-side, oklch(0.985 0.005 265 / 0.22), transparent);
	transform: translate3d(var(--wow-gx), var(--wow-gy), 0);
	transition: transform var(--wow-dur-slow) var(--wow-ease-out);
	pointer-events: none;
}

/* Fine ring pattern on the right edge, static. */
.emm8-sec .emm8-wrap > div[style*="linear-gradient"]::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -160px;
	z-index: -1;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	background: repeating-radial-gradient(circle, transparent 0 28px, oklch(0.985 0.005 265 / 0.08) 28px 29px);
	transform: translateY(-50%);
	pointer-events: none;
}

/* Primary button: a sheen passes over it every few seconds. */
.emm8-sec .emm8-wrap > div[style*="linear-gradient"] a[href*="kontakt"] {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition:
		transform var(--wow-dur-base) var(--wow-ease-out),
		box-shadow var(--wow-dur-base) var(--wow-ease-out);
}

.emm8-sec .emm8-wrap > div[style*="linear-gradient"] a[href*="kontakt"]::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, transparent 35%, oklch(0.546 0.215 265 / 0.16) 50%, transparent 65%);
	transform: translateX(-120%);
	animation: wow-sheen 4.8s var(--wow-ease-in-out) 1.2s infinite;
	pointer-events: none;
}

.emm8-sec .emm8-wrap > div[style*="linear-gradient"] a[href*="kontakt"]:hover {
	box-shadow: 0 16px 32px -12px oklch(0.2 0.035 265 / 0.45);
}

.emm8-sec .emm8-wrap > div[style*="linear-gradient"] a:focus-visible {
	outline: 2px solid var(--wow-color-paper);
	outline-offset: 3px;
}

@keyframes wow-sheen {
	0% { transform: translateX(-120%); }
	30%, 100% { transform: translateX(120%); }
}

/* 5. Shared motion ---------------------------------------------------------------- */
/* Reveal: wow.js tags the elements and sets --wow-i for the stagger. Without
   JS nothing is tagged, so nothing is ever hidden. Once the transition ends
   wow.js drops both classes, which hands transform back to the hover rules. */
.wow-js .wow-reveal {
	opacity: 0;
	transform: translate3d(0, 28px, 0);
	transition:
		opacity var(--wow-dur-slow) var(--wow-ease-out),
		transform var(--wow-dur-slow) var(--wow-ease-out);
	transition-delay: calc(var(--wow-i, 0) * 70ms);
}

.wow-js .wow-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* Magnetic buttons: wow.js sets --wow-tx/ty while the pointer is over them. */
.wow-magnetic {
	transform: translate3d(var(--wow-tx, 0), var(--wow-ty, 0), 0);
	transition: transform var(--wow-dur-base) var(--wow-ease-spring);
}

/* Scroll progress: 2px brand-blue line along the top edge. */
.wow-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100000;
	width: 100%;
	height: 2px;
	background: var(--wow-color-blue);
	transform: scaleX(0);
	transform-origin: 0 50%;
	pointer-events: none;
}

/* 6. Reduced motion --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.profesjonals:has(.emm8-ind)::after,
	.emm8-sec .emm8-wrap > div[style*="linear-gradient"]::before {
		transition: none;
	}

	.profesjonals .emm8-ind__card,
	.profesjonals .emm8-ind__ghost,
	.profesjonals .emm8-ind__more::after,
	.emm8-sec .emm8-wrap > div[style*="grid-template-columns"] > div {
		transition: none;
	}

	.profesjonals .emm8-ind__card:hover,
	.profesjonals .emm8-ind__card:hover .emm8-ind__ghost,
	.emm8-sec .emm8-wrap > div[style*="grid-template-columns"] > div:hover {
		transform: none;
	}

	.wow-js .profesjonals .emm8-ind__card:hover .emm8-ind__icon .emm8-ind__svg *,
	.emm8-sec .emm8-wrap > div[style*="linear-gradient"] a[href*="kontakt"]::after {
		animation: none;
	}

	.wow-js .wow-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.wow-magnetic {
		transform: none;
		transition: none;
	}

	.wow-progress {
		display: none;
	}
}
