.rk-site {
	--rk-gap-v: max(clamp(16px, calc(2.1 * var(--rk-vw)), 40px), calc((100vw - 1200px) / 2));
}

/* Reklamiarnia - wspólne komponenty podstron (Oferta, strony ofertowe, Kontakt).
   Te same klasy buduje generator tools/build_pages.py, więc każda nowa podstrona dziedziczy wygląd. */

/* ---- Sekcje ---- */
.rk-site .rk-section {
	display: flex;
	flex-direction: column;
	gap: clamp(24px, calc(3.2 * var(--rk-vw)), 52px);
	padding: clamp(40px, calc(7 * var(--rk-vw)), 112px) var(--rk-gap);
}

.rk-site .rk-section--tint {
	background: #f6f6f6;
}

.rk-site .rk-section--dark {
	background: var(--rk-dark);
	color: #fff;
}

.rk-site .rk-section--blue {
	position: relative;
	background: var(--rk-blue);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

.rk-site .rk-section--blue::after {
	content: 'r';
	position: absolute;
	right: 4%;
	bottom: -30%;
	z-index: -1;
	font-size: clamp(240px, calc(34 * var(--rk-vw)), 560px);
	font-weight: 800;
	line-height: 1;
	color: rgba(255, 255, 255, 0.06);
	pointer-events: none;
}

.rk-site .rk-section--dark .rk-h2 .elementor-heading-title,
.rk-site .rk-section--blue .rk-h2 .elementor-heading-title {
	color: #fff;
}

.rk-site .rk-section-intro p {
	max-width: 38em;
	margin-top: 14px;
	font-size: clamp(15px, calc(1.2 * var(--rk-vw)), 22px);
	line-height: 1.45;
	letter-spacing: -0.02em;
	color: var(--rk-muted);
}

.rk-site .rk-section--dark .rk-section-intro p,
.rk-site .rk-section--blue .rk-section-intro p {
	color: rgba(255, 255, 255, 0.72);
}

.rk-site .rk-stack {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(14px, calc(1.5 * var(--rk-vw)), 26px);
}

.rk-site .rk-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(24px, calc(6 * var(--rk-vw)), 110px);
	align-items: start;
}

.rk-site .rk-split--sticky > :first-child {
	position: sticky;
	top: 110px;
}

.rk-site .rk-center {
	align-items: center;
	text-align: center;
}

/* ---- Hero podstrony ---- */
.rk-site .rk-pagehero {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: clamp(14px, calc(1.6 * var(--rk-vw)), 26px);
	min-height: clamp(340px, calc(32 * var(--rk-vw)), 520px);
	padding: clamp(36px, calc(5 * var(--rk-vw)), 80px) var(--rk-gap);
	background-color: #111;
	background-size: cover;
	background-position: center;
	color: #fff;
	overflow: hidden;
}

.rk-site .rk-pagehero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0.2) 100%);
}

