/* ═══════════════════════════════════════════════════════
   OTOGALERIO CORE — TESTIMONIALS (Müşteri Yorumları)
   3 layout: grid · slider · featured
   ═══════════════════════════════════════════════════════ */

.ogc-tm {
	--tm-primary:    #1a3f92;
	--tm-accent:     #e10c14;
	--tm-accent-2:   #ff5252;
	--tm-text:       #1e293b;
	--tm-muted:      #64748b;
	--tm-bg:         #f8fafc;
	--tm-card-bg:    #ffffff;
	--tm-border:     #e2e8f0;
	--tm-radius:     20px;
	--tm-radius-sm:  14px;
	--tm-star:       #fbbf24;
	--tm-verified:   #2563eb;

	--tm-cols:       3;

	position: relative;
	padding: 90px 24px;
	background: var(--tm-bg);
	color: var(--tm-text);
	font-family: inherit;
	overflow: hidden;
}

.ogc-tm__container {
	max-width: 1320px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.ogc-tm__header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 28px;
}
.ogc-tm__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	font-size: 12px;
	font-weight: 700;
	color: var(--tm-accent);
	text-transform: uppercase;
	letter-spacing: 0.13em;
}
.ogc-tm__eyebrow::before,
.ogc-tm__eyebrow::after {
	content: '';
	width: 28px;
	height: 2px;
	background: var(--tm-accent);
	border-radius: 1px;
}
.ogc-tm__title {
	font-size: clamp(28px, 3.4vw, 42px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.025em;
	color: var(--tm-primary);
	margin: 0 0 14px;
}
.ogc-tm__title em {
	font-style: normal;
	background: linear-gradient(135deg, var(--tm-accent) 0%, var(--tm-accent-2) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.ogc-tm__subtitle {
	font-size: 15px;
	line-height: 1.65;
	color: var(--tm-muted);
	margin: 0;
}

/* ═══════════════════════════════════════════
   STATS STRIP (Trustpilot tarzı)
   ═══════════════════════════════════════════ */
.ogc-tm__stats {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	margin: 0 auto 48px;
	padding: 16px 26px;
	background: var(--tm-card-bg);
	border: 1px solid var(--tm-border);
	border-radius: 999px;
	box-shadow: 0 6px 18px -10px rgba(15,23,41,.12);
	left: 50%;
	position: relative;
	transform: translateX(-50%);
	max-width: 100%;
	flex-wrap: nowrap;
}
.ogc-tm__stats-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.ogc-tm__stats-num {
	font-size: 26px;
	font-weight: 900;
	color: var(--tm-primary);
	letter-spacing: -0.03em;
	line-height: 1;
}
.ogc-tm__stats-stars {
	display: inline-flex;
	gap: 2px;
}
.ogc-tm__stats-stars .ogc-tm__star { width: 18px; height: 18px; }

.ogc-tm__stats-info {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 13.5px;
	color: var(--tm-muted);
	border-left: 1px solid var(--tm-border);
	padding-left: 22px;
	flex-wrap: nowrap;
	min-width: 0;
}
.ogc-tm__stats-count strong {
	color: var(--tm-primary);
	font-weight: 700;
}
.ogc-tm__stats-platform {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--tm-accent);
	font-weight: 600;
	text-decoration: none;
	transition: color .2s;
}
.ogc-tm__stats-platform:hover {
	color: var(--tm-primary);
}
.ogc-tm__stats-platform svg {
	width: 12px;
	height: 12px;
}

/* ═══════════════════════════════════════════
   STARS (universal)
   ═══════════════════════════════════════════ */
.ogc-tm__stars {
	display: inline-flex;
	gap: 2px;
	align-items: center;
}
.ogc-tm__star {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}
.ogc-tm__star--full path  { fill: var(--tm-star); }
.ogc-tm__star--empty path { fill: #e2e8f0; }
.ogc-tm__star--half {
	position: relative;
}
.ogc-tm__star--half path {
	fill: url(#tm-half) #e2e8f0;
	fill: linear-gradient(90deg, var(--tm-star) 50%, #e2e8f0 50%);
}
/* Fallback: half star solid */
.ogc-tm__star--half path { fill: var(--tm-star); }
.ogc-tm__star--half {
	background: linear-gradient(to right, var(--tm-star) 50%, transparent 50%);
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/></svg>");
	        mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/></svg>");
	-webkit-mask-size: contain;
	mask-size: contain;
}
.ogc-tm__star--half path { display: none; }

/* ═══════════════════════════════════════════
   CARD (used by all 3 layouts)
   ═══════════════════════════════════════════ */
.ogc-tm__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 28px 26px 24px;
	background: var(--tm-card-bg);
	border: 1px solid var(--tm-border);
	border-radius: var(--tm-radius);
	transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s, border-color .35s;
}
.ogc-tm__card:hover {
	transform: translateY(-4px);
	border-color: transparent;
	box-shadow: 0 18px 36px -16px rgba(15,23,41,.18);
}

/* Decorative quote mark — top-right, very subtle */
.ogc-tm__quote-mark {
	position: absolute;
	top: 18px;
	right: 22px;
	width: 42px;
	height: 42px;
	color: var(--tm-accent);
	opacity: 0.10;
	pointer-events: none;
	transition: opacity .35s, transform .35s;
}
.ogc-tm__card:hover .ogc-tm__quote-mark {
	opacity: 0.16;
	transform: scale(1.08) rotate(-4deg);
}

/* Rating + date row */
.ogc-tm__card-rating {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.ogc-tm__card-date {
	font-size: 12px;
	color: var(--tm-muted);
	font-weight: 500;
}

/* Quote */
.ogc-tm__card-quote {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--tm-text);
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-style: normal;
	flex: 1;
	border: none;
	padding: 0;
	quotes: '"\201C""\201D"';
}
.ogc-tm__card-quote::before { content: open-quote; color: var(--tm-accent); font-weight: 700; }
.ogc-tm__card-quote::after  { content: close-quote; color: var(--tm-accent); font-weight: 700; }

/* Featured: bigger */
.ogc-tm__card--featured .ogc-tm__card-quote {
	font-size: 17px;
	line-height: 1.6;
	-webkit-line-clamp: 10;
}
.ogc-tm__card--featured {
	padding: 36px 34px 30px;
}
.ogc-tm__card--featured .ogc-tm__quote-mark {
	width: 56px;
	height: 56px;
	top: 22px;
	right: 26px;
	opacity: 0.13;
}

/* Footer (avatar + meta + platform) */
.ogc-tm__card-footer {
	display: grid;
	grid-template-columns: 44px 1fr auto;
	gap: 12px;
	align-items: center;
	padding-top: 16px;
	border-top: 1px solid var(--tm-border);
	margin-top: auto;
}
.ogc-tm__card-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--tm-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.ogc-tm__card-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ogc-tm__card-initials {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.ogc-tm__card-meta {
	min-width: 0;
}
.ogc-tm__card-name {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--tm-primary);
	line-height: 1.2;
	margin-bottom: 3px;
}
.ogc-tm__verified {
	display: inline-flex;
	color: var(--tm-verified);
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}
.ogc-tm__verified svg {
	width: 100%;
	height: 100%;
}
.ogc-tm__card-sub {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--tm-muted);
	flex-wrap: wrap;
	line-height: 1.3;
}
.ogc-tm__card-loc {
	font-weight: 500;
}
.ogc-tm__card-vehicle {
	font-weight: 500;
	color: var(--tm-text);
}
.ogc-tm__card-dot {
	color: var(--tm-border);
}

/* Platform badge */
.ogc-tm__card-platform {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}
.ogc-tm__card-platform svg {
	width: 100%;
	height: 100%;
}
.ogc-tm__platform-text {
	font-size: 10px;
	font-weight: 800;
	color: var(--tm-accent);
	letter-spacing: 0;
}

/* ═══════════════════════════════════════════
   LAYOUT 1 — GRID
   ═══════════════════════════════════════════ */
.ogc-tm__grid {
	display: grid;
	grid-template-columns: repeat(var(--tm-cols, 3), 1fr);
	gap: 22px;
}

/* ═══════════════════════════════════════════
   LAYOUT 2 — SLIDER (CSS scroll-snap + JS nav)
   ═══════════════════════════════════════════ */
.ogc-tm__slider {
	position: relative;
}
.ogc-tm__slider-track {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 8px 4px 24px;
	margin: 0 -4px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.ogc-tm__slider-track::-webkit-scrollbar { display: none; }

.ogc-tm__slider-slide {
	flex: 0 0 calc((100% - 22px * 2) / 3);
	scroll-snap-align: center;
	min-width: 0;
	display: flex;
}
.ogc-tm__slider-slide .ogc-tm__card {
	width: 100%;
}

/* Nav buttons */
.ogc-tm__slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--tm-card-bg);
	border: 1px solid var(--tm-border);
	box-shadow: 0 8px 22px -10px rgba(15,23,41,.2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--tm-primary);
	cursor: pointer;
	z-index: 2;
	transition: background .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.ogc-tm__slider-nav:hover {
	background: var(--tm-accent);
	color: #fff;
	border-color: transparent;
	transform: translateY(-50%) scale(1.08);
	box-shadow: 0 14px 30px -12px rgba(225,12,20,.5);
}
.ogc-tm__slider-nav:focus-visible {
	outline: 3px solid var(--tm-accent);
	outline-offset: 2px;
}
.ogc-tm__slider-nav svg {
	width: 18px;
	height: 18px;
}
.ogc-tm__slider-nav--prev { left: -22px; }
.ogc-tm__slider-nav--next { right: -22px; }

/* Dots */
.ogc-tm__slider-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
}
.ogc-tm__slider-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--tm-border);
	border: 0;
	padding: 0;
	cursor: pointer;
	transition: background .25s, transform .25s, width .35s;
}
.ogc-tm__slider-dot:hover { background: var(--tm-accent-2); }
.ogc-tm__slider-dot.is-active {
	background: var(--tm-accent);
	width: 26px;
	border-radius: 999px;
}
.ogc-tm__slider-dot:focus-visible {
	outline: 2px solid var(--tm-accent);
	outline-offset: 3px;
}

