.emy-testimonials-section {
	position: relative;
	padding: 120px 0;
	background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
	overflow: hidden;
}

[data-theme="dark"] .emy-testimonials-section {
	background:
		linear-gradient(180deg, rgba(15, 23, 42, 1) 0%, rgba(30, 41, 59, 0.35) 100%);
}

.emy-testimonials-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.08), transparent 30%),
		radial-gradient(circle at 85% 80%, rgba(34, 211, 238, 0.06), transparent 30%);
	pointer-events: none;
}

[data-theme="dark"] .emy-testimonials-section::before {
	background:
		radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.14), transparent 30%),
		radial-gradient(circle at 85% 80%, rgba(34, 211, 238, 0.10), transparent 30%);
}

.emy-testimonials-container {
	position: relative;
	z-index: 2;
}

.emy-testimonials-header {
	max-width: 900px;
	margin: 0 auto 70px;
}

.emy-testimonials-badge {
	display: inline-block;
	margin-bottom: 18px;
	color: #0284c7;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 3px;
	text-transform: uppercase;
}

[data-theme="dark"] .emy-testimonials-badge {
	color: #22d3ee;
}

.emy-testimonials-title {
	margin: 0;
	font-size: clamp(2.2rem, 4vw, 4.5rem);
	font-weight: 900;
	color: #0f172a;
	letter-spacing: -0.03em;
}

[data-theme="dark"] .emy-testimonials-title {
	color: #ffffff;
}

.emy-testimonials-title span {
	background: var(--emy-gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.emy-testimonials-divider {
	width: 90px;
	height: 4px;
	margin: 24px auto 0;
	border-radius: 999px;
	background: var(--emy-gradient-line);
}

.emy-testimonial-card {
	position: relative;
	padding: 34px 30px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(148, 163, 184, 0.14);
	backdrop-filter: blur(14px);
	transition: all 0.35s ease;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] .emy-testimonial-card {
	background: rgba(15, 23, 42, 0.78);
	box-shadow: none;
}

.emy-testimonial-quote {
	font-size: 3.2rem;
	line-height: 1;
	color: rgba(59, 130, 246, 0.18);
	margin-bottom: 16px;
}

.emy-testimonial-stars {
	display: flex;
	gap: 4px;
	margin-bottom: 20px;
}

.emy-testimonial-stars i {
	color: #facc15;
	font-size: 1rem;
}

.emy-testimonial-text {
	color: rgba(15, 23, 42, 0.78);
	font-size: 0.98rem;
	line-height: 1.9;
	margin-bottom: 28px;
	min-height: 170px;
}

[data-theme="dark"] .emy-testimonial-text {
	color: rgba(226, 232, 240, 0.82);
}

.emy-testimonial-footer {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 20px;
	border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.emy-testimonial-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--emy-gradient-dropdown-active);
	color: #ffffff;
	font-size: 1.1rem;
	font-weight: 900;
	flex-shrink: 0;
	box-shadow: 0 10px 25px var(--emy-glow-blue);
}

.emy-testimonial-user {
	min-width: 0;
}

.emy-testimonial-name {
	color: #0f172a;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.3;
}

[data-theme="dark"] .emy-testimonial-name {
	color: #ffffff;
}

.emy-testimonial-role {
	color: rgba(71, 85, 105, 0.82);
	font-size: 0.82rem;
	line-height: 1.5;
	margin-top: 4px;
}

[data-theme="dark"] .emy-testimonial-role {
	color: rgba(148, 163, 184, 0.82);
}

@media (max-width: 991px) {
	.emy-testimonials-section {
		padding: 95px 0;
	}

	.emy-testimonial-text {
		min-height: auto;
	}
}

@media (max-width: 575px) {
	.emy-testimonial-card {
		padding: 28px 22px;
	}
}

/* ========= TESTIMONIALS HUMAN CINEMATIC ========= */
.emy-testimonials-section::after {
	content: '';
	position: absolute;
	inset: -10%;
	background:
		radial-gradient(circle at center, rgba(255,255,255,0.18), transparent 60%);
	opacity: 0;
	transform: scale(1.12);
	transition:
		opacity 1.8s ease,
		transform 2.8s ease;
	pointer-events: none;
}

.emy-testimonials-section.emy-section-visible::after {
	opacity: 1;
	transform: scale(1);
}

/* Header */
.emy-testimonials-header .emy-reveal-item {
	opacity: 0;
	transform: translateY(32px);
	filter: blur(8px);
}

/* Cards */
.emy-testimonial-card.emy-reveal-item {
	opacity: 0;
	transform:
		translateY(42px)
		scale(0.97);
	filter: blur(10px);
	transition:
		opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1),
		transform 1.35s cubic-bezier(0.19, 1, 0.22, 1),
		filter 1.1s ease;
}

/* Activación */
.emy-reveal-group.emy-reveal-active .emy-testimonial-card.emy-reveal-item,
.emy-reveal-group.emy-reveal-active .emy-testimonials-header .emy-reveal-item,
.emy-reveal-group.emy-reveal-active .emy-reveal-item {
	opacity: 1;
	transform: translateY(0) scale(1);
	filter: blur(0);
}

/* Hover emocional */
.emy-testimonial-card:hover {
	transform: translateY(-10px) scale(1.015);
}

/* Quote glow */
.emy-testimonial-quote {
	transition:
		transform 0.4s ease,
		color 0.4s ease;
}

.emy-testimonial-card:hover .emy-testimonial-quote {
	transform: translateY(-4px) scale(1.08);
	color: rgba(59, 130, 246, 0.28);
}

/* Avatar breathing */
.emy-testimonial-avatar {
	transition:
		transform 0.35s ease,
		box-shadow 0.35s ease;
}

.emy-testimonial-card:hover .emy-testimonial-avatar {
	transform: scale(1.08);
	box-shadow: 0 16px 34px var(--emy-glow-cyan);
}

/* Card glow */
.emy-testimonial-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			135deg,
			rgba(255,255,255,0.00),
			rgba(255,255,255,0.05),
			rgba(34,211,238,0.04),
			rgba(255,255,255,0.00)
		);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.emy-testimonial-card:hover::before {
	opacity: 1;
}

/* Performance */
.emy-testimonials-section .emy-reveal-group {
	will-change: transform, opacity;
}

html:not([data-theme="dark"]) .emy-reveal-group.emy-reveal-active .emy-testimonial-card:hover {
	border-color: rgba(37, 99, 235, 0.58);
	background: rgba(255, 255, 255, 0.94);
	box-shadow:
		0 28px 64px rgba(37, 99, 235, 0.16),
		0 0 0 4px rgba(6, 182, 212, 0.16);
}

html:not([data-theme="dark"]) .emy-testimonial-card:hover .emy-testimonial-quote {
	color: rgba(37, 99, 235, 0.34);
}

html:not([data-theme="dark"]) .emy-testimonial-card:hover .emy-testimonial-avatar {
	box-shadow:
		0 16px 34px rgba(37, 99, 235, 0.32),
		0 0 0 4px rgba(6, 182, 212, 0.14);
}