.rk-site .rk-pagehero > .elementor-widget,
.rk-site .rk-pagehero > .e-con {
	animation: rkUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.rk-site .rk-pagehero > :nth-child(2) {
	animation-delay: 0.12s;
}

.rk-site .rk-pagehero > :nth-child(3) {
	animation-delay: 0.24s;
}

.rk-site .rk-pagehero > :nth-child(4) {
	animation-delay: 0.36s;
}

.rk-site .rk-pagehero__title .elementor-heading-title {
	max-width: 12em;
	font-size: clamp(34px, calc(6 * var(--rk-vw)), 96px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: 0.005em;
	color: #fff;
}

.rk-site .rk-pagehero__sub p {
	max-width: 30em;
	font-size: clamp(16px, calc(1.5 * var(--rk-vw)), 26px);
	line-height: 1.35;
	letter-spacing: -0.02em;
	color: rgba(255, 255, 255, 0.86);
}

.rk-site .rk-crumbs p {
	font-size: clamp(13px, calc(1.1 * var(--rk-vw)), 18px);
	font-weight: 600;
	letter-spacing: -0.01em;
	color: rgba(255, 255, 255, 0.78);
}

.rk-site .rk-crumbs a:hover {
	color: #fff;
	text-decoration: underline;
}

.rk-site .rk-pagehero__cta {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
}

.rk-site .rk-pagehero__call p {
	font-size: clamp(15px, calc(1.2 * var(--rk-vw)), 20px);
	color: rgba(255, 255, 255, 0.85);
}

.rk-site .rk-pagehero__call strong {
	color: #fff;
}

/* ---- Intro: lead + fakty ---- */
.rk-site .rk-lead-text p {
	font-size: clamp(18px, calc(1.9 * var(--rk-vw)), 30px);
	font-weight: 600;
	line-height: 1.28;
	letter-spacing: -0.03em;
}

.rk-site .rk-copy p {
	font-size: clamp(15px, calc(1.1 * var(--rk-vw)), 18px);
	line-height: 1.55;
	color: var(--rk-muted);
}

.rk-site .rk-copy p + p {
	margin-top: 1em;
}

.rk-site .rk-prose {
	max-width: 52em;
}

.rk-site .rk-prose h2,
.rk-site .rk-prose h3 {
	margin: 1.6em 0 0.5em;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.01em;
	color: var(--rk-blue);
}

.rk-site .rk-prose h2 {
	font-size: clamp(26px, calc(3 * var(--rk-vw)), 48px);
}

.rk-site .rk-prose h3 {
	font-size: clamp(20px, calc(2 * var(--rk-vw)), 30px);
	color: var(--rk-ink);
}

.rk-site .rk-prose :is(h2, h3):first-child {
	margin-top: 0;
}

.rk-site .rk-prose p,
.rk-site .rk-prose li {
	font-size: clamp(15px, calc(1.15 * var(--rk-vw)), 19px);
	line-height: 1.6;
	color: #3d3d3d;
}

.rk-site .rk-prose p {
	margin: 0 0 1em;
}

.rk-site .rk-prose ul {
	margin: 0 0 1.2em;
	padding-left: 1.2em;
	list-style: disc;
}

.rk-site .rk-prose li::marker {
	color: var(--rk-red);
}

.rk-site .rk-prose strong {
	color: var(--rk-ink);
}

.rk-site .rk-facts__label p {
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--rk-red);
}

.rk-site .rk-facts ul,
.rk-site .rk-rows ul,
.rk-site .rk-cols ul,
.rk-site .rk-tiles ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rk-site .rk-facts li {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 20px;
	padding: clamp(12px, calc(1.2 * var(--rk-vw)), 18px) 0;
	border-top: 1px solid #e2e2e2;
	font-size: clamp(14px, calc(1 * var(--rk-vw)), 17px);
}

.rk-site .rk-facts li:last-child {
	border-bottom: 1px solid #e2e2e2;
}

.rk-site .rk-facts li span {
	color: var(--rk-muted);
}

.rk-site .rk-facts li strong {
	font-weight: 700;
}

/* ---- Wiersze: tytuł | opis ---- */
.rk-site .rk-rows li {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(12px, calc(2 * var(--rk-vw)), 32px);
	align-items: baseline;
	padding: clamp(16px, calc(1.8 * var(--rk-vw)), 28px) 0;
	border-top: 1px solid rgba(17, 17, 17, 0.14);
}

.rk-site .rk-rows li:last-child {
	border-bottom: 1px solid rgba(17, 17, 17, 0.14);
}

.rk-site .rk-rows li strong {
	font-size: clamp(17px, calc(1.6 * var(--rk-vw)), 26px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.rk-site .rk-rows li span {
	font-size: clamp(14px, calc(1.05 * var(--rk-vw)), 17px);
	line-height: 1.45;
	color: var(--rk-muted);
}

.rk-site .rk-section--blue .rk-rows li,
.rk-site .rk-section--dark .rk-rows li {
	border-color: rgba(255, 255, 255, 0.24);
}

.rk-site .rk-section--blue .rk-rows li strong,
.rk-site .rk-section--dark .rk-rows li strong {
	color: #fff;
}

.rk-site .rk-section--blue .rk-rows li span,
.rk-site .rk-section--dark .rk-rows li span {
	color: rgba(255, 255, 255, 0.72);
}

/* ---- Kafle z literą (rodzaje podświetlenia) ---- */
.rk-site .rk-tiles ul {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(12px, calc(1.3 * var(--rk-vw)), 20px);
}

.rk-site .rk-tile {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.rk-site .rk-tile__letter {
	display: grid;
	place-items: center;
	aspect-ratio: 1.55;
	margin-bottom: 10px;
	border-radius: clamp(16px, calc(1.5 * var(--rk-vw)), 24px);
	background: radial-gradient(circle at 50% 55%, #2a2a2a 0%, #141414 70%);
	font-size: clamp(70px, calc(11 * var(--rk-vw)), 170px);
	font-weight: 800;
	line-height: 1;
	color: #fff;
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.rk-site .rk-tile:hover .rk-tile__letter {
	transform: translateY(-4px);
}

.rk-site .rk-tile--halo .rk-tile__letter {
	color: #141414;
	text-shadow: 0 0 22px rgba(255, 190, 90, 0.95), 0 0 60px rgba(255, 150, 40, 0.7);
}

.rk-site .rk-tile--front .rk-tile__letter {
	color: #f4f4f4;
	text-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

.rk-site .rk-tile--both .rk-tile__letter {
	color: #fff;
	text-shadow: 0 0 22px rgba(255, 190, 90, 0.9), 0 0 50px rgba(255, 150, 40, 0.55);
}

.rk-site .rk-tile--side .rk-tile__letter {
	color: #f6e9cf;
	text-shadow: 0 0 10px rgba(255, 200, 120, 0.9), 0 0 36px rgba(255, 160, 60, 0.5);
}

.rk-site .rk-tile h3 {
	margin: 0;
	font-size: clamp(16px, calc(1.5 * var(--rk-vw)), 22px);
	font-weight: 700;
	letter-spacing: -0.005em;
	color: #fff;
}

.rk-site .rk-tile p {
	margin: 0;
	font-size: clamp(13px, calc(1 * var(--rk-vw)), 16px);
	color: rgba(255, 255, 255, 0.62);
}

/* ---- Galeria realizacji (shortcode [reklamiarnia_gallery]) ---- */
.rk-site .rk-gallery {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: clamp(10px, calc(1 * var(--rk-vw)), 16px);
}

.rk-site .rk-gallery__item {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: clamp(16px, calc(1.5 * var(--rk-vw)), 24px);
	background: #e9e9e9;
}

.rk-site .rk-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.rk-site .rk-gallery__item:hover img {
	transform: scale(1.06);
}

/* Pierwszy rząd układu „bento”: oba zdjęcia mają tę samą stałą wysokość, niezależnie od proporcji pliku
   (pionowe zdjęcie nie rozciąga rzędu); obraz jest kadrowany przez object-fit: cover. */
.rk-site .rk-gallery[data-count='6'] .rk-gallery__item:nth-child(1) {
	grid-column: span 7;
	aspect-ratio: auto;
	height: clamp(240px, calc(32 * var(--rk-vw)), 420px);
}

.rk-site .rk-gallery[data-count='6'] .rk-gallery__item:nth-child(2) {
	grid-column: span 5;
	aspect-ratio: auto;
	height: clamp(240px, calc(32 * var(--rk-vw)), 420px);
}

.rk-site .rk-gallery[data-count='6'] .rk-gallery__item:nth-child(n + 3) {
	grid-column: span 3;
	aspect-ratio: 4 / 3;
}

.rk-site .rk-gallery:not([data-count='6']) .rk-gallery__item {
	grid-column: span 4;
	aspect-ratio: 4 / 3;
}

.rk-site .rk-gallery[data-count='1'] .rk-gallery__item,
.rk-site .rk-gallery[data-count='2'] .rk-gallery__item {
	grid-column: span 6;
}

/* ---- Kolumny „Dla kogo” ---- */
.rk-site .rk-cols ul {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(28px, calc(4 * var(--rk-vw)), 64px) clamp(20px, calc(3.4 * var(--rk-vw)), 56px);
}

.rk-site .rk-cols li {
	padding-top: 18px;
	border-top: 2px solid var(--rk-ink);
}

.rk-site .rk-cols li strong {
	display: block;
	margin-bottom: 8px;
	font-size: clamp(17px, calc(1.6 * var(--rk-vw)), 25px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.rk-site .rk-cols li span {
	font-size: clamp(14px, calc(1.05 * var(--rk-vw)), 17px);
	line-height: 1.45;
	color: var(--rk-muted);
}

/* ---- Pasek CTA na końcu strony ---- */
.rk-site .rk-ctaband {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: clamp(40px, calc(5.5 * var(--rk-vw)), 88px) var(--rk-gap);
	background: #f6f6f6;
	overflow: hidden;
	isolation: isolate;
}

.rk-site .rk-ctaband::after {
	content: 'r';
	position: absolute;
	right: 18%;
	bottom: -42%;
	z-index: -1;
	font-size: clamp(240px, calc(30 * var(--rk-vw)), 480px);
	font-weight: 800;
	line-height: 1;
	color: rgba(30, 79, 158, 0.07);
}

.rk-site .rk-ctaband__contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(8px, calc(1 * var(--rk-vw)), 16px);
}

.rk-site .rk-ctaband__phone .elementor-heading-title {
	font-size: clamp(34px, calc(4.4 * var(--rk-vw)), 70px);
	font-weight: 800;
	line-height: 1;
	color: var(--rk-ink);
}

.rk-site .rk-ctaband__mail p {
	font-size: clamp(16px, calc(1.5 * var(--rk-vw)), 24px);
	letter-spacing: -0.02em;
}

/* ---- Oferta: karty, kroki, niebieska sekcja z logotypami ---- */
.rk-site .rk-cards--5 {
	grid-template-columns: repeat(5, 1fr);
	gap: clamp(14px, calc(1.6 * var(--rk-vw)), 26px) clamp(10px, calc(1.3 * var(--rk-vw)), 20px);
}

.rk-site .rk-cards--5 .rk-card__img img {
	aspect-ratio: 4 / 5;
	border-radius: clamp(14px, calc(1.3 * var(--rk-vw)), 22px);
}

.rk-site .rk-cards--5 .rk-card__img .elementor-widget-container {
	border-radius: clamp(14px, calc(1.3 * var(--rk-vw)), 22px);
}

.rk-site .rk-cards--5 .rk-card__title .elementor-heading-title {
	font-size: clamp(15px, calc(1.45 * var(--rk-vw)), 21px);
}

.rk-site .rk-cards--5 .rk-card__text p {
	font-size: clamp(12.5px, calc(0.95 * var(--rk-vw)), 15px);
	line-height: 1.4;
}

.rk-site .rk-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(24px, calc(3.4 * var(--rk-vw)), 56px);
}

.rk-site .rk-step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 30px;
	border-top: 1px solid rgba(17, 17, 17, 0.14);
}

/* kropka leży dokładnie na linii (środek kropki = linia), z białą obwódką, która „przecina” linię */
.rk-site .rk-step::before {
	content: '';
	position: absolute;
	top: -7px;
	left: 0;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--rk-red);
	box-shadow: 0 0 0 5px #fff;
}

.rk-site .rk-step__title .elementor-heading-title {
	font-size: clamp(19px, calc(2 * var(--rk-vw)), 30px);
	font-weight: 700;
	letter-spacing: 0.005em;
}

.rk-site .rk-step__text p {
	font-size: clamp(14px, calc(1.05 * var(--rk-vw)), 17px);
	line-height: 1.5;
	color: var(--rk-muted);
}

.rk-site .rk-trustblue {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	align-items: center;
	gap: clamp(28px, calc(5 * var(--rk-vw)), 88px);
}

.rk-site .rk-trustblue__copy p {
	max-width: 30em;
	font-size: clamp(15px, calc(1.2 * var(--rk-vw)), 20px);
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.82);
}

.rk-site .rk-trustblue .rk-logos {
	grid-template-columns: repeat(4, 1fr);
}

/* ---- Formularz Contact Form 7 ---- */
.rk-site .rk-form-title .elementor-heading-title {
	margin-bottom: clamp(16px, calc(1.8 * var(--rk-vw)), 28px);
	font-size: clamp(24px, calc(2.4 * var(--rk-vw)), 36px);
	font-weight: 700;
	letter-spacing: 0.005em;
}

.rk-site .wpcf7-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.rk-site .wpcf7-form > p,
.rk-site .wpcf7-form > .rk-field--full,
.rk-site .wpcf7-form > .wpcf7-response-output {
	grid-column: 1 / -1;
	margin: 0;
}

.rk-site .wpcf7-form .rk-field {
	margin: 0;
}

.rk-site .wpcf7-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--rk-ink);
}

.rk-site .wpcf7-form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 8px;
}

.rk-site .wpcf7-form :is(input[type='text'], input[type='email'], input[type='tel'], textarea) {
	width: 100%;
	padding: 15px 18px;
	border: 1px solid transparent;
	border-radius: 14px;
	background: #fff;
	font: 400 16px/1.3 'Inter Tight', system-ui, sans-serif;
	color: var(--rk-ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.rk-site .wpcf7-form textarea {
	min-height: 150px;
	resize: vertical;
}

.rk-site .wpcf7-form :is(input, textarea):focus {
	outline: 0;
	border-color: var(--rk-blue);
	box-shadow: 0 0 0 4px rgba(30, 79, 158, 0.14);
}

.rk-site .wpcf7-form ::placeholder {
	color: #9a9a9a;
}

.rk-site .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--rk-muted);
}

.rk-site .wpcf7-acceptance input {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	accent-color: var(--rk-red);
}

.rk-site .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.rk-site .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 18px 32px;
	border: 0;
	border-radius: 999px;
	background: var(--rk-red) var(--rk-arrow-white) right 12px center / 18px no-repeat;
	padding-right: 64px;
	font: 600 18px/1 'Inter Tight', system-ui, sans-serif;
	letter-spacing: -0.02em;
	color: #fff;
	cursor: pointer;
	transition: transform 0.2s, background-color 0.2s;
}

