/*
Секция: цены и услуги с табами — первый таб.
Файл: sections-modules/service-tabs-prices/tabs-overview.css
*/

/* =========================
   Overview card
   ========================= */

.tabs-prices-overview,
.tabs-prices-overview * {
	box-sizing: border-box;
}

.tabs-prices-overview {
	color: #151b2a;
}

.tabs-prices-overview__card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
	gap: clamp(28px, 3vw, 46px);
	align-items: stretch;
	padding: clamp(34px, 3.8vw, 54px);
	border: 1px solid rgba(7, 31, 99, 0.16);
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 253, 255, 0.96) 100%),
		#ffffff;
	box-shadow:
		0 30px 80px rgba(7, 31, 99, 0.115),
		0 10px 28px rgba(7, 31, 99, 0.07),
		0 2px 6px rgba(7, 31, 99, 0.045),
		inset 0 1px 0 rgba(255, 255, 255, 0.96),
		inset 0 -1px 0 rgba(7, 31, 99, 0.035);
	backdrop-filter: blur(8px);
	overflow: hidden;
}

.tabs-prices-overview__card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	border: 1px solid rgba(255, 255, 255, 0.72);
	pointer-events: none;
}

.tabs-prices-overview__card::after {
	content: "";
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(11, 150, 198, 0.24) 50%, transparent 100%);
	pointer-events: none;
}

.tabs-prices-overview__left,
.tabs-prices-overview__right {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.tabs-prices-overview__right {
	position: relative;
	padding-left: clamp(30px, 3.2vw, 52px);
}

.tabs-prices-overview__right::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 1px;
	background: linear-gradient(
		180deg,
		transparent 0%,
		rgba(7, 31, 99, 0.10) 8%,
		rgba(11, 150, 198, 0.20) 50%,
		rgba(7, 31, 99, 0.10) 90%,
		transparent 100%
	);
	box-shadow:
		1px 0 0 rgba(255, 255, 255, 0.80),
		-1px 0 0 rgba(7, 31, 99, 0.035);
}

/* =========================
   Left service block
   ========================= */

.tabs-prices-overview__service {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 26px;
	align-items: start;
}

.tabs-prices-overview__service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: #eef8fe;
	border: 1px solid rgba(11, 150, 198, 0.16);
	box-shadow: 0 14px 28px rgba(7, 31, 99, 0.06);
}

.tabs-prices-overview__service-icon img {
	display: block;
	width: 70px;
	height: 70px;
	object-fit: contain;
	object-position: center;
}

.tabs-prices-overview__service-icon-fallback {
	position: relative;
	display: block;
	width: 46px;
	height: 56px;
	border: 3px solid #0b96c6;
	border-radius: 18px 18px 22px 22px;
}

.tabs-prices-overview__service-icon-fallback::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 10px;
	width: 18px;
	height: 18px;
	border-right: 3px solid #0b96c6;
	border-bottom: 3px solid #0b96c6;
	transform: translateX(-50%) rotate(45deg);
}

.tabs-prices-overview__service-title {
	max-width: 640px;
	margin: 0 0 16px;
	color: #071f63;
	font-size: clamp(26px, 2vw, 34px);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.025em;
}

@media (min-width: 1181px) {
	.tabs-prices-overview__service-title {
		max-width: none;
		margin-right: clamp(-120px, -7vw, -78px);
		position: relative;
		z-index: 2;
	}
}

.tabs-prices-overview__service-text {
	max-width: 760px;
	margin-top: 20px;
	color: #151b2a;
	font-size: clamp(15px, 1vw, 17px);
	font-weight: 400;
	line-height: 1.62;
}

.tabs-prices-overview__service-text p {
	margin: 0 0 12px;
}

.tabs-prices-overview__service-text p:last-child {
	margin-bottom: 0;
}

.tabs-prices-overview__service-text .serg-inline-link,
.tabs-prices-overview__service-text a.serg-inline-link {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}

