/*
Theme Name: EURO-BUD
Template: twentytwentyfive
Description: EURO-BUD, tynki maszynowe. Motyw potomny TT5.
Author: StronyZysku
Version: 3.5.0
Text Domain: eurobud
*/

@font-face{font-family:Geist;font-style:normal;font-weight:300 700;font-display:swap;src:url('assets/fonts/geist-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:Geist;font-style:normal;font-weight:300 700;font-display:swap;src:url('assets/fonts/geist-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 {
	--bg: #F4F4F1;
	--white: #FFFFFF;
	--ink: #16181A;
	--muted: #5D6165;
	--line: #DCDCD7;
	--sand: #FFC400;
	--yellow: #FFC400;
	--yellow-2: #FFD44D;
	--dark: #141618;
	--dark-2: #1E2124;
	--gutter: clamp(20px, 4vw, 56px);
	--sec: clamp(88px, 11vw, 168px);
	--radius: 14px;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--ease-io: cubic-bezier(.65, 0, .35, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
	font-feature-settings: "ss01", "tnum" 0;
	overflow-x: clip;
}
::selection { background: var(--yellow); color: var(--ink); }
.eb-dark ::selection { background: var(--bg); color: var(--ink); }
html { scrollbar-color: #9A9C99 var(--bg); }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.eb-dark :where(a, button):focus-visible { outline-color: var(--bg); }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
img { display: block; max-width: 100%; height: auto; }

.eb-main > *, .eb-part-h, .eb-part-f { margin-block: 0 !important; }
.eb-main p, .eb-main h1, .eb-main h2, .eb-main h3, .eb-main ul, .eb-main figure, .eb-footer p, .eb-header p, .eb-header ul { margin: 0; }

.eb-wrap { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto !important; }
.eb-sec { padding-block: var(--sec); }

.eb-h1 {
	font-size: var(--wp--preset--font-size--display);
	font-weight: 500;
	line-height: .98;
	letter-spacing: -.045em;
	max-width: 9.8ch;
}
.eb-h2 {
	font-size: var(--wp--preset--font-size--h-2);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -.04em;
	text-wrap: balance;
}
.eb-lead { font-size: var(--wp--preset--font-size--lead); line-height: 1.5; color: var(--muted); max-width: 44ch; }
.eb-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px var(--gutter); align-items: end; margin-bottom: clamp(40px, 6vw, 80px) !important; }
.eb-head-p { color: var(--muted); font-size: var(--wp--preset--font-size--lead); line-height: 1.5; max-width: 42ch; }
.eb-head-center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.eb-head-center .eb-h2 { max-width: 18ch; }

/* ---------- Przyciski ---------- */
.eb-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.eb-btn .wp-block-button__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 26px;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: -.01em;
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	transition: color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
	will-change: transform;
}
.eb-btn .wp-block-button__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	transform: translateY(101%);
	transition: transform .55s var(--ease);
}
.eb-btn .wp-block-button__link:hover::after { transform: translateY(0); }
.eb-btn-dark .wp-block-button__link { background: var(--ink); color: var(--white); }
.eb-btn-dark .wp-block-button__link::after { background: var(--yellow); }
.eb-btn-dark .wp-block-button__link:hover { color: var(--ink); }
.eb-btn-ghost .wp-block-button__link { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(22,24,26,.25); }
.eb-btn-ghost .wp-block-button__link::after { background: var(--ink); }
.eb-btn-ghost .wp-block-button__link:hover { color: var(--white); }
.eb-btn-sm .wp-block-button__link { min-height: 44px; padding: 0 18px; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.eb-btn-dark .wp-block-button__link[href^="tel"]::before {
	content: "";
	width: 16px; height: 16px; flex: 0 0 auto;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Nagłówek ---------- */
.eb-part-h { position: sticky; top: 0; z-index: 50; }
.eb-header {
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 14px max(var(--gutter), (100vw - 1280px) / 2);
	background: rgba(244,244,241,0);
	transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease);
}
.eb-scrolled .eb-header { background: rgba(244,244,241,.96); box-shadow: 0 1px 0 var(--line); }
.eb-hide-head .eb-header { transform: translateY(-100%); }
.eb-logo a { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.eb-logo span { color: var(--sand); }
.eb-nav { list-style: none; padding: 0; display: flex; gap: 28px; margin-left: auto !important; }
.eb-nav a {
	position: relative;
	font-size: .9375rem;
	color: var(--muted);
	text-decoration: none;
	transition: color .3s;
}
.eb-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.eb-nav a:hover { color: var(--ink); }
.eb-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.eb-header-cta { flex: 0 0 auto; }
.eb-callbar { display: none; }
@media (max-width: 900px) {
	.eb-nav { display: none; }
	.eb-header-cta { margin-left: auto; }
	.eb-callbar {
		position: fixed;
		left: 12px; right: 12px; bottom: 12px;
		z-index: 60;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		min-height: 56px;
		border-radius: 999px;
		background: var(--ink);
		color: var(--white);
		font-weight: 500;
		text-decoration: none;
		box-shadow: 0 12px 30px -10px rgba(0,0,0,.45);
		transform: translateY(150%);
		transition: transform .6s var(--ease);
	}
	.eb-scrolled .eb-callbar { transform: none; }
	.eb-footer { padding-bottom: 96px !important; }
}

/* ---------- Hero ---------- */
.eb-hero { padding-top: clamp(32px, 6vw, 88px); }
.eb-hero-text { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px var(--gutter); align-items: end; }
.eb-hero-side { display: flex; flex-direction: column; gap: 28px; padding-bottom: 10px; }
.eb-rating { font-size: .9375rem; color: var(--muted); }
.eb-rating strong { color: var(--ink); font-weight: 600; }
.eb-hero-media {
	margin-top: clamp(40px, 6vw, 80px) !important;
	padding-inline: var(--gutter);
}
.eb-hero-img {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	aspect-ratio: 16 / 8;
	clip-path: inset(0 calc(var(--hp, 0) * 0%) round var(--radius));
}
.eb-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(calc(1.12 - var(--hs, 0) * .12)); transform-origin: 50% 50%; }
.eb-motion .eb-hero-img { --hp: 6; }

/* ---------- Statement + liczby ---------- */
.eb-statement { padding-block: var(--sec) calc(var(--sec) * .7); }
.eb-statement-text {
	font-size: clamp(1.625rem, 1rem + 2.1vw, 3rem);
	line-height: 1.18;
	letter-spacing: -.03em;
	font-weight: 500;
	max-width: 26ch;
}
.eb-statement-text .w { color: #B9BBB7; transition: color .35s linear; }
.eb-statement-text .w.on { color: var(--ink); }
.eb-statement-text .w.hl.on { background: linear-gradient(var(--yellow), var(--yellow)) 0 85% / 100% .32em no-repeat; }
.eb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 8vw, 112px) !important; border-top: 1px solid var(--line); }
.eb-stat { padding: 28px 24px 0 0; }
.eb-stat + .eb-stat { padding-left: 24px; border-left: 1px solid var(--line); }
.eb-stat-n span { background: linear-gradient(var(--yellow), var(--yellow)) 0 88% / 100% .28em no-repeat; }
.eb-stat-n { font-size: clamp(2.5rem, 1.6rem + 2.4vw, 4.25rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.eb-stat-l { margin-top: 10px !important; color: var(--muted); font-size: .9375rem; }

/* ---------- Usługi z podglądem zdjęcia ---------- */
.eb-svcs { border-top: 1px solid var(--line); position: relative; }
.eb-svc {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) 48px;
	gap: 24px;
	align-items: center;
	padding: clamp(24px, 3vw, 40px) 0;
	border-bottom: 1px solid var(--line);
	cursor: default;
}
.eb-svc::after {
	content: "";
	width: 44px; height: 44px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--line);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / 18px no-repeat;
	transition: transform .5s var(--ease), background-color .5s var(--ease);
}
.eb-svc:hover::after { transform: rotate(45deg); background-color: var(--yellow); box-shadow: none; }
.eb-svc-t a { text-decoration: none; }
.eb-svc-t a::after { content: ""; position: absolute; inset: 0; }
.eb-svc-t { font-size: var(--wp--preset--font-size--h-3); font-weight: 500; letter-spacing: -.03em; transition: transform .6s var(--ease); }
.eb-svc:hover .eb-svc-t { transform: translateX(10px); }
.eb-svc-d { color: var(--muted); max-width: 46ch; }
.eb-svc-img {
	position: fixed;
	top: 0; left: 0;
	width: 320px;
	aspect-ratio: 4 / 5;
	pointer-events: none;
	z-index: 40;
	border-radius: 10px;
	overflow: hidden;
	opacity: 0;
	transform: translate3d(var(--mx, -999px), var(--my, -999px), 0) translate(-50%, -50%) scale(.85) rotate(-3deg);
	transition: opacity .35s var(--ease), transform .2s linear;
	box-shadow: 0 30px 60px -20px rgba(0,0,0,.35);
}
.eb-svc-img img { width: 100%; height: 100%; object-fit: cover; }
.eb-svc.is-hover .eb-svc-img { opacity: 1; transform: translate3d(var(--mx), var(--my), 0) translate(-50%, -50%) scale(1) rotate(-3deg); }
@media (hover: none), (max-width: 900px) {
	.eb-svc { grid-template-columns: minmax(0, 1fr) 96px; grid-template-areas: "t img" "d img"; gap: 6px 18px; }
	.eb-svc::after { display: none; }
	.eb-svc-t { grid-area: t; }
	.eb-svc-d { grid-area: d; font-size: .9375rem; }
	.eb-svc-img { grid-area: img; position: static; width: 96px; opacity: 1; transform: none; box-shadow: none; border-radius: 8px; }
}

/* ---------- Przed / po ---------- */
.eb-ba-sec { background: var(--white); }
.eb-ba {
	position: relative;
	aspect-ratio: 16 / 8;
	border-radius: var(--radius);
	overflow: hidden;
	user-select: none;
	touch-action: pan-y;
}
.eb-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eb-ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.eb-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.eb-ba-handle {
	position: absolute;
	top: 0; bottom: 0;
	left: var(--pos);
	width: 2px;
	background: var(--white);
	transform: translateX(-1px);
	z-index: 2;
	pointer-events: none;
}
.eb-ba-handle svg {
	position: absolute;
	top: 50%; left: 50%;
	width: 56px; height: 56px;
	padding: 18px;
	box-sizing: border-box;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: var(--white);
	color: var(--ink);
	box-shadow: 0 10px 30px -8px rgba(0,0,0,.4);
	transition: transform .4s var(--ease);
}
.eb-ba:hover .eb-ba-handle svg { transform: translate(-50%, -50%) scale(1.08); }
.eb-ba-range:focus-visible ~ .eb-ba-handle svg { outline: 2px solid var(--ink); outline-offset: 3px; }
.eb-ba-tag {
	position: absolute;
	top: 20px;
	z-index: 2;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255,255,255,.92);
	font-size: .875rem;
	font-weight: 500;
	pointer-events: none;
}
.eb-ba-tag-l { left: 20px; }
.eb-ba-tag-r { right: 20px; }

