/* Blok: Hero – bezpłatna konsultacja (ks-consultation-hero). */
.ks-consultation-hero {
	max-width: 1450px;
	margin: clamp(24px, 3.5vw, 48px) auto clamp(72px, 8vw, 118px);
	color: #fff;
}

.ks-consultation-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(208px, 240px);
	gap: clamp(48px, 6vw, 96px);
	align-items: center;
}

.ks-consultation-hero--without-video .ks-consultation-hero__inner {
	grid-template-columns: 1fr;
}

.ks-consultation-hero--without-video .ks-consultation-hero__copy {
	grid-column: 1;
}

.ks-consultation-hero h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(40px, 4.8vw, 70px);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 0.98;
	text-wrap: balance;
}

.ks-consultation-hero__copy {
	grid-column: 1;
	grid-row: 1;
}

.ks-consultation-hero__copy p {
	margin: clamp(28px, 3vw, 40px) 0 0;
	color: #fff;
	font-size: clamp(18px, 1.55vw, 21px);
	font-weight: 400;
	line-height: 1.55;
}

.ks-consultation-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: clamp(28px, 3vw, 40px);
}

.ks-consultation-hero__actions button {
	font-family: inherit;
	cursor: pointer;
}

.ks-consultation-hero__cta-primary {
	padding: 0;
	border: 0;
	background: transparent;
}

.ks-consultation-hero__cta-primary .cta-name {
	height: 42px;
	padding-inline: 21px;
	font-size: 13px;
	letter-spacing: 0.01em;
}

.ks-consultation-hero__cta-primary .cta-circle {
	width: 42px;
	height: 42px;
	flex-basis: 42px;
}

.ks-consultation-hero__cta-primary .cta-circle img {
	max-width: 15px;
	max-height: 15px;
}

.ks-consultation-hero__cta-primary img.shape {
	width: 13px;
}

.ks-consultation-hero__cta-secondary {
	height: 42px;
	padding: 0 21px;
	border: 1px solid #2a2a39;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.ks-consultation-hero__media {
	grid-column: 2;
	grid-row: 1;
	width: 100%;
	padding: 8px;
	justify-self: end;
	border: 1px solid #2a2a39;
	border-radius: 44px;
}

.ks-consultation-hero .video-tile-wrapper {
	width: 100%;
	border-radius: 36px;
}

.ks-consultation-hero .video-tile-wrapper .video-tile,
.ks-consultation-hero .video-tile-wrapper .video-tile-poster {
	border-radius: 36px;
}

.ks-consultation-hero__video-pulse {
	position: absolute;
	z-index: 4;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(7, 4, 22, 0.18);
	pointer-events: none;
	transition: opacity 220ms ease;
}

.ks-consultation-hero__video-pulse img {
	display: block;
	width: 60px;
	height: 60px;
	animation: ks-consultation-hero-pulse 2s infinite;
	border-radius: 50%;
}

.ks-consultation-hero .video-tile-wrapper.is-playing .ks-consultation-hero__video-pulse {
	opacity: 0;
}

@keyframes ks-consultation-hero-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
	}

	100% {
		box-shadow: 0 0 0 30px rgba(255, 255, 255, 0);
	}
}

@media screen and (max-width: 1050px) {
	.ks-consultation-hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(200px, 240px);
		gap: 46px;
	}

	.ks-consultation-hero h1 {
		font-size: clamp(36px, 5.2vw, 54px);
	}
}

@media screen and (max-width: 760px) {
	.ks-consultation-hero {
		margin: 24px auto 72px;
	}

	.ks-consultation-hero__inner {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.ks-consultation-hero__copy,
	.ks-consultation-hero__media {
		grid-column: auto;
		grid-row: auto;
	}

	.ks-consultation-hero h1 {
		font-size: clamp(34px, 10.5vw, 47px);
		line-height: 1.02;
	}

	.ks-consultation-hero__copy {
		text-align: center;
	}

	.ks-consultation-hero__copy p {
		margin-top: 25px;
		font-size: 16px;
		line-height: 1.55;
	}

	.ks-consultation-hero__actions {
		margin-top: 28px;
	}

	.ks-consultation-hero__media {
		width: min(100%, 256px);
		justify-self: center;
	}

	.ks-consultation-hero__actions {
		align-items: center;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ks-consultation-hero__video-pulse img {
		animation: none;
	}
}

@media screen and (max-width: 420px) {
	.ks-consultation-hero h1 {
		font-size: 32px;
	}

	.ks-consultation-hero__media {
		width: min(100%, 232px);
	}
}