.tabs-prices-overview__service-text .serg-inline-link:hover,
.tabs-prices-overview__service-text a.serg-inline-link:hover {
	color: inherit;
	text-decoration: none;
}

/* =========================
   Feature cards
   ========================= */

.tabs-prices-overview__features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: clamp(22px, 2.6vw, 34px);
}

.tabs-prices-overview__feature {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 9px;
	min-width: 0;
	min-height: 74px;
	padding: 12px 12px;
	border: 1px solid rgba(11, 150, 198, 0.10);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow:
		0 12px 26px rgba(7, 31, 99, 0.045),
		inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.tabs-prices-overview__feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #eef8fe;
	border: 1px solid rgba(11, 150, 198, 0.14);
	color: #0b96c6;
}

.tabs-prices-overview__feature-icon img {
	display: block;
	width: 24px;
	height: 24px;
	object-fit: contain;
}

/* Увеличиваем первую мини-иконку "Под ключ" */
.tabs-prices-overview__feature:first-child .tabs-prices-overview__feature-icon img {
	width: 30px;
	height: 30px;
}

.tabs-prices-overview__feature-icon span {
	position: relative;
	display: block;
	width: 14px;
	height: 14px;
	border: 2px solid #0b96c6;
	border-radius: 50%;
}

.tabs-prices-overview__feature-icon span::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 5px;
	height: 9px;
	border-right: 2px solid #0b96c6;
	border-bottom: 2px solid #0b96c6;
	transform: rotate(45deg);
}

.tabs-prices-overview__feature-title {
	margin-bottom: 4px;
	color: #075f9e;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.15;
}

.tabs-prices-overview__feature-text {
	color: rgba(21, 27, 42, 0.84);
	font-size: 11.5px;
	font-weight: 400;
	line-height: 1.28;
}

/* =========================
   Price and CTA
   ========================= */

.tabs-prices-overview__price-row {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-top: clamp(26px, 3vw, 42px);
	color: #0a6fae;
}

.tabs-prices-overview__price-prefix {
	font-size: clamp(24px, 2vw, 34px);
	font-weight: 700;
	line-height: 1;
}

.tabs-prices-overview__price {
	font-size: clamp(50px, 4.4vw, 70px);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.04em;
}

.tabs-prices-overview__price-note {
	margin-top: 14px;
	color: rgba(21, 27, 42, 0.70);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

.tabs-prices-overview__button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 540px);
	min-height: 56px;
	margin-top: 18px;
	padding: 15px 66px 15px 28px;
	border-radius: 14px;
	background: linear-gradient(135deg, #0876bd 0%, #075f9e 55%, #064f86 100%);
	color: #ffffff;
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow:
		0 14px 28px rgba(7, 31, 99, 0.20),
		0 0 0 1px rgba(255, 255, 255, 0.18) inset;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.tabs-prices-overview__button:hover,
.tabs-prices-overview__button:focus {
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow:
		0 18px 34px rgba(7, 31, 99, 0.24),
		0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.tabs-prices-overview__button-arrow {
	position: absolute;
	right: 24px;
	top: 50%;
	width: 28px;
	height: 2px;
	background: currentColor;
	transform: translateY(-50%);
}

.tabs-prices-overview__button-arrow::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 11px;
	height: 11px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
}

/* =========================
   Right included list
   ========================= */

.tabs-prices-overview__included-title {
	position: relative;
	margin: 0 0 28px;
	padding-bottom: 18px;
	color: #151b2a;
	font-size: clamp(22px, 1.9vw, 30px);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.015em;
}

.tabs-prices-overview__included-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 52px;
	height: 3px;
	border-radius: 999px;
	background: #0b96c6;
}

.tabs-prices-overview__included-list {
	display: grid;
	gap: 0;
}

.tabs-prices-overview__included-item {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	padding: 0 0 18px;
	margin-bottom: 18px;
	border-bottom: 1px solid rgba(7, 31, 99, 0.11);
}