.rk-site .wpcf7-submit:hover {
	transform: translateY(-2px);
	background-color: #c9161c;
}

.rk-site .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 12.5px;
	color: var(--rk-red);
}

.rk-site .wpcf7 form .wpcf7-response-output {
	margin: 4px 0 0;
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 14px;
}

.rk-site .wpcf7-spinner {
	margin: 0 0 0 12px;
}

/* ---- Tablet ---- */
@media (max-width: 1100px) {
	.rk-site .rk-cards--5 {
		grid-template-columns: repeat(3, 1fr);
	}

	.rk-site .rk-steps {
		grid-template-columns: 1fr 1fr;
	}

	.rk-site .rk-tiles ul {
		grid-template-columns: 1fr 1fr;
	}

	.rk-site .rk-trustblue .rk-logos {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ---- Mobile ---- */
@media (max-width: 800px) {
	.rk-site .rk-split,
	.rk-site .rk-trustblue,
	.rk-site .rk-contact {
		grid-template-columns: 1fr;
	}

	.rk-site .rk-split--sticky > :first-child {
		position: static;
	}

	.rk-site .rk-pagehero {
		min-height: 0;
		padding-top: 56px;
	}

	.rk-site .rk-pagehero__title .elementor-heading-title {
		max-width: none;
	}

	.rk-site .rk-rows li,
	.rk-site .rk-facts li {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.rk-site .rk-cols ul {
		grid-template-columns: 1fr;
	}

	.rk-site .rk-tiles ul {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.rk-site .rk-gallery,
	.rk-site .rk-gallery[data-count='6'] {
		grid-template-columns: 1fr 1fr;
	}

	.rk-site .rk-gallery[data-count] .rk-gallery__item,
	.rk-site .rk-gallery[data-count='6'] .rk-gallery__item:nth-child(n) {
		grid-column: span 1;
		aspect-ratio: 1;
	}

	.rk-site .rk-gallery[data-count] .rk-gallery__item:nth-child(1) {
		grid-column: 1 / -1;
		aspect-ratio: 4 / 3;
	}

	/* wysokość z desktopowego układu „bento” (stała, w px) rozciągała kafle razem z aspect-ratio - na telefonie wysokość wynika z proporcji */
	.rk-site .rk-gallery[data-count] .rk-gallery__item,
	.rk-site .rk-gallery[data-count='6'] .rk-gallery__item:nth-child(n) {
		height: auto;
		min-width: 0;
	}

	/* niepełny ostatni rząd (sam kafel po lewej) wypełnia całą szerokość */
	.rk-site .rk-gallery[data-count] .rk-gallery__item:nth-child(even):last-child {
		grid-column: 1 / -1;
		aspect-ratio: 4 / 3;
	}

	.rk-site .rk-ctaband {
		flex-direction: column;
		align-items: flex-start;
	}

	.rk-site .rk-cards--5 {
		grid-template-columns: 1fr 1fr;
		gap: 22px 12px;
	}

	.rk-site .rk-steps {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.rk-site .rk-trustblue .rk-logos {
		grid-template-columns: repeat(2, 1fr);
	}

	.rk-site .wpcf7-form {
		grid-template-columns: 1fr;
	}
}

/* Oferta: karty jako siatka także na mobile (bez slidera) */
@media (max-width: 900px) {
	.rk-site .rk-cards.rk-cards--5 {
		display: grid !important;
		overflow: visible;
		margin-right: 0;
		padding-right: 0;
		scroll-snap-type: none;
	}

	.rk-site .rk-cards--5 .rk-card {
		flex: none;
	}
}

/* Statystyki w jednym rzędzie (strona główna i Oferta) */
.rk-site .rk-stats {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: clamp(20px, calc(2.4 * var(--rk-vw)), 44px);
}

.rk-site .rk-stats > .rk-stat {
	flex: 0 0 auto;
	width: auto !important;
}

/* Zgoda RODO w formularzu */
.rk-site .rk-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--rk-muted);
	cursor: pointer;
}

.rk-site .rk-consent .wpcf7-form-control-wrap {
	flex: none;
	margin-top: 1px;
}

.rk-site .rk-consent .wpcf7-list-item label {
	display: block;
}

.rk-site .wpcf7-form br {
	display: none;
}

.rk-site .wpcf7-form .rk-field--full {
	grid-column: 1 / -1;
}

/* Przyciski-strzałki: etykieta tylko dla czytników ekranu */
.rk-site .rk-btn--arrow .elementor-button-text,
.rk-site .rk-btn--arrow-white .elementor-button-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Karty Oferty: mniejsza strzałka obok tytułu, bez zawijania */
.rk-site .rk-cards--5 .rk-card__row {
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 10px;
}

.rk-site .rk-cards--5 .rk-card__title {
	flex: 1 1 auto;
	min-width: 0;
}

.rk-site .rk-cards--5 .rk-btn--arrow .elementor-button {
	width: clamp(32px, calc(2.8 * var(--rk-vw)), 40px);
	height: clamp(32px, calc(2.8 * var(--rk-vw)), 40px);
	background-size: 14px;
}

/* ---- Lightbox galerii ---- */
.rk-site .rk-gallery__link {
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

.rk-site .rk-gallery__item.has-more::after {
	content: attr(data-more);
	position: absolute;
	right: 14px;
	bottom: 14px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.78);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	pointer-events: none;
}

.rk-lb {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10, 10, 10, 0.94);
	animation: rk-lb-in 0.2s ease;
}

.rk-lb[hidden] {
	display: none;
}

.rk-lb-open {
	overflow: hidden;
}

.rk-lb__stage {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin: 0;
	max-width: min(92vw, 1400px);
}

.rk-lb__stage img {
	display: block;
	max-width: 100%;
	max-height: 80vh;
	border-radius: 12px;
	object-fit: contain;
	transition: opacity 0.2s ease;
}

.rk-lb.is-loading .rk-lb__stage img {
	opacity: 0.25;
}

.rk-lb__stage figcaption {
	display: flex;
	gap: 16px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}

.rk-lb__count {
	font-weight: 700;
	color: #fff;
}

.rk-lb button {
	position: absolute;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease;
}

.rk-lb button:hover,
.rk-lb button:focus-visible {
	background: var(--rk-red);
}

.rk-lb__close {
	top: 18px;
	right: 18px;
}

.rk-lb__nav--prev {
	left: 18px;
}

.rk-lb__nav--next {
	right: 18px;
}

.rk-lb.is-single .rk-lb__nav {
	display: none;
}

@keyframes rk-lb-in {
	from {
		opacity: 0;
	}
}

@media (max-width: 767px) {
	.rk-lb__nav {
		top: auto;
		bottom: 18px;
	}

	.rk-lb__nav--prev {
		left: 18px;
	}

	.rk-lb__nav--next {
		right: 18px;
	}

	.rk-lb__stage img {
		max-height: 70vh;
	}
}

/* ---- Kontakt (uproszczony) i mapa ---- */
.rk-site .rk-map,
.rk-site .rk-map .elementor-widget-container,
.rk-site .rk-map .elementor-custom-embed {
	height: clamp(320px, calc(36 * var(--rk-vw)), 520px);
}

.rk-site .rk-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(0.2) contrast(1.02);
}

/* ---- O nas ---- */
.rk-site .rk-split--center {
	align-items: center;
}

.rk-site .rk-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: clamp(16px, calc(1.5 * var(--rk-vw)), 28px);
}