/* ═══════════════════════════════════════════
   LAYOUT 3 — FEATURED (1 big + 3 small)
   ═══════════════════════════════════════════ */
.ogc-tm__featured {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 24px;
	align-items: stretch;
}
.ogc-tm__featured-main {
	display: flex;
}
.ogc-tm__featured-main .ogc-tm__card {
	width: 100%;
}
.ogc-tm__featured-side {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.ogc-tm__featured-side .ogc-tm__card {
	padding: 22px 22px 18px;
}
.ogc-tm__featured-side .ogc-tm__card-quote {
	-webkit-line-clamp: 4;
	font-size: 13.5px;
}
.ogc-tm__featured-side .ogc-tm__quote-mark {
	width: 32px;
	height: 32px;
	top: 14px;
	right: 16px;
}

/* ═══════════════════════════════════════════
   BOTTOM CTA
   ═══════════════════════════════════════════ */
.ogc-tm__bottom {
	margin-top: 56px;
	text-align: center;
}
.ogc-tm__bottom-text {
	font-size: 16px;
	color: var(--tm-muted);
	margin: 0 0 16px;
}
.ogc-tm__bottom-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--tm-accent);
	color: #fff;
	padding: 14px 30px;
	border-radius: 999px;
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none;
	transition: transform .25s, box-shadow .25s, background .25s, color .25s;
	box-shadow: 0 8px 22px rgba(225,12,20,.4);
}
.ogc-tm__bottom-btn svg,
.ogc-tm__bottom-btn i {
	width: 14px; height: 14px; font-size: 14px;
	color: #fff !important;
	fill: #fff !important;
	transition: transform .25s;
}
.ogc-tm__bottom-btn:hover {
	background: var(--tm-primary);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(15,23,41,.25);
}
.ogc-tm__bottom-btn:hover svg { transform: translateX(4px); }