/* ---------- Proces ---------- */
.eb-proces { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); align-items: start; }
.eb-proces-aside { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 20px; }
.eb-proces-img { margin-top: 20px !important; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.eb-proces-img img { width: 100%; height: 100%; object-fit: cover; }
.eb-steps { position: relative; padding-left: 40px; }
.eb-steps::before, .eb-steps::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.eb-steps::after { background: var(--yellow); width: 3px; left: -1px; transform: scaleY(var(--prog, 0)); transform-origin: top; }
.eb-step { position: relative; padding: 8px 0 clamp(48px, 6vw, 88px); }
.eb-step:last-child { padding-bottom: 8px; }
.eb-step::before {
	content: "";
	position: absolute;
	left: -45px; top: 14px;
	width: 11px; height: 11px;
	border-radius: 50%;
	background: var(--bg);
	box-shadow: inset 0 0 0 1px #A9ABA7;
	transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease);
}
.eb-step.is-active::before { background: var(--yellow); box-shadow: inset 0 0 0 2px var(--ink); transform: scale(1.45); }
.eb-step-n { display: inline-block; padding: 3px 8px; border-radius: 4px; background: var(--yellow); font-size: .8125rem; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.eb-step-t { margin-top: 10px !important; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.eb-step-d { margin-top: 14px !important; color: var(--muted); max-width: 46ch; font-size: 1.0625rem; }

/* ---------- Galeria (paralaksa) ---------- */
.eb-galeria {
	display: grid;
	grid-template-columns: 5fr 4fr 3fr;
	gap: clamp(12px, 2vw, 24px);
	padding: 0 var(--gutter) var(--sec);
	align-items: start;
}
.eb-galeria .eb-img { border-radius: var(--radius); overflow: hidden; }
.eb-galeria img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0)) scale(1.12); }
.eb-g1 { aspect-ratio: 4 / 5; }
.eb-g2 { aspect-ratio: 4 / 5; margin-top: clamp(60px, 10vw, 160px) !important; }
.eb-g3 { aspect-ratio: 3 / 4; margin-top: clamp(20px, 4vw, 60px) !important; }