.rk-site .rk-photos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(10px, calc(1.2 * var(--rk-vw)), 20px);
}

.rk-site .rk-photos .rk-photo img {
	aspect-ratio: 3 / 4;
}

.rk-site .rk-photos .rk-photo + .rk-photo {
	margin-top: clamp(24px, calc(4 * var(--rk-vw)), 64px);
}

.rk-site .rk-section--blue .rk-copy p {
	color: rgba(255, 255, 255, 0.88);
}

.rk-site .rk-section--blue .rk-copy a {
	color: #fff;
}

@media (max-width: 767px) {
	.rk-site .rk-photos .rk-photo + .rk-photo {
		margin-top: 0;
	}
}

/* ---- Blog: filtr kategorii, kafle wpisów, paginacja ---- */
.rk-site .rk-blog {
	display: flex;
	flex-direction: column;
	gap: clamp(24px, calc(3 * var(--rk-vw)), 48px);
}

.rk-site .rk-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.rk-site .rk-chip {
	padding: 10px 20px;
	border-radius: 999px;
	background: var(--rk-pill);
	color: var(--rk-ink);
	font-size: clamp(13px, calc(0.95 * var(--rk-vw)), 16px);
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.rk-site .rk-chip:hover {
	background: #e4e3dd;
}

.rk-site .rk-chip.is-active {
	background: var(--rk-blue);
	color: #fff;
}

.rk-site .rk-posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(28px, calc(3 * var(--rk-vw)), 48px) clamp(14px, calc(1.25 * var(--rk-vw)), 24px);
}

