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

/* =========================
   Detail 1: text section
   ========================= */

.tabs-detail-1,
.tabs-detail-1 * {
	box-sizing: border-box;
}

.tabs-detail-1 {
	color: #151b2a;
}

.tabs-detail-1__inner {
	position: relative;
	padding: clamp(34px, 3.5vw, 56px) clamp(28px, 3.4vw, 52px);
	border: 1px solid rgba(7, 31, 99, 0.13);
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 253, 255, 0.96) 100%),
		#ffffff;
	box-shadow:
		0 26px 68px rgba(7, 31, 99, 0.10),
		0 8px 24px rgba(7, 31, 99, 0.055),
		inset 0 1px 0 rgba(255, 255, 255, 0.96);
	overflow: hidden;
}

.tabs-detail-1__title::after {
	content: "";
	display: block;
	width: 72px;
	height: 3px;
	margin-top: 22px;
	border-radius: 999px;
	background: #0b96c6;
}

.tabs-detail-1__header {
	margin: 0 0 clamp(28px, 3vw, 44px);
}

.tabs-detail-1__title {
	max-width: 1040px;
	margin: 0;
	color: #0876bd;
	font-size: clamp(34px, 3vw, 52px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.035em;
}

.tabs-detail-1__text {
	max-width: 100%;
	color: #151b2a;
	font-size: clamp(15px, 1vw, 17px);
	font-weight: 400;
	line-height: 1.62;
}

.tabs-detail-1__text p {
	margin: 0 0 22px;
}

.tabs-detail-1__text p:last-child {
	margin-bottom: 0;
}

.tabs-detail-1__text .serg-inline-link,
.tabs-detail-1__text a.serg-inline-link {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}

.tabs-detail-1__text .serg-inline-link:hover,
.tabs-detail-1__text a.serg-inline-link:hover {
	color: #0876bd;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* =========================
   Actions
   ========================= */

.tabs-detail-1__actions {
	display: grid;
	grid-template-columns: minmax(170px, 0.82fr) repeat(2, minmax(250px, 1fr));
	gap: 18px;
	margin-top: clamp(24px, 2.8vw, 38px);
}

.tabs-detail-1__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 18px;
	border-radius: 8px;
	color: #ffffff;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: -0.005em;
	box-shadow:
		0 10px 20px rgba(7, 31, 99, 0.13),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.tabs-detail-1__button:hover,
.tabs-detail-1__button:focus {
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow:
		0 13px 24px rgba(7, 31, 99, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.tabs-detail-1__button--primary {
	background: linear-gradient(135deg, #0a76bd 0%, #075f9e 55%, #064f86 100%);
}

.tabs-detail-1__button--secondary {
	background: linear-gradient(135deg, #f47a2a 0%, #df5f18 58%, #c84a0f 100%);
}

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

@media (max-width: 1180px) {
	.tabs-detail-1__actions {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.tabs-detail-1__button {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.tabs-detail-1__inner {
		padding: 28px 22px;
		border-radius: 16px;
	}

	.tabs-detail-1__title::after {
		width: 62px;
		margin-top: 18px;
	}

	.tabs-detail-1__header {
		margin-bottom: 32px;
	}

	.tabs-detail-1__title {
		font-size: clamp(30px, 8.2vw, 42px);
		line-height: 1.14;
	}

	.tabs-detail-1__text {
		font-size: 15.5px;
		line-height: 1.58;
	}

	.tabs-detail-1__text p {
		margin-bottom: 18px;
	}

	.tabs-detail-1__button {
		min-height: 46px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.tabs-detail-1__inner {
		padding: 24px 18px;
	}

	.tabs-detail-1__title::after {
		margin-top: 16px;
	}

	.tabs-detail-1__title {
		font-size: 28px;
		line-height: 1.14;
	}

	.tabs-detail-1__text {
		font-size: 15px;
		line-height: 1.56;
	}

	.tabs-detail-1__button {
		font-size: 14px;
	}
}
