/* Ana sayfa müşteri yorumları. Seçiciler yalnızca .ttt-reviews altındadır. */

.ttt-reviews {
	--ttt-navy: #06143b;
	--ttt-blue: #009ddb;
	--ttt-gap: 20px;
	--ttt-slots: 3;
	box-sizing: border-box;
	max-width: 100%;
	margin: 0;
	padding: 12px 0 56px;
	overflow-x: hidden;
	background: #f3f6fb;
	color: #3e4c63;
	font-family: "Plus Jakarta Sans", Metropolis, "Source Sans Pro", sans-serif;
	-webkit-font-smoothing: antialiased;
}

.ttt-reviews[hidden] {
	display: none !important;
}

.ttt-reviews *,
.ttt-reviews *::before,
.ttt-reviews *::after {
	box-sizing: border-box;
}

.ttt-reviews [hidden] {
	display: none !important;
}

.ttt-reviews__panel {
	max-width: 100%;
	padding: 34px 36px 26px;
	background: #fff;
	border: 1px solid #e7eef6;
	border-radius: 28px;
	box-shadow: 0 18px 48px rgba(6, 20, 59, 0.05);
}

.ttt-reviews__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 28px;
	margin-bottom: 26px;
}

.ttt-reviews__intro {
	flex: 1 1 280px;
	min-width: 0;
}

.ttt-reviews__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 6px 12px 6px 10px;
	border-radius: 999px;
	background: #e7f6fd;
	color: var(--ttt-blue);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
}

.ttt-reviews__dot-mark {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ttt-blue);
	box-shadow: 0 0 0 4px rgba(0, 157, 219, 0.12);
}

.ttt-reviews__title {
	margin: 0 0 8px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ttt-navy);
	font-family: "Plus Jakarta Sans", Metropolis, "Source Sans Pro", sans-serif;
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	text-transform: none;
}

.ttt-reviews__title::before,
.ttt-reviews__title::after {
	content: none;
	display: none;
}

.ttt-reviews__lead {
	margin: 0;
	color: #7d8b9e;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
}

.ttt-reviews__nav {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
}

.ttt-reviews__counter {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	margin: 0 4px 0 0;
	padding: 0 14px;
	border-radius: 999px;
	background: #f2f4f7;
	color: #8b95a5;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
}

.ttt-reviews__now {
	color: var(--ttt-navy);
	font-weight: 700;
}

.ttt-reviews__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid #e6ebf2;
	border-radius: 50%;
	background: #fff;
	color: var(--ttt-navy);
	box-shadow: 0 6px 16px rgba(6, 20, 59, 0.05);
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ttt-reviews__btn svg {
	display: block;
	width: 18px;
	height: 18px;
}

.ttt-reviews__btn:hover:not(:disabled) {
	border-color: #b9e6f8;
	color: var(--ttt-blue);
}

.ttt-reviews__btn:disabled {
	opacity: 0.38;
	cursor: default;
	box-shadow: none;
}

.ttt-reviews__btn:focus-visible,
.ttt-reviews__dot:focus-visible,
.ttt-reviews__more:focus-visible,
.ttt-reviews__viewport:focus-visible {
	outline: 2px solid var(--ttt-blue) !important;
	outline-offset: 3px;
}

.ttt-reviews__btn:focus-visible {
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ttt-blue);
}

.ttt-reviews__viewport {
	max-width: 100%;
	overflow: hidden;
	border-radius: 22px;
	outline: none;
	touch-action: pan-y;
}

.ttt-reviews__track {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	width: 100%;
	gap: var(--ttt-gap);
	margin: 0;
	padding: 0;
	transition: transform 300ms ease;
}

