/* /sts/ — страничные стили, перенесены из инлайн <style> старой страницы (одинаковы для ru/en/kz/cn) */
/* Блок «восемь контуров» и мелкие правки — только для страницы /sts/.
   Палитра и радиусы взяты из карточек тарифов, шаблонный CSS не трогаем. */
/* Шапка: иллюстрация подобрана под высоту текстовой колонки (два уменьшения по 20%
   от исходных 470px), карточки тарифов подняты следом.
   ВАЖНО: у секции тарифов margin-top: -400px — карточки намеренно
   наезжают на серую полосу. Отступ шапки должен это перекрывать,
   иначе карточки лягут на текст. */
/* Селектор с .site — страничный css подключается ДО template_styles.css,
   где у .bdr.sts .sct-top .img своя ширина 470px с той же специфичностью. */
.site .bdr.sts .sct-top { padding-bottom: 470px; }
@media (min-width: 960px) {
	/* Иллюстрация абсолютная; в custom.min.css её левый край задан процентами
	   под ширину 470px (до -29%), и уменьшенная картинка уезжала за край экрана.
	   Возвращаем фиксированный отступ, как в базовом правиле шаблона. */
	.site .bdr.sts .sct-top .img { max-width: 300px; left: 60px; }
}

/* Полоса ключевых цифр — строго под текстовой колонкой.
   Ширина как у .txt (57%), иначе полоса уезжает влево под иллюстрацию,
   а та абсолютная и накрывает её сверху. z-index — страховка. */
.bdr.sts .sts-facts-wrap {
	clear: both;
	position: relative;
	z-index: 2;
	width: 57%;
	margin-left: auto;
	padding-top: 30px;
}
.bdr.sts .sts-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
	gap: 0;
	background: transparent;
}
.bdr.sts .sts-fact {
	background: transparent;
	padding: 2px 16px;
	border-left: 1px solid rgba(0, 0, 0, 0.14);
}
.bdr.sts .sts-fact:first-child { border-left: none; padding-left: 0; }
.bdr.sts .sts-fact b {
	display: block;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	font-variant-numeric: tabular-nums;
	font-size: 22px;
	line-height: 1.1;
	margin-bottom: 3px;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: #2C3A42;
}
.bdr.sts .sts-fact span { display: block; font-size: 12.5px; line-height: 1.2; color: #5A6A72; }
.bdr.sts .sts-facts__note { margin: 12px 0 0; font-size: 13px; color: #8A969B; }

/* «для кого тариф» — строка под шапкой карточки */
.bdr.sts .sct-mid-b .cnt-col__bdr .sts-for {
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	font-size: 14px;
	line-height: 1.45;
	color: #58666E;
}
.bdr.sts .sct-mid-b .cnt-col__bdr .sts-plus {
	margin: 0 0 4px;
	font-size: 14px;
	line-height: 1.45;
	font-weight: 700;
	color: #2C3A42;
}
.bdr.sts .sts-loops { padding-top: 0; }
.bdr.sts .sts-loops__ttl { margin: 0 0 12px; }
.bdr.sts .sts-loops__lead { max-width: 860px; margin: 0 0 34px; }
.bdr.sts .sts-loops__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
	gap: 20px;
}
.bdr.sts .sts-loop {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #fff;
	border-radius: 12px;
	padding: 22px 24px;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}
.bdr.sts .sts-loop h3 {
	margin: 0;
	font-size: 17px;
	line-height: 1.3;
	color: #2C3A42;
}
.bdr.sts .sts-loop p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: #5A6A72;
}
.bdr.sts .sts-loop__catch {
	margin-top: auto;
	padding-top: 11px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	color: #2C3A42 !important;
}
.bdr.sts .sts-badges { padding-top: 0; padding-bottom: 70px; }
/* низ страницы на тёмном фоне #58666E — заголовок белый, как у формы ниже */
.bdr.sts .sts-badges__ttl {
	margin: 0 0 30px;
	font-size: 24px;
	color: #fff;
	text-align: center;
}
.bdr.sts .sts-badges__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 26px;
}
.bdr.sts .sts-badges__row img { display: block; height: 44px; width: auto; }
@media (max-width: 639px) {
	.bdr.sts .sts-facts-wrap { width: 100%; margin-left: 0; padding-top: 20px; }
	.bdr.sts .sts-loops__grid { grid-template-columns: 1fr; }
	.bdr.sts .sts-loop { padding: 18px 20px; }
}