.tabs-prices-overview__included-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.tabs-prices-overview__included-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-top: 2px;
	border-radius: 50%;
	background: linear-gradient(135deg, #0b8fc2 0%, #0872b8 100%);
	color: #ffffff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 10px 22px rgba(8, 114, 184, 0.18);
}

.tabs-prices-overview__included-content {
	min-width: 0;
}

.tabs-prices-overview__included-item-title {
	margin: 0 0 5px;
	color: #151b2a;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: 0;
}

.tabs-prices-overview__included-item-text {
	color: rgba(21, 27, 42, 0.92);
	font-size: clamp(15px, 0.9vw, 16px);
	font-weight: 400;
	line-height: 1.54;
}

.tabs-prices-overview__included-item-text p {
	margin: 0 0 8px;
}

.tabs-prices-overview__included-item-text p:last-child {
	margin-bottom: 0;
}

/* =========================
   Adaptive
   ========================= */

@media (max-width: 1180px) {
	.tabs-prices-overview__card {
		grid-template-columns: minmax(0, 1fr);
		gap: 34px;
	}

	.tabs-prices-overview__right {
		padding-left: 0;
		padding-top: 34px;
	}

	.tabs-prices-overview__right::before {
		left: 0;
		top: 0;
		right: 0;
		bottom: auto;
		width: 100%;
		height: 1px;
		background: linear-gradient(90deg, transparent 0%, rgba(7, 31, 99, 0.10) 12%, rgba(11, 150, 198, 0.20) 50%, rgba(7, 31, 99, 0.10) 88%, transparent 100%);
		box-shadow:
			0 1px 0 rgba(255, 255, 255, 0.80),
			0 -1px 0 rgba(7, 31, 99, 0.035);
	}
}

@media (max-width: 768px) {
	.tabs-prices-overview__card {
		padding: 24px 20px;
		border-radius: 16px;
	}

	.tabs-prices-overview__service {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 16px;
	}

	.tabs-prices-overview__service-icon {
		width: 72px;
		height: 72px;
	}

	.tabs-prices-overview__service-icon img {
		width: 52px;
		height: 52px;
	}

	.tabs-prices-overview__service-title {
		font-size: 25px;
		line-height: 1.18;
	}

	.tabs-prices-overview__service-text {
		margin-top: 16px;
		font-size: 15.5px;
		line-height: 1.58;
	}

	.tabs-prices-overview__features {
		grid-template-columns: 1fr;
	}

	.tabs-prices-overview__feature {
		min-height: 0;
	}

	.tabs-prices-overview__price {
		font-size: 48px;
	}

	.tabs-prices-overview__button {
		width: 100%;
		min-height: 54px;
		font-size: 15.5px;
	}

	.tabs-prices-overview__included-item {
		grid-template-columns: 42px minmax(0, 1fr);
		gap: 14px;
	}

	.tabs-prices-overview__included-number {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}

	.tabs-prices-overview__included-item-title {
		font-size: 17px;
	}

	.tabs-prices-overview__included-item-text {
		font-size: 15.5px;
		line-height: 1.58;
	}
}

@media (max-width: 480px) {
	.tabs-prices-overview__card {
		padding: 22px 18px;
	}

	.tabs-prices-overview__service {
		grid-template-columns: 1fr;
	}

	.tabs-prices-overview__service-title {
		font-size: 23px;
	}

	.tabs-prices-overview__service-text {
		font-size: 15px;
		line-height: 1.56;
	}

	.tabs-prices-overview__price-row {
		gap: 10px;
	}

	.tabs-prices-overview__price-prefix {
		font-size: 24px;
	}

	.tabs-prices-overview__price {
		font-size: 42px;
	}

	.tabs-prices-overview__button {
		padding-right: 52px;
		font-size: 14.5px;
	}

	.tabs-prices-overview__button-arrow {
		right: 18px;
		width: 24px;
	}

	.tabs-prices-overview__included-title {
		font-size: 23px;
	}

	.tabs-prices-overview__included-item {
		grid-template-columns: 1fr;
	}

	.tabs-prices-overview__included-number {
		margin-top: 0;
	}
}