/* ---------- Opinie ---------- */
.eb-dark { background: var(--dark); color: #EDEDEA; }
.eb-dark .eb-h2 { color: var(--white); }
.eb-head-row { grid-template-columns: minmax(0, 1fr) auto; }
.eb-op-score { display: flex; align-items: center; gap: 16px; color: #A3A6A3; font-size: .9375rem; line-height: 1.35; }
.eb-op-big { font-size: clamp(3.5rem, 2.4rem + 3vw, 5.5rem); color: var(--yellow); letter-spacing: -.05em; font-weight: 500; line-height: 1; }
.eb-revs {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 4px max(var(--gutter), (100vw - 1280px) / 2) 24px;
	scroll-padding-inline: max(var(--gutter), (100vw - 1280px) / 2);
	scrollbar-width: none;
	cursor: grab;
}
.eb-revs::-webkit-scrollbar { display: none; }
.eb-revs.is-drag { cursor: grabbing; scroll-snap-type: none; }
.eb-rev {
	flex: 0 0 clamp(280px, 30vw, 400px);
	scroll-snap-align: start;
	margin: 0 !important;
	padding: 32px !important;
	border: 0 !important;
	border-radius: var(--radius);
	background: var(--dark-2);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
	min-height: 300px;
	box-sizing: border-box;
	transition: transform .6s var(--ease), background-color .4s;
}
.eb-rev:hover { transform: translateY(-6px); background: #25292C; }
.eb-rev p { font-size: 1.1875rem; line-height: 1.5; letter-spacing: -.01em; font-style: normal; color: #EDEDEA; }
.eb-rev p::before { content: "“"; display: block; font-size: 3.5rem; line-height: .6; color: var(--sand); margin-bottom: 12px; }
.eb-rev cite { font-style: normal; font-size: .875rem; color: #9A9D9A; line-height: 1.5; }
.eb-rev cite strong { color: var(--white); font-weight: 500; font-size: 1rem; }
.eb-more { margin-top: 24px !important; }
.eb-more a { color: var(--yellow); font-size: .9375rem; }

/* ---------- Dla firm ---------- */
.eb-firmy { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gutter); align-items: center; }
.eb-firmy-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.eb-firmy-img img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0)) scale(1.1); }
.eb-firmy-text { display: flex; flex-direction: column; gap: 22px; }
.eb-firmy-text > p:not(.eb-lead) { color: var(--muted); max-width: 46ch; }

/* ---------- Obszar ---------- */
.eb-obszar { background: var(--white); overflow: hidden; }
.eb-marquee { overflow: hidden; padding-block: 8px clamp(40px, 5vw, 64px); }
.eb-marquee-track { display: flex; gap: 48px; width: max-content; animation: eb-marq 40s linear infinite; }
.eb-marquee span { font-size: clamp(3rem, 2rem + 4vw, 6rem); font-weight: 500; letter-spacing: -.05em; white-space: nowrap; color: var(--ink); }
.eb-marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.eb-marquee span:nth-child(3n) { color: var(--yellow); -webkit-text-stroke: 0; }
.eb-marquee:hover .eb-marquee-track { animation-play-state: paused; }
@keyframes eb-marq { to { transform: translateX(-50%); } }
.eb-cities { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.eb-cities li { padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: .9375rem; color: var(--muted); }

/* ---------- Kontakt ---------- */
.eb-kontakt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gutter); align-items: start; }
.eb-kontakt-l { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 120px; }
.eb-bigphone { margin-top: 12px !important; font-size: clamp(2rem, 1.2rem + 2.4vw, 3.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.eb-bigphone a { text-decoration: none; background: linear-gradient(var(--sand), var(--sand)) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease); padding-bottom: 6px; }
.eb-bigphone a:hover { background-size: 100% 2px; }
.eb-kontakt-meta { color: var(--muted); line-height: 1.7; }
.eb-kontakt-r { background: var(--white); border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 3.5vw, 48px); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(22,24,26,.35); }

.eb-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.eb-f { position: relative; display: block; }
.eb-f-wide { grid-column: 1 / -1; }
.eb-f input, .eb-f select, .eb-f textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 62px;
	padding: 26px 16px 10px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--bg);
	color: var(--ink);
	font: 400 1rem/1.3 Geist, sans-serif;
	appearance: none;
	transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.eb-f textarea { min-height: 120px; resize: vertical; }
