/* ==========================================================================
   Landing "Dla kontraktorow" (page-dla-kontraktorow.php)

   Arkusz ladowany wylacznie przez szablon landingu. Wszystko pod klasa .lp,
   wiec reguly nie wyciekaja na pozostale strony. Naglowki wersalikami i w cienkiej
   wadze - tak jak w projekcie - ale tym samym krojem co reszta serwisu.
   ========================================================================== */

.lp {
	--lp-text: color-mix( in srgb, var( --navy ) 70%, var( --text ) );
	--lp-line: color-mix( in srgb, var( --navy ) 14%, var( --white ) );
	--lp-line-inverse: rgba( 255, 255, 255, 0.35 );
}

.lp .section {
	padding-block: clamp( 2.75rem, 5vw, 4.5rem );
}

.lp .lp-hero {
	padding-block: clamp( 3rem, 6vw, 5.25rem );
}

.lp :is( h1, h2 ) {
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0;
}

.lp h1 {
	max-width: 22em;
	margin-bottom: 1.5rem;
	font-size: clamp( 1.875rem, 3.3vw, 3rem );
	line-height: 1.12;
}

.lp .section h2 {
	margin-bottom: 1.25rem;
	font-size: clamp( 1.625rem, 2.4vw, 2.125rem );
	line-height: 1.15;
}

.lp h3 {
	font-size: var( --font-size-h4 );
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	margin-bottom: 1rem;
}

.lp :is( p, li ) {
	color: var( --lp-text );
}

.lp .section--navy :is( p, li ) {
	color: rgba( 255, 255, 255, 0.9 );
}

.lp .lp-eyebrow {
	margin-bottom: 1.25rem;
	font-family: var( --font-heading );
	font-size: var( --font-size-caption );
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var( --navy );
}

.lp-lead {
	max-width: 40rem;
	font-size: 1.125rem;
}

.lp-lead p {
	margin-bottom: 0.75rem;
}

.lp-small {
	font-size: 0.9375rem;
}

/* Przyciski landingu: wieksze pole i pogrubiony napis, jak w projekcie.
   Wariant --ghost to obrys w kolorze tekstu pasa. */
.lp .button {
	padding: 1rem 1.75rem;
	font-family: var( --font-heading );
	font-weight: 700;
	letter-spacing: 0.08em;
}

.lp .button--ghost {
	background-color: transparent;
	color: var( --navy );
}

.lp .button--ghost:hover,
.lp .button--ghost:focus {
	background-color: var( --navy );
	color: var( --white );
}

.lp .section--navy .button--ghost {
	background-color: transparent;
	border-color: var( --white );
	color: var( --white );
}

.lp .section--navy .button--ghost:hover,
.lp .section--navy .button--ghost:focus {
	background-color: var( --white );
	color: var( --navy );
}

.lp .buttons {
	margin-top: 1.75rem;
}

/* Listy z kropka w kolorze pasa. */
.lp-list {
	margin-bottom: 0;
	padding-left: 1.15rem;
}

.lp-list li {
	margin-bottom: 0.3rem;
}

.lp-list li::marker {
	color: var( --navy );
}

.section--navy .lp-list li::marker {
	color: var( --white );
}

.lp-split .lp-list {
	margin-bottom: var( --space-element );
}

.lp-list--columns {
	columns: 2;
	column-gap: var( --space-columns );
}

.lp-list--columns li {
	break-inside: avoid;
}

/* Pas granatowy w dwoch kolumnach z pionowa linia posrodku. */
.lp-split {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
}

.lp-split__main {
	padding-right: clamp( 1.5rem, 4vw, 3.5rem );
}

.lp-split__side {
	padding-left: clamp( 1.5rem, 4vw, 3.5rem );
	border-left: 1px solid var( --lp-line-inverse );
}

.lp-split :is( .lp-split__main, .lp-split__side ) > :last-child {
	margin-bottom: 0;
}

.lp-split .buttons {
	margin-top: 1.5rem;
}

/* Cennik: jasny pas i trzy karty. */
.lp-muted {
	background-color: var( --bg-muted );
}

