/*
Секция преимуществ юристов.
Файл новой структуры: sections-modules/lawyers-benefits/lawyers-benefits.css
*/

.section-lawyers-benefits,
.section-lawyers-benefits * {
	box-sizing: border-box;
}

.section-lawyers-benefits {
	position: relative;
	overflow: hidden;
	padding: clamp(70px, 6vw, 104px) 20px;
	color: #151b2a;
	background:
		radial-gradient(circle at 50% 0%, rgba(11, 150, 198, 0.06) 0, transparent 36%),
		#ffffff;
	content-visibility: auto;
	contain-intrinsic-size: 820px;
}

.section-lawyers-benefits__inner {
	width: min(100%, 1340px);
	margin: 0 auto;
}

.section-lawyers-benefits__title {
	max-width: 1040px;
	margin: 0 auto clamp(28px, 3vw, 42px);
	color: #071f63;
	font-size: clamp(34px, 3vw, 52px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.03em;
	text-align: center;
}

.section-lawyers-benefits__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 1.8vw, 26px);
}

.section-lawyers-benefits__card {
	position: relative;
	min-height: 360px;
	padding: clamp(24px, 2vw, 32px);
	border: 1px solid rgba(11, 150, 198, 0.08);
	border-radius: 14px;
	background: #ffffff;
	box-shadow:
		0 18px 44px rgba(7, 31, 99, 0.08),
		0 2px 8px rgba(7, 31, 99, 0.04);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.section-lawyers-benefits__card:hover {
	border-color: rgba(11, 150, 198, 0.18);
	box-shadow:
		0 22px 54px rgba(7, 31, 99, 0.11),
		0 3px 10px rgba(7, 31, 99, 0.05);
	transform: translateY(-2px);
}

.section-lawyers-benefits__card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 24px;
}

.section-lawyers-benefits__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	border-radius: 50%;
	background: linear-gradient(135deg, #0b96c6 0%, #086ddf 100%);
	color: #ffffff;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 12px 24px rgba(11, 150, 198, 0.22);
}

.section-lawyers-benefits__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	flex: 0 0 58px;
}

.section-lawyers-benefits__icon img {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.section-lawyers-benefits__card-title {
	max-width: 310px;
	margin: 0 0 18px;
	color: #151b2a;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: -0.015em;
}

.section-lawyers-benefits__card-text {
	margin: 0;
	color: #151b2a;
	font-size: clamp(15px, 1vw, 17px);
	line-height: 1.62;
}

@media (max-width: 1180px) {
	.section-lawyers-benefits {
		contain-intrinsic-size: 1120px;
	}

	.section-lawyers-benefits__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.section-lawyers-benefits__card {
		min-height: 330px;
	}

	.section-lawyers-benefits__card-text {
		font-size: 15.5px;
		line-height: 1.58;
	}
}

@media (max-width: 768px) {
	.section-lawyers-benefits {
		padding: 56px 16px;
		contain-intrinsic-size: 1880px;
	}

	.section-lawyers-benefits__title {
		margin-bottom: 28px;
		font-size: clamp(30px, 8.2vw, 42px);
		text-align: left;
	}

	.section-lawyers-benefits__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.section-lawyers-benefits__card {
		min-height: 0;
		padding: 22px;
		border-radius: 12px;
	}

	.section-lawyers-benefits__card-top {
		margin-bottom: 20px;
	}

	.section-lawyers-benefits__number {
		width: 46px;
		height: 46px;
		flex-basis: 46px;
		font-size: 21px;
	}

	.section-lawyers-benefits__icon {
		width: 50px;
		height: 50px;
		flex-basis: 50px;
	}

	.section-lawyers-benefits__icon img {
		width: 48px;
		height: 48px;
	}

	.section-lawyers-benefits__card-title {
		max-width: none;
		font-size: 19px;
		line-height: 1.22;
	}

	.section-lawyers-benefits__card-text {
		font-size: 15.5px;
		line-height: 1.58;
	}
}

@media (max-width: 480px) {
	.section-lawyers-benefits {
		padding-inline: 14px;
	}

	.section-lawyers-benefits__card {
		padding: 20px;
	}
}