/* ═══════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
	.ogc-tm__card,
	.ogc-tm__slider-nav,
	.ogc-tm__slider-dot,
	.ogc-tm__bottom-btn {
		transition: none;
	}
	.ogc-tm__card:hover {
		transform: none;
	}
	.ogc-tm__slider-track {
		scroll-behavior: auto;
	}
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
	.ogc-tm {
		padding: 60px 22px;
	}
	.ogc-tm__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.ogc-tm__featured {
		grid-template-columns: 1fr;
	}
	.ogc-tm__slider-slide {
		flex: 0 0 calc((100% - 22px) / 2);
	}
	.ogc-tm__slider-nav--prev { left: -8px; }
	.ogc-tm__slider-nav--next { right: -8px; }
}

@media (max-width: 720px) {
	.ogc-tm {
		padding: 48px 16px;
	}
	.ogc-tm__header {
		margin-bottom: 22px;
	}
	.ogc-tm__title {
		font-size: 26px;
	}
	.ogc-tm__subtitle {
		font-size: 14px;
	}

	/* Stats strip — wrap onto two lines on mobile */
	.ogc-tm__stats {
		gap: 14px;
		padding: 12px 18px;
		margin-bottom: 32px;
		flex-wrap: wrap;
		justify-content: center;
		max-width: calc(100% - 12px);
	}
	.ogc-tm__stats-num {
		font-size: 22px;
	}
	.ogc-tm__stats-info {
		border-left: 0;
		padding-left: 0;
		font-size: 12.5px;
		gap: 10px;
		justify-content: center;
		width: 100%;
	}

	/* Grid → single col */
	.ogc-tm__grid {
		grid-template-columns: 1fr !important;
		gap: 14px;
	}

	/* Card mobile compact */
	.ogc-tm__card {
		padding: 22px 20px 18px;
		gap: 14px;
	}
	.ogc-tm__card--featured {
		padding: 24px 20px 20px;
	}
	.ogc-tm__card--featured .ogc-tm__card-quote {
		font-size: 15px;
		-webkit-line-clamp: 8;
	}
	.ogc-tm__card-quote {
		font-size: 14px;
		-webkit-line-clamp: 6;
	}
	.ogc-tm__quote-mark {
		width: 32px;
		height: 32px;
		top: 14px;
		right: 14px;
	}

	/* Slider mobile — 1 card visible */
	.ogc-tm__slider-track {
		gap: 14px;
		padding: 4px 16px 18px;
		margin: 0 -16px;
	}
	.ogc-tm__slider-slide {
		flex: 0 0 calc(100% - 32px);
	}
	.ogc-tm__slider-nav {
		display: none;
	}
	.ogc-tm__slider-dots {
		margin-top: 12px;
	}

	/* Featured side cards on mobile fold into grid */
	.ogc-tm__featured-side {
		gap: 12px;
	}
	.ogc-tm__featured-side .ogc-tm__card {
		padding: 18px 18px 16px;
	}

	/* Card footer — verified badge always visible */
	.ogc-tm__card-footer {
		grid-template-columns: 40px 1fr auto;
		gap: 10px;
	}
	.ogc-tm__card-avatar {
		width: 40px;
		height: 40px;
	}
	.ogc-tm__card-name {
		font-size: 13.5px;
	}
	.ogc-tm__card-sub {
		font-size: 11.5px;
	}

	/* Bottom CTA */
	.ogc-tm__bottom {
		margin-top: 32px;
	}
	.ogc-tm__bottom-btn {
		padding: 12px 22px;
		font-size: 13.5px;
	}
}

@media (max-width: 420px) {
	.ogc-tm {
		padding: 40px 14px;
	}
	.ogc-tm__title {
		font-size: 22px;
	}
	.ogc-tm__stats {
		padding: 10px 14px;
	}
	.ogc-tm__stats-num {
		font-size: 20px;
	}
	.ogc-tm__stats-stars .ogc-tm__star {
		width: 15px;
		height: 15px;
	}

	.ogc-tm__card {
		padding: 18px 16px 14px;
	}
	.ogc-tm__card-quote {
		font-size: 13.5px;
	}
	.ogc-tm__card-footer {
		grid-template-columns: 36px 1fr auto;
	}
	.ogc-tm__card-avatar {
		width: 36px;
		height: 36px;
	}
	.ogc-tm__card-initials {
		font-size: 12.5px;
	}

	/* Slider — 100% on smallest */
	.ogc-tm__slider-slide {
		flex: 0 0 calc(100% - 28px);
	}
}