.lp-plans {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 1rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.lp-plan {
	display: flex;
	flex-direction: column;
	padding: 1.5rem 1.5rem 1.375rem;
	background-color: var( --white );
	border: 1px solid var( --lp-line );
}

.lp-plan p {
	margin: 0;
}

.lp .lp-plan__label {
	margin-bottom: 0.75rem;
	font-family: var( --font-heading );
	font-size: 0.6875rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.lp .lp-plan__title {
	margin-bottom: 0.75rem;
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.lp .lp-plan__desc {
	flex-grow: 1;
	margin-bottom: 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.lp .lp-plan__price {
	margin-bottom: 0.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var( --lp-line );
	font-family: var( --font-heading );
	font-size: 1.0625rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var( --navy );
}

.lp .lp-plan__time {
	font-size: var( --font-size-small );
	color: var( --navy );
}

/* Jak to dziala: cztery kroki z kreska nad numerem. */
.lp-steps {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 1.5rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

.lp-step {
	padding-top: 1.25rem;
	border-top: 1px solid var( --lp-line );
}

.lp-step__num {
	display: block;
	margin-bottom: 0.75rem;
	font-family: var( --font-heading );
	font-size: 1.375rem;
	line-height: 1;
	color: var( --navy );
}

.lp-step__label {
	display: block;
	font-family: var( --font-heading );
	font-size: var( --font-size-small );
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var( --navy );
}

/* FAQ landingu: ta sama harmonijka co na /faqs/, lzejszy krok pytania. */
.lp-faq {
	margin-top: 1.5rem;
}

.lp .faq__question {
	font-family: var( --font-body );
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0;
}

.lp .faq__answer p {
	max-width: var( --container-reading-width );
}

/* Wezwanie do dzialania na koncu strony: wszystko na srodku. */
.lp-cta {
	text-align: center;
}

.lp .lp-cta h2 {
	margin-bottom: 0.75rem;
}

.lp-cta .buttons {
	justify-content: center;
}

/* Dlaczego ja: tytul, tekst i karta z wywiadem, rozdzielone pionowymi liniami. */
.lp-why {
	display: grid;
	grid-template-columns: minmax( 0, 0.95fr ) minmax( 0, 1.05fr ) minmax( 0, 1.1fr );
	align-items: center;
}

.lp-why__title,
.lp-why__text {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: 1.5rem;
}

.lp-why__title {
	justify-content: flex-start;
	padding-top: 3.5rem;
	padding-right: clamp( 1.5rem, 4vw, 3.5rem );
}

.lp .lp-why__title h2 {
	margin: 0;
	white-space: nowrap;
	font-size: clamp( 1.75rem, 2.8vw, 2.875rem );
	line-height: 1.05;
}

.lp-why__text {
	padding-inline: clamp( 1.5rem, 3.5vw, 3.5rem );
	border-left: 1px solid var( --lp-line-inverse );
	border-right: 1px solid var( --lp-line-inverse );
}

.lp .lp-why__text p {
	font-size: 1.0625rem;
	letter-spacing: 0.01em;
	line-height: 1.8;
}

.lp-why__text .buttons {
	margin-top: 1.75rem;
	margin-bottom: 0;
}

.lp-why__text .button {
	padding: 1.1rem 3.5rem;
}

.lp-why__media {
	padding-left: clamp( 1.5rem, 3.5vw, 3.5rem );
}

/* Karta prasowa: bialy prostokat na granacie, jak wycinek przypiety do tablicy. */
.lp-press {
	padding: 1rem 1rem 1.375rem;
	background-color: var( --white );
	border-radius: 6px;
	box-shadow: 0 24px 48px -20px rgba( 8, 10, 48, 0.55 );
}

.lp-press__image {
	display: block;
	overflow: hidden;
}

.lp-press__image img {
	width: 100%;
	transition: transform 0.3s ease;
}

.lp-press__image:hover img,
.lp-press__image:focus-visible img {
	transform: scale( 1.02 );
}

.lp .section--navy .lp-press__label {
	margin: 0.875rem 0 0.375rem;
	font-family: var( --font-heading );
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var( --navy );
}

.lp .section--navy .lp-press__title {
	margin: 0 0 1rem;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp( 1.0625rem, 1.35vw, 1.25rem );
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.3;
	text-transform: none;
	color: var( --navy );
}

.lp-press .buttons {
	margin: 0;
}

.lp .section--navy .lp-press .button--ghost {
	padding: 0.8rem 2.75rem;
	border-color: var( --navy );
	color: var( --navy );
}

.lp .section--navy .lp-press .button--ghost:hover,
.lp .section--navy .lp-press .button--ghost:focus {
	background-color: var( --navy );
	color: var( --white );
}

.lp-press :focus-visible {
	outline-color: var( --navy );
}

@media ( max-width: 1080px ) and ( min-width: 782px ) {
	.lp-why {
		grid-template-columns: minmax( 0, 0.8fr ) minmax( 0, 1.2fr );
		row-gap: 2.5rem;
	}

	.lp-why__text {
		border-right: 0;
		padding-right: 0;
	}

	.lp-why__media {
		grid-column: 1 / -1;
		max-width: 36rem;
		padding-left: 0;
	}
}

@media ( max-width: 781px ) {
	.lp-why {
		grid-template-columns: minmax( 0, 1fr );
	}

	.lp-why__title {
		padding: 0 0 1.25rem;
	}

	.lp-why__text {
		padding: 1.5rem 0;
		border: 0;
		border-top: 1px solid var( --lp-line-inverse );
	}

	.lp-why__text .button {
		padding-inline: 1.75rem;
	}

	.lp-why__media {
		padding: 1rem 0 0;
	}

	.lp .section--navy .lp-press .button--ghost {
		padding-inline: 1.75rem;
	}

	.lp h1 br,
	.lp h2 br {
		display: none;
	}

	.lp-split,
	.lp-plans {
		grid-template-columns: minmax( 0, 1fr );
	}

	.lp-split__main {
		padding-right: 0;
	}

	.lp-split__side {
		margin-top: 1.5rem;
		padding-top: 1.5rem;
		padding-left: 0;
		border-left: 0;
		border-top: 1px solid var( --lp-line-inverse );
	}

	.lp-list--columns {
		columns: 1;
	}

	.lp-steps {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.lp .button {
		flex: 1 1 100%;
		text-align: center;
	}
}