.rk-site .rk-post {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rk-site .rk-post__media {
	position: relative;
	overflow: hidden;
	margin-bottom: 6px;
	border-radius: clamp(20px, calc(1.7 * var(--rk-vw)), 32px);
	background: #e9e9e9;
}

.rk-site .rk-post__media img {
	display: block;
	width: 100%;
	aspect-ratio: 594 / 422;
	object-fit: cover;
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.rk-site .rk-post:hover .rk-post__media img {
	transform: scale(1.05);
}

.rk-site .rk-post__tag {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 9px 18px;
	border-radius: 999px;
	background: rgba(60, 60, 60, 0.72);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rk-site .rk-post__date {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--rk-red);
}

.rk-site .rk-post__title {
	margin: 0;
	font-size: clamp(20px, calc(1.7 * var(--rk-vw)), 28px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.01em;
}

.rk-site .rk-post__title a {
	color: var(--rk-ink);
	text-decoration: none;
}

/* cały kafel klikalny */
.rk-site .rk-post__title a::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
}

.rk-site .rk-post__text {
	margin: 0;
	font-size: clamp(14px, calc(1 * var(--rk-vw)), 17px);
	line-height: 1.5;
	color: var(--rk-muted);
}

.rk-site .rk-post__more {
	margin-top: 4px;
	font-size: 14px;
	font-weight: 700;
	color: var(--rk-blue);
}

.rk-site .rk-post:hover .rk-post__more {
	text-decoration: underline;
}

.rk-site .rk-post:has(a:focus-visible) {
	outline: 3px solid var(--rk-blue);
	outline-offset: 6px;
	border-radius: 12px;
}

.rk-site .rk-pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.rk-site .rk-pager a,
.rk-site .rk-pager span {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--rk-pill);
	color: var(--rk-ink);
	font-weight: 700;
	text-decoration: none;
}

.rk-site .rk-pager a:hover {
	background: #e4e3dd;
}

.rk-site .rk-pager .is-current {
	background: var(--rk-blue);
	color: #fff;
}

.rk-site .rk-seo {
	max-width: 900px;
}

.rk-site .rk-seo .rk-h2 .elementor-heading-title {
	font-size: clamp(22px, calc(2.2 * var(--rk-vw)), 36px);
}

@media (max-width: 1024px) {
	.rk-site .rk-posts {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.rk-site .rk-posts {
		grid-template-columns: 1fr;
	}

	.rk-site .rk-chips {
		flex-wrap: nowrap;
		margin: 0 calc(-1 * var(--rk-gap));
		padding: 0 var(--rk-gap) 6px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.rk-site .rk-chip {
		flex: 0 0 auto;
	}
}

/* Szeroki akapit wstępu (np. Realizacje) */
.rk-site .rk-copy--wide {
	max-width: 960px;
}

.rk-site .rk-copy--wide p {
	font-size: clamp(16px, calc(1.3 * var(--rk-vw)), 22px);
	line-height: 1.55;
	color: var(--rk-ink);
}

.rk-site .rk-copy--wide a {
	color: var(--rk-blue);
}

/* Galeria: niepełny ostatni rząd wypełnia całą szerokość (desktop) */
@media (min-width: 901px) {
	.rk-site .rk-gallery[data-rest='2'] .rk-gallery__item:nth-last-of-type(-n + 2) {
		grid-column: span 6;
	}

	.rk-site .rk-gallery[data-rest='1'] .rk-gallery__item:last-of-type {
		grid-column: span 12;
		aspect-ratio: 16 / 7;
	}
}

/* =====================================================================
   Kontakt: dane w kartach po lewej, formularz na niebieskim panelu po prawej
   ===================================================================== */
.rk-site .rk-contact {
	display: grid;
	grid-template-columns: 1fr 1.08fr;
	gap: clamp(24px, calc(4 * var(--rk-vw)), 64px);
	align-items: start;
}

.rk-site .rk-contact__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(16px, calc(1.8 * var(--rk-vw)), 26px);
}

.rk-site .rk-contact__title .elementor-heading-title {
	font-size: clamp(36px, calc(4.4 * var(--rk-vw)), 64px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: 0.005em;
	color: var(--rk-red);
}

.rk-site .rk-contact__info .rk-copy p + p {
	margin-top: 0.8em;
}

.rk-site .rk-ccards,
.rk-site .rk-ccards ul {
	width: 100%;
}

.rk-site .rk-ccards ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rk-site .rk-ccard {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 20px 14px 14px;
	border-radius: 22px;
	background: #f4f4f2;
	color: var(--rk-ink);
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
}

.rk-site a.rk-ccard:hover {
	background: #ebebe7;
	transform: translateY(-2px);
}

.rk-site .rk-ccard__ico {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--rk-blue);
	color: #fff;
}

.rk-site .rk-ccard__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.rk-site .rk-ccard__body em {
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rk-muted);
}

.rk-site .rk-ccard__body strong {
	font-size: clamp(17px, calc(1.5 * var(--rk-vw)), 22px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.025em;
	overflow-wrap: anywhere;
}

.rk-site .rk-note p {
	font-size: 14px;
	color: var(--rk-muted);
}

/* panel formularza */
.rk-site .rk-contact__form {
	padding: clamp(24px, calc(3.2 * var(--rk-vw)), 48px);
	border-radius: clamp(24px, calc(2.6 * var(--rk-vw)), 40px);
	background: var(--rk-blue);
	color: #fff;
}

.rk-site .rk-contact__form .rk-form-title .elementor-heading-title {
	color: #fff;
}

.rk-site .rk-contact__form .wpcf7-form label {
	color: rgba(255, 255, 255, 0.92);
}

.rk-site .rk-contact__form .wpcf7-form :is(input, textarea):focus {
	border-color: #fff;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.28);
}

.rk-site .rk-contact__form .wpcf7-acceptance label,
.rk-site .rk-contact__form .wpcf7-acceptance label span {
	color: rgba(255, 255, 255, 0.82);
}

.rk-site .rk-contact__form .wpcf7-acceptance input {
	accent-color: #fff;
}

.rk-site .rk-contact__form .wpcf7-submit {
	background: var(--rk-red) var(--rk-arrow-white) right 12px center / 18px no-repeat;
	color: #fff;
}

.rk-site .rk-contact__form .wpcf7-submit:hover {
	background-color: #c9161c;
}

.rk-site .rk-contact__form .wpcf7-submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.rk-site .rk-contact__form .wpcf7-not-valid-tip {
	color: #ffd3d4;
}

.rk-site .rk-contact__form .wpcf7 form .wpcf7-response-output {
	border-color: rgba(255, 255, 255, 0.6);
	color: #fff;
}

/* mapa: wewnątrz siatki strony, z zaokrągleniem */
.rk-site .rk-map {
	width: calc(100% - 2 * var(--rk-gap)) !important;
	margin: 0 var(--rk-gap);
	overflow: hidden;
	border-radius: clamp(20px, calc(2.2 * var(--rk-vw)), 36px);
}

/* listy z ptaszkami (Zasady współpracy, Warunki i opłaty) */
.rk-site .rk-checks h3 {
	margin: 0 0 14px;
	font-size: clamp(18px, calc(1.5 * var(--rk-vw)), 24px);
	font-weight: 700;
	letter-spacing: -0.005em;
	color: var(--rk-ink);
}

.rk-site .rk-checks h3:not(:first-child) {
	margin-top: 28px;
}

.rk-site .rk-checks ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rk-site .rk-checks li {
	position: relative;
	padding-left: 34px;
	font-size: clamp(15px, calc(1.1 * var(--rk-vw)), 18px);
	line-height: 1.5;
	color: #333;
}

.rk-site .rk-checks li::before {
	content: '';
	position: absolute;
	top: 2px;
	left: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--rk-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* tekst SEO pod formularzem */
.rk-site .rk-seo .rk-h3 .elementor-heading-title {
	font-size: clamp(22px, calc(2.2 * var(--rk-vw)), 34px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.005em;
	color: var(--rk-blue);
}

.rk-site .rk-seo__cta {
	color: var(--rk-ink);
}

.rk-site .rk-seo .rk-copy a {
	color: var(--rk-blue);
}

@media (max-width: 800px) {
	.rk-site .rk-contact {
		grid-template-columns: 1fr;
	}

	.rk-site .rk-map {
		height: 320px;
	}

	.rk-site .rk-map .elementor-widget-container,
	.rk-site .rk-map .elementor-custom-embed {
		height: 320px;
	}
}

/* ---- Pole pliku: strefa przesyłania ---- */
.rk-site .wpcf7-form input[type='file'] {
	display: block;
	width: 100%;
	min-height: 96px;
	padding: 24px 24px 24px 84px;
	border: 1.5px dashed rgba(17, 17, 17, 0.28);
	border-radius: 20px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e4f9e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4m0 0L7.5 8.5M12 4l4.5 4.5'/%3E%3Cpath d='M4 15v3a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-3'/%3E%3C/svg%3E") 24px center / 36px no-repeat;
	font: 500 15px/1.3 'Inter Tight', system-ui, sans-serif;
	text-align: left;
	color: var(--rk-muted);
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.rk-site .wpcf7-form input[type='file']:hover,
.rk-site .wpcf7-form input[type='file']:focus-visible {
	border-color: var(--rk-blue);
	outline: 0;
	box-shadow: 0 0 0 4px rgba(30, 79, 158, 0.12);
}

.rk-site .wpcf7-form input[type='file']::file-selector-button {
	margin-right: 16px;
	padding: 11px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--rk-blue);
	font: 600 14px 'Inter Tight', system-ui, sans-serif;
	letter-spacing: -0.01em;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease;
}

.rk-site .wpcf7-form input[type='file']:hover::file-selector-button {
	background: #173f80;
}

.rk-site .rk-file__hint {
	display: block;
	margin-top: 8px;
	font-size: 12.5px;
	font-weight: 400;
	color: var(--rk-muted);
}

/* na niebieskim panelu kontaktu: półprzezroczysta strefa, biały przycisk */
.rk-site .rk-contact__form .wpcf7-form input[type='file'] {
	border-color: rgba(255, 255, 255, 0.55);
	background-color: rgba(255, 255, 255, 0.08);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4m0 0L7.5 8.5M12 4l4.5 4.5'/%3E%3Cpath d='M4 15v3a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-3'/%3E%3C/svg%3E");
	color: rgba(255, 255, 255, 0.9);
}

.rk-site .rk-contact__form .wpcf7-form input[type='file']:hover,
.rk-site .rk-contact__form .wpcf7-form input[type='file']:focus-visible {
	border-color: #fff;
	background-color: rgba(255, 255, 255, 0.14);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.rk-site .rk-contact__form .wpcf7-form input[type='file']::file-selector-button {
	background: #fff;
	color: var(--rk-blue);
}

.rk-site .rk-contact__form .wpcf7-form input[type='file']:hover::file-selector-button {
	background: #eef3fb;
}

.rk-site .rk-contact__form .rk-file__hint {
	color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 800px) {
	.rk-site .wpcf7-form input[type='file'] {
		padding: 76px 18px 20px;
		background-position: 18px 20px;
		background-size: 34px;
	}
}

/* ======================================================================
   Formularz kontaktowy - wersja interaktywna (stany pól, pasek postępu, strefa pliku)
   ====================================================================== */
.rk-site .wpcf7-form .rk-progress {
	display: flex;
	flex-direction: column;
	gap: 8px;
	grid-column: 1 / -1;
	margin-bottom: 4px;
}

.rk-site .rk-progress__track {
	display: block;
	height: 6px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
}

.rk-site .rk-progress__bar {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.4s ease;
}

.rk-site .rk-progress.is-done .rk-progress__bar {
	background: #7ee2a8;
}

.rk-site .rk-progress__txt {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.005em;
	color: rgba(255, 255, 255, 0.78);
}

.rk-site .rk-progress.is-done .rk-progress__txt {
	color: #b9f3d0;
}

/* pola: wejście kaskadowe, ikony, stany */
@keyframes rkFieldIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
	.rk-site .wpcf7-form[data-rk-form] .rk-field {
		animation: rkFieldIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
		animation-delay: calc(var(--rk-i, 0) * 70ms + 120ms);
	}
}

.rk-site .wpcf7-form[data-rk-form] .rk-field > p {
	margin: 0;
}

.rk-site .wpcf7-form[data-rk-form] label {
	transition: color 0.25s ease;
}

.rk-site .rk-contact__form .wpcf7-form .rk-field.is-focus > p > label:not(.rk-consent) {
	color: #fff;
}

.rk-site .wpcf7-form .rk-field[data-ico] .wpcf7-form-control-wrap {
	position: relative;
}

.rk-site .wpcf7-form .rk-field[data-ico] .wpcf7-form-control-wrap::before,
.rk-site .wpcf7-form .rk-field.is-valid .wpcf7-form-control-wrap::after {
	content: '';
	position: absolute;
	z-index: 1;
	top: 14px;
	width: 22px;
	height: 22px;
	background-color: #1e4f9e;
	opacity: 0.45;
	pointer-events: none;
	-webkit-mask: var(--rk-ico) center / contain no-repeat;
	mask: var(--rk-ico) center / contain no-repeat;
	transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.rk-site .wpcf7-form .rk-field[data-ico] .wpcf7-form-control-wrap::before {
	left: 16px;
}

.rk-site .wpcf7-form .rk-field[data-ico].is-focus .wpcf7-form-control-wrap::before,
.rk-site .wpcf7-form .rk-field[data-ico].is-filled .wpcf7-form-control-wrap::before {
	opacity: 1;
}

.rk-site .wpcf7-form .rk-field[data-ico] :is(input, textarea) {
	padding-left: 50px;
}

.rk-site .wpcf7-form .rk-field.is-valid:not([data-ico="chat"]) :is(input) {
	padding-right: 46px;
}

.rk-site .wpcf7-form .rk-field.is-valid:not([data-ico="chat"]) .wpcf7-form-control-wrap::after {
	right: 14px;
	background-color: #1a9d5b;
	opacity: 1;
	--rk-ico: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	animation: rkPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes rkPop {
	from { transform: scale(0.3); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

.rk-site .wpcf7-form .rk-field[data-ico="user"] .wpcf7-form-control-wrap { --rk-ico: 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%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.rk-site .wpcf7-form .rk-field[data-ico="mail"] .wpcf7-form-control-wrap { --rk-ico: 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%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 7l8.5 6 8.5-6'/%3E%3C/svg%3E"); }
.rk-site .wpcf7-form .rk-field[data-ico="phone"] .wpcf7-form-control-wrap { --rk-ico: 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='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.2c1.1.4 2.3.6 3.6.6a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.3.2 2.5.6 3.6a1 1 0 0 1-.2 1z'/%3E%3C/svg%3E"); }
.rk-site .wpcf7-form .rk-field[data-ico="tag"] .wpcf7-form-control-wrap { --rk-ico: 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='M3 12V4h8l10 10-8 8z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1.2'/%3E%3C/svg%3E"); }
.rk-site .wpcf7-form .rk-field[data-ico="chat"] .wpcf7-form-control-wrap { --rk-ico: 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='M21 12a8 8 0 0 1-11.7 7.1L4 20.5l1.4-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E"); }

.rk-site .rk-contact__form .wpcf7-form :is(input[type='text'], input[type='email'], input[type='tel'], textarea) {
	transition: box-shadow 0.35s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.rk-site .rk-contact__form .wpcf7-form :is(input[type='text'], input[type='email'], input[type='tel'], textarea):hover {
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}

.rk-site .rk-contact__form .wpcf7-form :is(input, textarea):focus {
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.34), 0 10px 26px rgba(8, 28, 66, 0.28);
}

.rk-site .wpcf7-form [aria-invalid='true']:is(input, textarea) {
	border-color: #ff8a8d;
	box-shadow: 0 0 0 3px rgba(255, 138, 141, 0.3);
}

/* zgoda jako karta z własnym znacznikiem */
.rk-site .wpcf7-form .rk-field--full:has(.rk-consent) {
	padding: 14px 16px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.08);
	transition: background-color 0.3s ease;
}

.rk-site .wpcf7-form .rk-field--full:has(.rk-consent):hover,
.rk-site .wpcf7-form .rk-field--full.is-checked:has(.rk-consent) {
	background: rgba(255, 255, 255, 0.14);
}

.rk-site .wpcf7-acceptance input[type='checkbox'] {
	appearance: none;
	-webkit-appearance: none;
	display: grid;
	place-content: center;
	width: 22px;
	height: 22px;
	margin: 0;
	border: 2px solid rgba(255, 255, 255, 0.7);
	border-radius: 7px;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.rk-site .wpcf7-acceptance input[type='checkbox']::after {
	content: '';
	width: 11px;
	height: 6px;
	margin-top: -2px;
	border-left: 2.5px solid var(--rk-blue);
	border-bottom: 2.5px solid var(--rk-blue);
	transform: rotate(-45deg) scale(0);
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rk-site .wpcf7-acceptance input[type='checkbox']:checked {
	border-color: #fff;
	background: #fff;
}

.rk-site .wpcf7-acceptance input[type='checkbox']:checked::after {
	transform: rotate(-45deg) scale(1);
}

.rk-site .wpcf7-acceptance input[type='checkbox']:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.5);
	outline-offset: 3px;
}

/* strefa pliku (JS owija natywne pole; samo pole przykrywa strefę, więc klik i przeciąganie działają natywnie) */
.rk-site .rk-drop {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 8px;
	padding: 18px 20px;
	border: 2px dashed rgba(255, 255, 255, 0.5);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
	transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.rk-site .rk-drop:hover,
.rk-site .rk-drop.is-over {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.15);
}

.rk-site .rk-drop.is-over {
	box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.22);
}

.rk-site .rk-drop.is-error {
	border-color: #ff8a8d;
	background: rgba(255, 138, 141, 0.14);
}

.rk-site .rk-drop.has-file {
	border-style: solid;
	border-color: rgba(255, 255, 255, 0.9);
	background: rgba(255, 255, 255, 0.14);
}

.rk-site .rk-drop .wpcf7-form-control-wrap {
	position: absolute;
	inset: 0;
	margin: 0;
	z-index: 2;
}

.rk-site .rk-drop .wpcf7-form input[type='file'],
.rk-site .rk-contact__form .rk-drop input[type='file'],
.rk-site .rk-drop input[type='file'] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	opacity: 0;
	cursor: pointer;
}

.rk-site .rk-drop .wpcf7-not-valid-tip {
	position: absolute;
	left: 0;
	top: calc(100% + 6px);
}

.rk-site .rk-drop.has-file .wpcf7-form-control-wrap {
	pointer-events: none;
}

.rk-site .rk-drop__ico {
	display: grid;
	flex: none;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fff;
	color: var(--rk-blue);
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.rk-site .rk-drop:hover .rk-drop__ico,
.rk-site .rk-drop.is-over .rk-drop__ico {
	transform: translateY(-3px);
}

.rk-site .rk-drop__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.82);
}

.rk-site .rk-drop__text strong {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.005em;
	color: #fff;
}

.rk-site .rk-drop__text u {
	text-underline-offset: 3px;
}

.rk-site .rk-drop.has-file .rk-drop__ico,
.rk-site .rk-drop.has-file .rk-drop__text {
	display: none;
}

.rk-site .rk-drop__file {
	position: relative;
	z-index: 3;
	display: flex;
	flex: 1;
	align-items: center;
	gap: 14px;
	min-width: 0;
	pointer-events: auto;
}

.rk-site .rk-drop__file[hidden] {
	display: none;
}

.rk-site .rk-drop__thumb {
	display: grid;
	flex: none;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: #fff center / cover no-repeat;
	font-size: 13px;
	font-weight: 800;
	color: var(--rk-red);
}

.rk-site .rk-drop__meta {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.rk-site .rk-drop__name {
	overflow: hidden;
	font-size: 15px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #fff;
}

.rk-site .rk-drop__size {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
}

.rk-site .rk-drop__remove {
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	font-size: 22px;
	line-height: 1;
	color: #fff;
	cursor: pointer;
	pointer-events: auto;
	transition: background-color 0.2s ease, transform 0.3s ease;
}

.rk-site .rk-drop__remove:hover {
	background: var(--rk-red);
	transform: rotate(90deg);
}

.rk-site .rk-file__hint.is-error {
	color: #ffc9ca;
	font-weight: 600;
}

/* wysyłka: stan ładowania i komunikaty */
.rk-site .wpcf7-form.submitting .wpcf7-submit {
	opacity: 0.75;
	cursor: progress;
	pointer-events: none;
}

.rk-site .wpcf7-form .wpcf7-spinner {
	background-color: rgba(255, 255, 255, 0.5);
}

.rk-site .wpcf7-form.sent .wpcf7-response-output {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	border: 0;
	border-radius: 16px;
	background: #fff;
	font-size: 15px;
	font-weight: 600;
	color: #12603a;
	animation: rkFieldIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-site .wpcf7-form.sent .wpcf7-response-output::before {
	content: '';
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #1a9d5b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.2 4.2L18.5 8'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.rk-site .wpcf7-form .wpcf7-submit {
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, box-shadow 0.35s ease;
}

.rk-site .rk-contact__form .wpcf7-submit:not(:disabled):hover {
	box-shadow: 0 12px 28px rgba(8, 28, 66, 0.35);
}

@media (max-width: 800px) {
	.rk-site .rk-drop {
		padding: 14px;
	}

	.rk-site .rk-drop__ico {
		width: 44px;
		height: 44px;
	}
}

/* zgoda: układ checkbox + tekst obok siebie (label.rk-consent przegrywał ze ogólną regułą label) */
.rk-site .wpcf7-form label.rk-consent {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
}

.rk-site .wpcf7-form label.rk-consent > .wpcf7-form-control-wrap {
	flex: none;
	margin-top: 0;
}

.rk-site .wpcf7-form label.rk-consent > span:last-child {
	font-weight: 400;
}

.rk-site .wpcf7-form .rk-field.is-filled .wpcf7-not-valid-tip {
	display: none;
}

/* poprawki: bez ikony uploadu, bez ramki dowodu społecznego, pasek postępu usunięty */
.rk-site .rk-drop__ico { display: none; }
