/**
 * [bytecode_trusted] — "Trusted by businesses worldwide" strip.
 * Ratings (Upwork, Google, Trustpilot, Clutch) + counters in one row.
 */

.bctr {
	/*--bctr-bg: #070a10;*/
	--bctr-text: #ffffff;
	--bctr-muted: #a3a9b6;
	--bctr-label: #8b93a3;
	--bctr-line: rgba(255, 255, 255, 0.12);
	--bctr-split: rgba(255, 255, 255, 0.2);
	background: var(--bctr-bg);
	color: var(--bctr-text);
	padding: 22px 0 26px;
	font-family: inherit;
}

.bctr *,
.bctr *::before,
.bctr *::after { box-sizing: border-box; }

.bctr__in {
	max-width: 1340px;
	margin: 0 auto;
	padding: 0 32px;
}

.bctr__label {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bctr-label);
}

.bctr__row {
	display: flex;
	align-items: center;
}

/* ---------- Ratings ---------- */
.bctr__rates {
	display: flex;
	flex: 0 0 auto;
}

.bctr__badge {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 4px 32px;
	color: inherit;
	text-decoration: none;
	border-left: 1px solid var(--bctr-line);
	transition: opacity 0.2s ease;
}
.bctr__badge:first-child {
	padding-left: 0;
	border-left: 0;
}
a.bctr__badge:hover,
a.bctr__badge:focus-visible { opacity: 0.85; color: inherit; }
a.bctr__badge:focus-visible { outline: 2px solid var(--bctr-muted); outline-offset: 4px; border-radius: 4px; }

.bctr__name {
	display: block;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	white-space: nowrap;
}
/* When a logo image is set in bytecode_trusted_data() */
.bctr__name img {
	display: block;
	height: 26px;
	width: auto;
	max-width: 140px;
}

/* Stars: grey base row + coloured row clipped to the score */
.bctr__stars {
	position: relative;
	display: inline-block;
	align-self: flex-start;
	line-height: 0;
	white-space: nowrap;
}
.bctr__stars svg {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 3px;
	vertical-align: top;
}
.bctr__base svg { fill: rgba(255, 255, 255, 0.18); }
.bctr__fill {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: var(--fill, 100%);
	overflow: hidden;
	white-space: nowrap;
}
.bctr__fill svg { fill: var(--c, #fbbc04); }

.bctr__meta {
	font-size: 13px;
	line-height: 1.3;
	color: var(--bctr-muted);
	white-space: nowrap;
}
.bctr__meta b {
	color: var(--bctr-text);
	font-weight: 600;
}
.bctr__dot { margin: 0 5px; }

/* Upwork: Top Rated Plus badge + caps line */
.bctr__top {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}
.bctr__top svg {
	flex: none;
	width: 18px;
	height: 18px;
}
.bctr__meta--caps {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Divider between ratings and counters */
.bctr__split {
	flex: none;
	width: 1px;
	height: 64px;
	margin: 0 10px 0 32px;
	background: var(--bctr-split);
}

/* ---------- Counters ---------- */
.bctr__counters {
	display: flex;
	flex: 1 1 auto;
	justify-content: flex-end;
}

.bctr__box {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 4px 22px;
	border-left: 1px solid var(--bctr-line);
}
.bctr__box:first-child { border-left: 0; }
.bctr__box:last-child { padding-right: 0; }

.bctr__ic { flex: none; }
.bctr__ic svg {
	display: block;
	width: 36px;
	height: 36px;
}

.bctr__txt {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.bctr__num {
	font-size: 24px;
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.bctr__lbl {
	font-size: 12px;
	line-height: 1.3;
	color: var(--bctr-muted);
	white-space: nowrap;
}

/* ---------- Laptop / tablet: ratings row, counters row ---------- */
@media (max-width: 1360px) {
	.bctr__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 22px;
	}
	.bctr__split { display: none; }
	.bctr__counters { justify-content: flex-start; }
	.bctr__box:first-child { padding-left: 0; }
}

/* ---------- Mobile: 2x2 ratings, 3-column counters ---------- */
@media (max-width: 860px) {
	.bctr__in { padding: 0 16px; }

	.bctr__rates {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px 0;
		width: 100%;
	}
	.bctr__badge { padding: 0 0 0 16px; }
	.bctr__badge:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}
	.bctr__name { font-size: 22px; }
	.bctr__name img { height: 22px; }

	.bctr__counters {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		width: 100%;
	}
	.bctr__box {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding: 0 12px;
	}
	.bctr__box:first-child { padding-left: 0; }
	.bctr__ic svg {
		width: 28px;
		height: 28px;
	}
	.bctr__num { font-size: 20px; }
}

@media (max-width: 400px) {
	.bctr__name { font-size: 20px; }
	.bctr__top { font-size: 12.5px; }
	.bctr__meta--caps { font-size: 10px; }
	.bctr__lbl { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
	.bctr__badge { transition: none; }
}