/**
 * Trust band — quotes · videos · registration documents
 */

.sh-trust {
	padding-block: clamp(3rem, 7vw, 5rem);
}

.sh-trust__block-head {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* —— Quotes spotlight —— */
.sh-trust-quotes {
	max-width: 52rem;
	margin-inline: auto;
}

.sh-trust-quotes.sh-carousel--spotlight {
	max-width: 56rem;
}

.sh-trust-quotes__stage {
	position: relative;
	min-height: 14.5rem;
}

.sh-trust-quote {
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition:
		opacity 0.45s ease,
		transform 0.45s ease,
		visibility 0.45s ease;
	position: absolute;
	inset-inline: 0;
	top: 0;
	text-align: center;
}

.sh-trust-quote.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	position: relative;
}

.sh-trust-quote blockquote {
	margin: 0;
	padding: 1.5rem 1.35rem;
	background:
		radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 170, 1, 0.12), transparent 70%),
		var(--sh-panel, rgba(255, 255, 255, 0.78));
	border: 1px solid var(--sh-line, rgba(15, 45, 72, 0.12));
	border-radius: var(--sh-radius, 14px);
	box-shadow: 0 10px 28px rgba(11, 34, 56, 0.06);
}

.sh-trust-quote blockquote p {
	margin: 0;
	font-size: clamp(1.05rem, 2.2vw, 1.25rem);
	line-height: 1.85;
	font-weight: 650;
	color: var(--sh-blue-ink, #0b2238);
}

.sh-trust-quote figcaption {
	margin-top: 1.15rem;
	display: grid;
	gap: 0.25rem;
	justify-items: center;
}

.sh-trust-quote__avatar {
	width: 4.25rem;
	height: 4.25rem;
	border-radius: 999px;
	overflow: hidden;
	display: grid;
	place-items: center;
	margin-bottom: 0.35rem;
	background:
		radial-gradient(circle at 35% 30%, rgba(255, 170, 1, 0.35), transparent 55%),
		linear-gradient(160deg, #1a4a6e, #0b2238);
	border: 2px solid rgba(255, 170, 1, 0.55);
	box-shadow: 0 6px 16px rgba(11, 34, 56, 0.14);
}

.sh-trust-quote__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sh-trust-quote__avatar > span {
	font-size: 1.35rem;
	font-weight: 800;
	color: #fff;
	line-height: 1;
}

.sh-trust-quote figcaption strong {
	font-size: 0.95rem;
	font-weight: 800;
	color: var(--sh-blue-ink, #0b2238);
}

.sh-trust-quote figcaption > span:not(.sh-trust-quote__avatar) {
	font-size: 0.85rem;
	color: var(--sh-muted, #5a6b7a);
}

.sh-trust-quotes__dots {
	display: flex;
	justify-content: center;
	gap: 0.45rem;
	margin-top: 1.1rem;
}

.sh-trust-quotes__dot {
	width: 0.55rem;
	height: 0.55rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(26, 74, 110, 0.22);
	cursor: pointer;
	transition:
		background 0.25s ease,
		transform 0.25s ease;
}

.sh-trust-quotes__dot.is-active {
	background: var(--sh-gold, #ffaa01);
	transform: scale(1.2);
}

/* —— Videos —— */
.sh-trust-videos {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.sh-trust-videos {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.sh-trust-videos {
		grid-template-columns: repeat(4, 1fr);
	}
}

.sh-trust-video {
	margin: 0;
}

.sh-trust-video h3 {
	margin: 0.7rem 0 0;
	font-family: var(--font-body, "Vazirmatn", system-ui, sans-serif);
	font-size: 0.92rem;
	font-weight: 700;
	font-style: normal;
	color: var(--sh-blue-ink, #0b2238);
	line-height: 1.45;
	letter-spacing: 0;
	text-align: center;
}

.sh-trust-video__frame {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: var(--sh-radius, 14px);
	overflow: hidden;
	background: linear-gradient(160deg, #123552, #0b2238);
	border: 1px solid rgba(15, 45, 72, 0.14);
	box-shadow: 0 10px 28px rgba(11, 34, 56, 0.08);
}

.sh-trust-video__frame iframe,
.sh-trust-video__frame video,
.sh-trust-video__placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	object-fit: cover;
}

.sh-trust-video__placeholder {
	appearance: none;
	background:
		radial-gradient(ellipse 70% 55% at 50% 40%, rgba(255, 170, 1, 0.22), transparent 65%),
		linear-gradient(160deg, #1a4a6e, #0b2238);
	color: #fff;
	cursor: default;
	padding: 0;
}

.sh-trust-video__placeholder img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
}

.sh-trust-video__play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 3rem;
	height: 3rem;
	margin: 0;
	transform: translate(-50%, -50%);
	border-radius: 999px;
	background: rgba(255, 170, 1, 0.95);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.sh-trust-video__play::before {
	content: "";
	position: absolute;
	left: 52%;
	top: 50%;
	transform: translate(-40%, -50%);
	border-style: solid;
	border-width: 0.45rem 0 0.45rem 0.75rem;
	border-color: transparent transparent transparent #0b2238;
}

.sh-trust-video__placeholder em {
	position: absolute;
	inset-inline: 0.75rem;
	bottom: 0.85rem;
	font-family: var(--font-body, "Vazirmatn", system-ui, sans-serif);
	font-style: normal;
	font-size: 0.8rem;
	font-weight: 600;
	opacity: 0.9;
	text-align: center;
}

/* —— Documents / certificates —— */
.sh-trust-docs.sh-carousel--track {
	--carousel-per-view: 2;
	--carousel-gap: 0.75rem;
}

@media (min-width: 640px) {
	.sh-trust-docs.sh-carousel--track {
		--carousel-per-view: 3;
	}
}

@media (min-width: 980px) {
	.sh-trust-docs.sh-carousel--track {
		--carousel-per-view: 4;
	}
}

.sh-trust-docs__track {
	align-items: stretch;
}

.sh-trust-doc {
	margin: 0;
	height: 100%;
}

.sh-trust-doc__frame {
	aspect-ratio: 212 / 300;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--sh-line, rgba(15, 45, 72, 0.12));
	background: #fff;
	box-shadow: 0 8px 22px rgba(11, 34, 56, 0.07);
}

.sh-trust-doc__frame img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
	background: #fff;
}

.sh-trust-doc__ghost {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	background:
		repeating-linear-gradient(
			-18deg,
			transparent,
			transparent 10px,
			rgba(26, 74, 110, 0.04) 10px,
			rgba(26, 74, 110, 0.04) 11px
		),
		linear-gradient(165deg, #faf7f0, #ebe4d6);
	color: var(--sh-blue, #1a4a6e);
	font-weight: 800;
	font-size: 0.85rem;
}

.sh-trust-doc figcaption {
	margin-top: 0.55rem;
	display: grid;
	gap: 0.15rem;
	text-align: center;
	justify-items: center;
}

.sh-trust-doc figcaption strong {
	font-family: var(--font-body, "Vazirmatn", system-ui, sans-serif);
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--sh-blue-ink, #0b2238);
	line-height: 1.35;
}

.sh-trust-doc figcaption span {
	font-size: 0.75rem;
	color: var(--sh-muted, #5a6b7a);
	line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
	.sh-trust-quote {
		transition: none;
	}
}
.sh-clients {
	padding-block: clamp(2.5rem, 5vw, 3.75rem);
	background:
		linear-gradient(180deg, rgba(255, 170, 1, 0.08), rgba(255, 170, 1, 0.02)),
		var(--sh-panel-soft, rgba(255, 255, 255, 0.72));
	border-block: 1px solid var(--sh-line, rgba(15, 45, 72, 0.1));
}

.sh-clients__carousel {
	--carousel-per-view: 2;
	--carousel-gap: 1rem;
}

@media (min-width: 640px) {
	.sh-clients__carousel {
		--carousel-per-view: 3;
	}
}

@media (min-width: 980px) {
	.sh-clients__carousel {
		--carousel-per-view: 4;
	}
}

.sh-clients__track {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sh-clients__item {
	display: grid;
	place-items: center;
	width: 100%;
	min-height: 6.25rem;
	padding: 0.9rem 1rem;
	border-radius: calc(var(--sh-radius, 14px) - 2px);
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(15, 45, 72, 0.08);
	box-shadow: 0 6px 18px rgba(11, 34, 56, 0.04);
}

.sh-clients__item img {
	display: block;
	max-width: 100%;
	max-height: 5.25rem;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: saturate(0.95);
	opacity: 0.95;
}

/* —— Related magazine posts on service pages —— */
.sh-related-posts__carousel {
	--carousel-per-view: 1;
	--carousel-gap: 1rem;
}

@media (min-width: 760px) {
	.sh-related-posts__carousel {
		--carousel-per-view: 3;
	}
}

.sh-related-posts__track .sb-card {
	height: 100%;
}

.sh-related-posts__foot {
	margin: 1.25rem 0 0;
	text-align: center;
}

.sh-related-posts__more {
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--sh-blue-ink, #0b2238);
	text-decoration: none;
	white-space: nowrap;
}

.sh-related-posts__more:hover {
	color: var(--sh-accent, #ffaa01);
}

/* —— Shared carousel chrome —— */
.sh-carousel {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.55rem;
}

.sh-carousel__main {
	min-width: 0;
}

.sh-carousel__nav {
	flex-shrink: 0;
	width: 2.65rem;
	height: 2.65rem;
	display: grid;
	place-items: center;
	padding: 0;
	border-radius: 999px;
	border: 1px solid var(--sh-line, rgba(15, 45, 72, 0.14));
	background: rgba(255, 255, 255, 0.92);
	color: var(--sh-blue-ink, #0b2238);
	box-shadow: 0 6px 18px rgba(11, 34, 56, 0.07);
	cursor: pointer;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		opacity 0.2s ease;
}

.sh-carousel__nav span {
	font-size: 1.65rem;
	line-height: 1;
	font-weight: 700;
	margin-top: -0.15rem;
}

.sh-carousel__nav:hover:not(:disabled) {
	border-color: rgba(255, 170, 1, 0.55);
	color: var(--sh-accent, #ffaa01);
}

.sh-carousel__nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.sh-carousel--single-page .sh-carousel__nav {
	visibility: hidden;
}

.sh-carousel__viewport {
	overflow: hidden;
}

.sh-carousel__track {
	display: flex;
	gap: var(--carousel-gap, 1rem);
	transition: transform 0.45s ease;
	will-change: transform;
}

.sh-carousel__slide {
	flex: 0 0 calc((100% - (var(--carousel-gap, 1rem) * (var(--carousel-per-view, 1) - 1))) / var(--carousel-per-view, 1));
	min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
	.sh-carousel__track {
		transition: none;
	}
}
