/**
 * Legal Services hub standards section.
 */

.pk-services-standards,
.pk-services-standards * {
	box-sizing: border-box;
}

.pk-services-standards {
	--pkst-navy: #102f4e;
	--pkst-navy-deep: #09243d;
	--pkst-red: #990000;
	--pkst-ink: #172230;
	--pkst-muted: #5b6875;
	--pkst-line: #dce2e8;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: clamp(72px, 7vw, 112px) 24px;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(153, 0, 0, .035) 0, rgba(153, 0, 0, 0) 35%),
		#fff;
	color: var(--pkst-ink);
}

.pk-services-standards__container {
	display: grid;
	width: min(1224px, 100%);
	margin: 0 auto;
	grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
	gap: clamp(46px, 7vw, 92px);
	align-items: start;
}

.pk-services-standards__copy {
	padding-top: 8px;
}

.pk-services-standards__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	color: var(--pkst-red);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .16em;
	line-height: 1.5;
	text-transform: uppercase;
}

.pk-services-standards__eyebrow span {
	display: inline-block;
	width: 34px;
	height: 2px;
	background: var(--pkst-red);
}

.pk-services-standards h2,
.pk-services-standards h3,
.pk-services-standards p {
	font-family: inherit;
}

.pk-services-standards h2 {
	margin: 0;
	color: var(--pkst-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(39px, 4.4vw, 62px);
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1.07;
}

.pk-services-standards__intro {
	max-width: 520px;
	margin: 24px 0 30px;
	color: var(--pkst-muted);
	font-size: 17px;
	line-height: 1.76;
}

.pk-services-standards__button {
	display: inline-flex;
	min-height: 50px;
	padding: 14px 21px;
	align-items: center;
	justify-content: center;
	gap: 24px;
	border-radius: 5px;
	background: var(--pkst-red);
	box-shadow: 0 12px 28px rgba(153, 0, 0, .17);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: background .2s ease, transform .2s ease;
}

.pk-services-standards__button:hover,
.pk-services-standards__button:focus {
	transform: translateY(-2px);
	background: #780000;
	color: #fff;
}

.pk-services-standards__button:focus-visible {
	outline: 3px solid rgba(153, 0, 0, .25);
	outline-offset: 5px;
}

.pk-services-standards__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.pk-services-standard-card {
	min-height: 250px;
	padding: 28px;
	position: relative;
	border: 1px solid var(--pkst-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 15px 38px rgba(16, 47, 78, .06);
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.pk-services-standard-card:hover {
	transform: translateY(-3px);
	border-color: rgba(153, 0, 0, .28);
	box-shadow: 0 20px 45px rgba(16, 47, 78, .1);
}

.pk-services-standard-card__number {
	display: grid;
	width: 46px;
	height: 46px;
	margin-bottom: 26px;
	place-items: center;
	border: 1px solid #ecd8d8;
	border-radius: 50%;
	background: #faeeee;
	color: var(--pkst-red);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	font-weight: 700;
}

.pk-services-standard-card h3 {
	margin: 0 0 12px;
	color: var(--pkst-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(23px, 2vw, 28px);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.18;
}

.pk-services-standard-card p {
	margin: 0;
	color: var(--pkst-muted);
	font-size: 14px;
	line-height: 1.7;
}

.pk-services-standards__note {
	display: flex;
	align-items: start;
	gap: 11px;
	margin: 20px 0 0;
	padding: 18px 20px;
	border-left: 3px solid var(--pkst-red);
	background: #f7f5f2;
	color: var(--pkst-muted);
	font-size: 12px;
	line-height: 1.65;
}

.pk-services-standards__note > span {
	display: grid;
	width: 21px;
	height: 21px;
	flex: 0 0 21px;
	place-items: center;
	border: 1px solid #b7c1ca;
	border-radius: 50%;
	color: var(--pkst-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 12px;
	font-weight: 700;
}

@media (max-width: 980px) {
	.pk-services-standards__container {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.pk-services-standards__copy {
		max-width: 760px;
	}
}

@media (max-width: 660px) {
	.pk-services-standards {
		padding: 60px 20px;
	}

	.pk-services-standards h2 {
		font-size: clamp(36px, 11vw, 48px);
	}

	.pk-services-standards__grid {
		grid-template-columns: 1fr;
	}

	.pk-services-standard-card {
		min-height: 0;
		padding: 25px 23px;
	}

	.pk-services-standards__button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pk-services-standard-card,
	.pk-services-standards__button {
		transition: none;
	}
}