.ttt-reviews__card {
	position: relative;
	display: flex;
	flex: 0 0 calc((100% - (var(--ttt-slots) - 1) * var(--ttt-gap)) / var(--ttt-slots));
	flex-direction: column;
	width: calc((100% - (var(--ttt-slots) - 1) * var(--ttt-gap)) / var(--ttt-slots));
	max-width: calc((100% - (var(--ttt-slots) - 1) * var(--ttt-gap)) / var(--ttt-slots));
	min-width: 0;
	margin: 0;
	padding: 22px 22px 18px;
	background: #fff;
	border: 1px solid #e7edf4;
	border-radius: 22px;
	box-shadow: 0 10px 28px rgba(6, 20, 59, 0.04);
}

.ttt-reviews__stars {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	min-height: 18px;
	color: #f5b400;
}

.ttt-reviews__star {
	display: block;
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.ttt-reviews__star:not(.is-on) {
	color: #e1e6ee;
}

.ttt-reviews__quote {
	position: absolute;
	top: 10px;
	right: 18px;
	color: #e5ebf3;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 52px;
	font-weight: 700;
	line-height: 1;
	pointer-events: none;
	user-select: none;
}

.ttt-reviews__text {
	margin: 16px 0 0;
	color: #3e4c63;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
	overflow-wrap: break-word;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}

.ttt-reviews__card.is-open .ttt-reviews__text {
	display: block;
	overflow: visible;
	-webkit-line-clamp: unset;
}

.ttt-reviews__more {
	align-self: flex-start;
	margin: 10px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ttt-blue);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
}

.ttt-reviews__more::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 6px;
	border-right: 1.7px solid currentColor;
	border-bottom: 1.7px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	vertical-align: middle;
}

.ttt-reviews__card.is-open .ttt-reviews__more::after {
	transform: rotate(225deg) translate(-1px, -1px);
}

.ttt-reviews__person {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 18px;
}

.ttt-reviews__avatar {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #e7f4fb;
	color: var(--ttt-navy);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.ttt-reviews__id {
	min-width: 0;
	flex: 1 1 auto;
}

.ttt-reviews__name {
	color: var(--ttt-navy);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.ttt-reviews__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 3px;
	color: #8b95a5;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}

.ttt-reviews__city,
.ttt-reviews__date {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.ttt-reviews__city svg,
.ttt-reviews__date svg {
	display: block;
	flex: 0 0 auto;
	width: 13px;
	height: 13px;
}

.ttt-reviews__sep {
	color: #c5ced8;
}

.ttt-reviews__source {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	max-width: 46%;
	padding: 5px 10px;
	border-radius: 999px;
	background: #f3f5f8;
	color: #5c6b7d;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.ttt-reviews__g {
	display: none;
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
}

.ttt-reviews__source.is-google .ttt-reviews__g {
	display: block;
}

.ttt-reviews__source-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ttt-reviews__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 18px;
	margin-top: 22px;
}

.ttt-reviews__dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #d5dce6;
	cursor: pointer;
}

.ttt-reviews__dot[aria-current="true"] {
	width: 22px;
	background: var(--ttt-navy);
}

@media (max-width: 1199px) {
	.ttt-reviews {
		--ttt-slots: 2;
	}
}

@media (max-width: 767px) {
	.ttt-reviews {
		--ttt-slots: 1;
		padding: 8px 0 40px;
	}

	.ttt-reviews__panel {
		padding: 18px 16px 18px;
		border-radius: 22px;
	}

	.ttt-reviews__head {
		display: grid;
		grid-template-columns: 1fr;
		gap: 14px;
		margin-bottom: 16px;
	}

	.ttt-reviews__nav {
		justify-content: flex-end;
		margin: 0;
	}

	.ttt-reviews__title {
		font-size: 26px;
	}

	.ttt-reviews__lead {
		font-size: 14px;
	}

	.ttt-reviews__card {
		padding: 20px 16px 16px;
		border-radius: 20px;
	}

	.ttt-reviews__quote {
		font-size: 44px;
		right: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ttt-reviews__track,
	.ttt-reviews__btn,
	.ttt-reviews__dot {
		transition: none;
	}
}