.eb-f select { background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181A' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; padding-right: 40px; }
.eb-f > span {
	position: absolute;
	left: 17px; top: 21px;
	font-size: 1rem;
	color: var(--muted);
	pointer-events: none;
	transform-origin: left top;
	transition: transform .35s var(--ease), color .3s;
}
.eb-f input:focus ~ span, .eb-f input:not(:placeholder-shown) ~ span,
.eb-f textarea:focus ~ span, .eb-f textarea:not(:placeholder-shown) ~ span,
.eb-f-sel > span { transform: translateY(-12px) scale(.78); }
.eb-f input:focus, .eb-f select:focus, .eb-f textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px rgba(22,24,26,.08); }
.eb-f [aria-invalid="true"] { border-color: #B3261E; }
.eb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.eb-calc { min-height: 1.5em; margin-top: 14px !important; font-size: .9375rem; color: var(--muted); }
.eb-calc strong { color: var(--ink); font-weight: 600; }
.eb-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 18px; }
.eb-submit {
	position: relative;
	display: inline-flex; align-items: center; gap: 12px;
	min-height: 56px; padding: 0 28px;
	border: 0; border-radius: 999px;
	background: var(--ink); color: var(--white);
	font: 500 1rem Geist, sans-serif;
	cursor: pointer;
	overflow: hidden; isolation: isolate;
}
.eb-submit:hover { color: var(--ink); }
.eb-submit::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow); transform: translateY(101%); transition: transform .55s var(--ease); border-radius: inherit; }
.eb-submit:hover::after { transform: none; }
.eb-submit svg { transition: transform .5s var(--ease); }
.eb-submit:hover svg { transform: translateX(4px); }
.eb-submit[disabled] { opacity: .6; cursor: progress; }
.eb-form-note { flex: 1 1 220px; font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.eb-form-note.is-ok { color: var(--ink); font-size: 1rem; font-weight: 500; }
.eb-form-note.is-err { color: #B3261E; font-size: .9375rem; }

/* ---------- Stopka ---------- */
.eb-footer { background: var(--dark); color: #A3A6A3; padding: clamp(56px, 7vw, 96px) 0 40px; }
.eb-footer-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; align-items: start; }
.eb-footer-logo span { color: var(--yellow); }
.eb-footer-logo { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); color: var(--white); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.eb-footer-col { font-size: .9375rem; line-height: 1.8; }
.eb-footer a { color: #EDEDEA; text-decoration: none; }
.eb-footer a:hover { text-decoration: underline; }

/* ---------- Podstrony ---------- */
.eb-page { width: min(100% - 2 * var(--gutter), 760px); margin: 0 auto; padding-block: clamp(48px, 8vw, 120px); }
.eb-page-title { font-size: var(--wp--preset--font-size--h-2); font-weight: 500; letter-spacing: -.04em; margin-bottom: 32px !important; }
.eb-prose > * + * { margin-top: 1em !important; }

/* ---------- Responsywność ---------- */
@media (max-width: 1000px) {
	.eb-hero-text, .eb-head, .eb-proces, .eb-firmy, .eb-kontakt { grid-template-columns: minmax(0, 1fr); }
	.eb-proces-aside, .eb-kontakt-l { position: static; }
	.eb-proces-img { display: none; }
	.eb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eb-stat:nth-child(3) { border-left: 0; padding-left: 0; }
	.eb-stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
	.eb-footer-in { grid-template-columns: 1fr 1fr; }
	.eb-footer-logo { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.eb-hero-img, .eb-ba { aspect-ratio: 4 / 5; }
	.eb-ba-handle svg { width: 48px; height: 48px; padding: 15px; }
	.eb-galeria { grid-template-columns: 1fr 1fr; }
	.eb-g3 { display: none; }
	.eb-fields { grid-template-columns: minmax(0, 1fr); }
	.eb-head-row { grid-template-columns: minmax(0, 1fr); }
	.eb-btns .wp-block-button, .eb-btns .wp-block-button__link { width: 100%; justify-content: center; }
	.eb-header .eb-btns .wp-block-button, .eb-header .eb-btns .wp-block-button__link { width: auto; }
}

/* ---------- Ruch ---------- */
.eb-motion .eb-r { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.eb-motion .eb-r.in { opacity: 1; transform: none; }
.eb-motion .eb-ri { clip-path: inset(18% 0 0 0 round var(--radius)); transition: clip-path 1.3s var(--ease); transition-delay: var(--d, 0s); }
.eb-motion .eb-ri img { transform: scale(1.18); transition: transform 1.6s var(--ease); }
.eb-motion .eb-ri.in { clip-path: inset(0 0 0 0 round var(--radius)); }
.eb-motion .eb-ri.in img { transform: translateY(var(--py, 0)) scale(1.1); }
.eb-h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.eb-h1 .ln > span { display: inline-block; }
.eb-motion .eb-h1 .ln > span { transform: translateY(105%); animation: eb-up 1.1s var(--ease) forwards; animation-delay: calc(.12s + var(--i) * .09s); }
@keyframes eb-up { to { transform: none; } }
.eb-motion .eb-hero-side > * { opacity: 0; transform: translateY(16px); animation: eb-fade 1s var(--ease) forwards; animation-delay: calc(.55s + var(--i, 0) * .1s); }
@keyframes eb-fade { to { opacity: 1; transform: none; } }
.eb-motion .eb-hero-media { opacity: 0; transform: translateY(40px); animation: eb-fade 1.4s var(--ease) .5s forwards; }
@media (prefers-reduced-motion: reduce) {
	.eb-marquee-track { animation: none; }
	.eb-galeria img, .eb-firmy-img img, .eb-hero-img img { transform: none !important; }
}

/* =================== v3: kolor, hero, podstrony =================== */
.eb-btn-yellow .wp-block-button__link { background: var(--yellow); color: var(--ink); }
.eb-btn-yellow .wp-block-button__link::after { background: var(--ink); }
.eb-btn-yellow .wp-block-button__link:hover { color: var(--yellow); }
.eb-btn-line .wp-block-button__link { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.eb-btn-line .wp-block-button__link::after { background: var(--ink); }
.eb-btn-line .wp-block-button__link:hover { color: var(--yellow); }

/* Nagłówek: podmenu + burger */
.eb-nav { align-items: center; }
.eb-nav > li { position: relative; }
.eb-nav .has-sub > a { padding-right: 16px; }
.eb-nav .has-sub > a { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D6165' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 12px no-repeat; }
.eb-nav ul {
	list-style: none; margin: 0; padding: 10px;
	position: absolute; top: calc(100% + 14px); left: -14px;
	min-width: 230px;
	background: var(--white);
	border-radius: 12px;
	box-shadow: 0 20px 50px -18px rgba(22,24,26,.35), 0 0 0 1px rgba(22,24,26,.06);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.eb-nav ul::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.eb-nav .has-sub:hover > ul, .eb-nav .has-sub:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.eb-nav ul a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); }
.eb-nav ul a::after { display: none; }
.eb-nav ul a:hover { background: var(--yellow); }
.eb-burger { display: none; }
@media (max-width: 900px) {
	.eb-burger { display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--yellow); cursor: pointer; z-index: 70; }
	.eb-burger span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .4s var(--ease); }
	.eb-menu-open .eb-burger span:first-child { transform: translateY(4px) rotate(45deg); }
	.eb-menu-open .eb-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
	.eb-header .eb-header-cta { display: none !important; }
	.eb-burger { margin-left: auto; flex: 0 0 46px; }
	.eb-nav {
		display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
		position: fixed; inset: 0; z-index: 65;
		margin: 0 !important; padding: 96px var(--gutter) 40px;
		background: var(--yellow);
		clip-path: circle(0 at calc(100% - 44px) 36px);
		transition: clip-path .7s var(--ease);
		overflow-y: auto;
	}
	.eb-menu-open .eb-nav { clip-path: circle(150% at calc(100% - 44px) 36px); }
	.eb-nav > li > a { font-size: 2.25rem; font-weight: 500; letter-spacing: -.04em; color: var(--ink); background: none !important; padding: 4px 0; }
	.eb-nav ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 12px; min-width: 0; }
	.eb-nav ul a { font-size: 1.125rem; padding: 6px 0; color: var(--ink); }
	.eb-nav ul a:hover { background: none; text-decoration: underline; }
	.eb-logo { position: relative; z-index: 70; }
	.eb-menu-open { overflow: hidden; }
}

/* Hero v3 */
.eb-hero2 {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	min-height: min(calc(100svh - 72px), 920px);
	background: var(--ink);
}
.eb-hero2-panel {
	position: relative;
	z-index: 2;
	background: var(--yellow);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 28px;
	padding: clamp(48px, 7vw, 112px) clamp(32px, 5vw, 88px) clamp(40px, 5vw, 72px) max(var(--gutter), (100vw - 1280px) / 2);
}
.eb-hero2 .eb-h1 { font-size: clamp(3rem, 1.4rem + 5.2vw, 6rem); max-width: 11ch; line-height: .95; letter-spacing: -.05em; font-weight: 600; }
.eb-hero2-lead { font-size: var(--wp--preset--font-size--lead); line-height: 1.45; max-width: 40ch; color: #3A3200; }
.eb-hero2-img { position: relative; overflow: hidden; margin: 0 !important; }
.eb-hero2-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: translateY(var(--hy, 0)) scale(1.06); }
.eb-badge {
	position: absolute;
	z-index: 3;
	left: calc(100% * 7 / 12);
	top: clamp(40px, 9vw, 120px);
	width: clamp(120px, 11vw, 168px);
	aspect-ratio: 1;
	transform: translateX(-50%);
	border-radius: 50%;
	background: var(--ink);
	color: var(--yellow);
	display: grid; place-items: center;
	box-shadow: 0 20px 40px -16px rgba(0,0,0,.5);
}
.eb-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: eb-spin 22s linear infinite; }
.eb-badge text { font: 600 13.5px Geist, sans-serif; letter-spacing: 2.4px; fill: var(--yellow); }
.eb-badge > span { font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.5rem); font-weight: 600; letter-spacing: -.04em; }
@keyframes eb-spin { to { transform: rotate(360deg); } }
.eb-ticker { background: var(--ink); color: var(--yellow); overflow: hidden; padding: 18px 0; }
.eb-ticker-track { display: flex; width: max-content; animation: eb-marq 32s linear infinite; }
.eb-ticker span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(1.125rem, .9rem + .6vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.eb-ticker span::after { content: ""; width: 10px; height: 10px; background: var(--yellow); transform: rotate(45deg); }
.eb-motion .eb-hero2-panel { animation: eb-wipe 1.1s var(--ease-io) both; }
@keyframes eb-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.eb-motion .eb-hero2-img img { animation: eb-zoom 2.2s var(--ease) both; }
@keyframes eb-zoom { from { transform: scale(1.3); filter: grayscale(1); } to { transform: scale(1.06); filter: none; } }
.eb-motion .eb-badge { animation: eb-pop .9s var(--ease) 1s both; }
@keyframes eb-pop { from { transform: translateX(-50%) scale(0) rotate(-90deg); } to { transform: translateX(-50%) scale(1); } }
.eb-motion .eb-hero2-panel > :not(.eb-h1) { opacity: 0; animation: eb-fade 1s var(--ease) both; animation-delay: calc(.8s + var(--i, 0) * .1s); }
.eb-motion .eb-hero2 .eb-h1 .ln > span { animation-delay: calc(.45s + var(--i) * .08s); }
@media (max-width: 900px) {
	.eb-hero2 { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.eb-hero2-panel { padding: 48px var(--gutter) 40px; }
	.eb-hero2-img { aspect-ratio: 4 / 3.4; }
	.eb-badge { left: auto; right: var(--gutter); top: auto; bottom: calc(100% * 0 + 24px); transform: none; width: 112px; }
	@keyframes eb-pop { from { transform: scale(0) rotate(-90deg); } to { transform: none; } }
	.eb-badge text { font-size: 15px; }
}

/* Hero podstron */
.eb-phero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--yellow); min-height: clamp(380px, 52vh, 560px); }
.eb-phero-panel { display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding: clamp(40px, 6vw, 96px) clamp(28px, 4vw, 72px) clamp(40px, 5vw, 64px) max(var(--gutter), (100vw - 1280px) / 2); }
.eb-crumb { font-size: .875rem; color: #4A4000; }
.eb-crumb a { color: inherit; text-decoration: none; }
.eb-crumb a:hover { text-decoration: underline; }
.eb-phero-h1 { font-size: clamp(2.5rem, 1.4rem + 3.8vw, 5rem); font-weight: 600; letter-spacing: -.05em; line-height: .98; max-width: 14ch; text-wrap: balance; }
.eb-phero-lead { font-size: var(--wp--preset--font-size--lead); line-height: 1.45; max-width: 46ch; color: #3A3200; }
.eb-phero-img { position: relative; overflow: hidden; margin: 0 !important; }
.eb-phero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eb-motion .eb-phero-img img { animation: eb-zoom 1.8s var(--ease) both; }
.eb-motion .eb-phero-panel > * { opacity: 0; animation: eb-fade .9s var(--ease) both; animation-delay: calc(.1s + var(--i, 0) * .08s); }
@media (max-width: 900px) {
	.eb-phero { grid-template-columns: minmax(0, 1fr); }
	.eb-phero-img { aspect-ratio: 16 / 10; }
}

/* Treść usług */
.eb-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gutter); align-items: center; }
.eb-split-text { display: flex; flex-direction: column; gap: 18px; }
.eb-body { color: var(--muted); font-size: 1.0625rem; max-width: 58ch; }
.eb-h3 { margin-top: 16px !important; font-size: 1.375rem; font-weight: 500; letter-spacing: -.02em; }
.eb-split-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.eb-split-img img { width: 100%; height: 100%; object-fit: cover; }
.eb-checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.eb-checks li { position: relative; padding-left: 34px; line-height: 1.5; }
.eb-checks li::before {
	content: ""; position: absolute; left: 0; top: .1em;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.eb-yband { background: var(--yellow); }
.eb-yband .eb-h2 { margin-bottom: clamp(32px, 4vw, 56px) !important; max-width: 18ch; }
.eb-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.eb-why-i { background: var(--bg); border-radius: var(--radius); padding: 28px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.eb-why-i:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 24px 40px -24px rgba(22,24,26,.5); }
.eb-why-n { font-size: .875rem; font-weight: 600; }
.eb-why-t { margin-top: 36px !important; font-size: 1.5rem; font-weight: 500; letter-spacing: -.03em; }
.eb-why-d { margin-top: 10px !important; color: var(--muted); }
.eb-stats-y { border-top-color: rgba(22,24,26,.25); margin-top: 0 !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eb-stats-y .eb-stat + .eb-stat { border-left-color: rgba(22,24,26,.25); }
.eb-stats-y .eb-stat-n span { background: none; }
.eb-stats-y .eb-stat-l { color: #3A3200; }
.eb-faqs { max-width: 900px; }
.eb-faqs .eb-head { grid-template-columns: 1fr; }
.eb-faq { border-top: 1px solid var(--line); padding: 4px 0; }
.eb-faq:last-child { border-bottom: 1px solid var(--line); }
.eb-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; }
.eb-faq summary::-webkit-details-marker { display: none; }
.eb-faq summary::after { content: "+"; flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-size: 1.25rem; transition: transform .4s var(--ease); }
.eb-faq[open] summary::after { transform: rotate(45deg); }
.eb-faq p { padding: 0 52px 24px 0; color: var(--muted); max-width: 64ch; }
@media (max-width: 900px) {
	.eb-split { grid-template-columns: minmax(0, 1fr); }
	.eb-split-img { aspect-ratio: 16 / 11; }
	.eb-why, .eb-stats-y { grid-template-columns: minmax(0, 1fr); }
	.eb-stats-y .eb-stat + .eb-stat { border-left: 0; padding-left: 0; border-top: 1px solid rgba(22,24,26,.25); margin-top: 24px; }
}

/* Żółty pasek CTA */
.eb-part-c { margin: 0 !important; }
.eb-ctaband { background: var(--yellow); padding-block: clamp(72px, 9vw, 136px); overflow: hidden; }
.eb-ctaband-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px var(--gutter); align-items: end; }
.eb-cta-h { font-size: clamp(2.5rem, 1.4rem + 3.8vw, 5rem); font-weight: 600; letter-spacing: -.05em; line-height: .98; max-width: 13ch; margin: 0; }
.eb-cta-side { display: flex; flex-direction: column; gap: 18px; }
.eb-cta-side p { margin: 0; }
.eb-cta-phone { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.eb-cta-phone a { text-decoration: none; }
.eb-cta-phone a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.eb-cta-p { color: #3A3200; }
@media (max-width: 900px) { .eb-ctaband-in { grid-template-columns: minmax(0, 1fr); } }

/* Strona kontakt */
.eb-kpage { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); min-height: 80vh; }
.eb-kpage-l { background: var(--yellow); display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(48px, 6vw, 96px) clamp(28px, 4vw, 72px) clamp(48px, 6vw, 96px) max(var(--gutter), (100vw - 1280px) / 2); }
.eb-kpage-l .eb-bigphone a { background-image: linear-gradient(var(--ink), var(--ink)); }
.eb-kpage-l .eb-kontakt-meta { color: #3A3200; }
.eb-kpage-r { display: flex; align-items: center; padding: clamp(32px, 5vw, 88px) max(var(--gutter), (100vw - 1280px) / 2) clamp(32px, 5vw, 88px) clamp(28px, 4vw, 72px); background: var(--white); }
.eb-kpage-r .eb-form { width: 100%; }
@media (max-width: 900px) { .eb-kpage { grid-template-columns: minmax(0, 1fr); } }

/* Stopka v3 */
.eb-footer-in { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
.eb-footer-col strong { display: block; color: var(--yellow); font-weight: 500; margin-bottom: 6px; }
.eb-footer-copy { grid-column: 1 / -1; padding-top: 28px; margin-top: 12px !important; border-top: 1px solid #2A2D30; font-size: .8125rem; }
@media (max-width: 1000px) { .eb-footer-in { grid-template-columns: 1fr 1fr; } }

.eb-menu-open .eb-logo span { color: var(--ink); }
.eb-footer-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.eb-credit a { color: var(--yellow); }

/* =================== v4: więcej CTA =================== */
.eb-callbar { display: none !important; }
.eb-float {
	position: fixed; right: 24px; bottom: 24px; z-index: 60;
	display: flex; gap: 8px;
	transform: translateY(160%);
	transition: transform .7s var(--ease);
}
.eb-far .eb-float { transform: none; }
.eb-far.eb-float-off .eb-float, .eb-menu-open .eb-float { transform: translateY(160%); }
.eb-float a {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; padding: 0 24px; border-radius: 999px;
	font-weight: 500; text-decoration: none;
	box-shadow: 0 16px 34px -12px rgba(22,24,26,.5);
	transition: transform .4s var(--ease);
}
.eb-float a:hover { transform: translateY(-3px); }
.eb-float-call { background: var(--ink); color: var(--white); }
.eb-float-form { background: var(--yellow); color: var(--ink); }
@media (max-width: 900px) {
	.eb-float { left: 12px; right: 12px; bottom: 12px; }
	.eb-float a { flex: 1; padding: 0 12px; }
}

.eb-ctarow {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
	padding: clamp(22px, 2.6vw, 34px) clamp(22px, 3vw, 40px);
	margin-block: clamp(8px, 2vw, 24px) !important;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: inset 0 0 0 1px var(--line);
}
.eb-ctarow-t { position: relative; padding-left: 28px; font-size: clamp(1.125rem, .95rem + .6vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; max-width: 34ch; }
.eb-ctarow-t::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255,196,0,.7); animation: eb-ping 2s var(--ease) infinite; }
@keyframes eb-ping { 0% { box-shadow: 0 0 0 0 rgba(255,196,0,.75); } 80%, 100% { box-shadow: 0 0 0 14px rgba(255,196,0,0); } }
@media (prefers-reduced-motion: reduce) { .eb-ctarow-t::before { animation: none; } }
@media (max-width: 640px) { .eb-ctarow .eb-btns { width: 100%; } }

.eb-quick { background: var(--ink); color: #EDEDEA; }
.eb-quick-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); align-items: center; }
.eb-quick-l { display: flex; flex-direction: column; gap: 16px; }
.eb-quick .eb-h2 { color: var(--white); }
.eb-quick .eb-h2::after { content: ""; display: block; width: 64px; height: 6px; margin-top: 22px; background: var(--yellow); border-radius: 3px; }
.eb-quick-p { color: #A3A6A3; font-size: var(--wp--preset--font-size--lead); max-width: 40ch; }
.eb-quick-or { color: #A3A6A3; }
.eb-quick-or a { color: var(--yellow); font-weight: 500; }
.eb-quick .eb-f input { background: #24272A; border-color: #34383C; color: var(--white); }
.eb-quick .eb-f input:focus { background: #2B2F33; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,196,0,.18); }
.eb-quick .eb-f > span { color: #9A9D9A; }
.eb-quick .eb-calc { color: #A3A6A3; }
.eb-quick .eb-calc strong { color: var(--yellow); }
.eb-quick .eb-submit { background: var(--yellow); color: var(--ink); }
.eb-quick .eb-submit::after { background: var(--white); }
.eb-quick .eb-form-note { color: #8E918E; }
.eb-quick .eb-form-note a { color: #C9CBC8; }
.eb-quick .eb-form-note.is-ok { color: var(--yellow); }
.eb-quick .eb-form-note.is-err { color: #FF8A80; }
.eb-fields-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .eb-quick-in, .eb-fields-3 { grid-template-columns: minmax(0, 1fr); } }

.eb-split-text .eb-btns { margin-top: 12px; }
.eb-yband-cta { margin-top: clamp(28px, 3vw, 40px); }
.eb-faq-cta { margin-top: 28px !important; font-size: 1.125rem; }
.eb-faq-cta a { font-weight: 500; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.eb-anchor { scroll-margin-top: 80px; }

/* Logo */
.eb-logo a { display: block; line-height: 0; }
.eb-logo img { height: clamp(28px, 2.4vw, 34px); width: auto; }
.eb-footer-logo img { height: clamp(36px, 3vw, 46px); width: auto; }

/* v5 poprawki */
.eb-menu-open .eb-logo img { filter: brightness(0); }
.eb-btn .wp-block-button__link { white-space: nowrap; }
.eb-ctarow { margin-block: clamp(32px, 6vw, 64px) !important; }
@media (max-width: 640px) {
	.eb-ctarow { padding: 24px 20px; }
	.eb-ctarow .eb-btn .wp-block-button__link { font-size: .9375rem; padding: 0 16px; }
}
.eb-cities { gap: 4px 0; max-width: 820px; margin-inline: auto !important; }
.eb-cities li { padding: 0; box-shadow: none; border-radius: 0; font-size: 1rem; color: var(--muted); }
.eb-cities li + li::before { content: "·"; margin: 0 12px; color: #B5B7B3; }
.eb-footer-in { grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.3fr; }
.eb-footer-area { columns: 1; }
@media (max-width: 1000px) { .eb-footer-in { grid-template-columns: 1fr 1fr; } }
.eb-others { margin-top: 32px !important; color: var(--muted); font-size: .9375rem; line-height: 1.9; }
.eb-others a { color: var(--ink); }

.eb-cities { gap: 6px 22px; }
.eb-cities li + li::before { content: none; }

/* v6: miejscowości jako klikalne tagi */
.eb-cities { gap: 10px; max-width: 900px; }
.eb-cities li { padding: 0; box-shadow: none; }
.eb-cities li + li::before { content: none; }
.eb-cities a {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 18px; border-radius: 999px;
	background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
	color: var(--ink); font-size: .9375rem; text-decoration: none;
	transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .4s var(--ease);
}
.eb-cities a::after { content: "→"; font-size: .875rem; opacity: .45; transition: transform .4s var(--ease), opacity .3s; }
.eb-cities a:hover { background: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow); transform: translateY(-2px); }
.eb-cities a:hover::after { transform: translateX(3px); opacity: 1; }

/* v7: zakres klienta */
.eb-spec { background: var(--white); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(20px, 3vw, 40px); display: grid; place-items: center; aspect-ratio: 1; }
.eb-spec img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.eb-spec:hover img { transform: scale(1.04) rotate(-1deg); }
.eb-ba-sec .eb-sprzet { padding-block: 0; }
.eb-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.eb-type { position: relative; background: var(--white); border-radius: var(--radius); padding: 28px 28px 32px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.eb-type::before { content: ""; position: absolute; left: 0; top: 0; height: 6px; width: 100%; background: var(--yellow); transform: scaleX(.18); transform-origin: left; transition: transform .7s var(--ease); }
.eb-type:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 24px 40px -28px rgba(22,24,26,.45); }
.eb-type:hover::before { transform: scaleX(1); }
.eb-type-t { margin-top: 18px !important; font-size: 1.5rem; font-weight: 500; letter-spacing: -.03em; }
.eb-type-d { margin-top: 10px !important; color: var(--muted); }
.eb-types-sec .eb-head { grid-template-columns: 1fr; }

/* v8: agregat jako zdjęcie z budowy */
.eb-spec { padding: 0; overflow: hidden; aspect-ratio: 1; }
.eb-spec img { object-fit: cover; }

/* v9: subtelniejszy podgląd zdjęcia w zakresie robót */
@media (hover: hover) and (min-width: 901px) {
	.eb-svc-img {
		width: 200px;
		aspect-ratio: 4 / 3;
		border-radius: 10px;
		box-shadow: 0 18px 40px -22px rgba(22,24,26,.45);
		transform: translate3d(var(--mx, -999px), var(--my, -999px), 0) translate(28px, -50%) scale(.94);
		transition: opacity .45s var(--ease), transform .6s var(--ease);
	}
	.eb-svc.is-hover .eb-svc-img { opacity: 1; transform: translate3d(var(--mx), var(--my), 0) translate(28px, -50%) scale(1); }
	.eb-svc-img img { transform: scale(1.08); transition: transform 1.2s var(--ease); }
	.eb-svc.is-hover .eb-svc-img img { transform: scale(1); }
}

/* v10: statyczny podgląd zdjęcia (bez podążania za myszką) */
@media (hover: hover) and (min-width: 901px) {
	.eb-svc.is-hover { z-index: 3; }
	.eb-svc-img {
		position: absolute;
		left: 44%; top: 50%;
		width: 300px;
		aspect-ratio: 4 / 5;
		border-radius: 12px;
		box-shadow: 0 30px 60px -24px rgba(22,24,26,.45);
		opacity: 0;
		transform: translate(-50%, -50%) scale(.94);
		transition: opacity .4s var(--ease), transform .7s var(--ease);
	}
	.eb-svc.is-hover .eb-svc-img { opacity: 1; transform: translate(-50%, -50%) scale(1); }
	.eb-svc-img img { transform: scale(1.06); transition: transform 1.2s var(--ease); }
	.eb-svc.is-hover .eb-svc-img img { transform: scale(1); }
}

@media (hover: hover) and (min-width: 901px) { .eb-svc-img { left: 37%; } }

/* v11: zakres robót = lista + stała ramka ze zdjęciem po prawej */
@media (hover: hover) and (min-width: 901px) {
	.eb-svcs { position: relative; padding-right: calc(40% + var(--gutter)); min-height: 440px; }
	.eb-svc { position: static; grid-template-columns: minmax(0, 1fr) 48px; grid-template-areas: "t a" "d a"; row-gap: 8px; cursor: pointer; }
	.eb-svc::after { grid-area: a; align-self: center; }
	.eb-svc-t { grid-area: t; }
	.eb-svc-d { grid-area: d; }
	.eb-svc.is-hover .eb-svc-t { transform: translateX(10px); }
	.eb-svc.is-hover::after { transform: rotate(45deg); background-color: var(--yellow); box-shadow: none; }
	.eb-svc-img, .eb-svc.is-hover .eb-svc-img {
		position: absolute;
		left: auto; right: 0; top: 0; bottom: 0;
		width: 40%; height: 100%;
		aspect-ratio: auto;
		margin: 0 !important;
		border-radius: var(--radius);
		box-shadow: none;
		opacity: 0;
		transform: none;
		clip-path: inset(0 0 0 0 round var(--radius));
		transition: opacity .6s var(--ease);
		pointer-events: none;
	}
	.eb-svc.is-hover .eb-svc-img { opacity: 1; z-index: 1; }
	.eb-svc-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
	.eb-svc.is-hover .eb-svc-img img { transform: scale(1); }
}

/* v12: podgląd w stałym miejscu + lekkie „naciąganie” za myszką */
@media (hover: hover) and (min-width: 901px) {
	.eb-svcs { padding-right: 0; min-height: 0; }
	.eb-svc { position: relative; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) 48px; grid-template-areas: none; row-gap: 0; }
	.eb-svc-t, .eb-svc-d, .eb-svc::after { grid-area: auto; }
	.eb-svc.is-hover { z-index: 3; }
	.eb-svc-img, .eb-svc.is-hover .eb-svc-img {
		position: absolute;
		left: 37%; right: auto; top: 50%; bottom: auto;
		width: 300px; height: auto;
		aspect-ratio: 4 / 5;
		border-radius: 12px;
		clip-path: none;
		box-shadow: 0 30px 60px -24px rgba(22,24,26,.45);
		z-index: 2;
	}
	.eb-svc-img {
		opacity: 0;
		transform: translate(-50%, -50%) translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--rot, 0deg)) scale(.94);
		transition: opacity .4s var(--ease), scale .7s var(--ease);
	}
	.eb-svc.is-hover .eb-svc-img {
		opacity: 1;
		transform: translate(-50%, -50%) translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--rot, 0deg)) scale(1);
	}
}

/* v13: przed/po w pełnym kadrze */
.eb-ba { aspect-ratio: 3 / 2; }
@media (max-width: 640px) { .eb-ba { aspect-ratio: 4 / 5; } }

.eb-ba { aspect-ratio: 16 / 9; max-height: 78vh; }
@media (max-width: 640px) { .eb-ba { aspect-ratio: 4 / 5; max-height: none; } }
