.emy-services-section {
	position: relative;
	padding: 120px 0;
	background:
		radial-gradient(circle at top left, rgba(6, 182, 212, 0.06), transparent 28%),
		linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
	overflow: hidden;
}

[data-theme="dark"] .emy-services-section {
	background:
		radial-gradient(circle at top left, rgba(6, 182, 212, 0.10), transparent 28%),
		linear-gradient(180deg, #111827 0%, #0b1120 100%);
}

.emy-services-glow {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08), transparent 28%),
		radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.06), transparent 30%);
	pointer-events: none;
}

[data-theme="dark"] .emy-services-glow {
	background:
		radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.14), transparent 28%),
		radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.10), transparent 30%);
}

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

.emy-services-header {
	max-width: 850px;
	margin: 0 auto 70px;
}

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

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

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

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

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

.emy-services-subtitle {
	max-width: 720px;
	margin: 22px auto 0;
	color: rgba(15, 23, 42, 0.72);
	font-size: 1.08rem;
	line-height: 1.8;
}

[data-theme="dark"] .emy-services-subtitle {
	color: rgba(226, 232, 240, 0.74);
}

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

.emy-service-card {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(148, 163, 184, 0.16);
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
	transition: all 0.35s ease;
}

[data-theme="dark"] .emy-service-card {
	background: rgba(15, 23, 42, 0.82);
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.emy-service-card:hover {
	transform: translateY(-10px);
	border-color: rgba(34, 211, 238, 0.42);
	box-shadow: 0 25px 60px rgba(6, 182, 212, 0.16);
}

.emy-service-media {
	position: relative;
	height: 210px;
	overflow: hidden;
	background: rgba(226, 232, 240, 0.8);
}

[data-theme="dark"] .emy-service-media {
	background: rgba(15, 23, 42, 0.85);
}

.emy-service-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.emy-service-card:hover .emy-service-media img {
	transform: scale(1.08);
}

.emy-service-media-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at center, rgba(34, 211, 238, 0.14), transparent 35%),
		linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(168, 85, 247, 0.10), rgba(6, 182, 212, 0.10));
}

[data-theme="dark"] .emy-service-media-placeholder {
	background:
		radial-gradient(circle at center, rgba(34, 211, 238, 0.22), transparent 35%),
		linear-gradient(135deg, rgba(37, 99, 235, 0.20), rgba(168, 85, 247, 0.15), rgba(6, 182, 212, 0.16));
}

.emy-service-media-placeholder i {
	font-size: 5rem;
	color: rgba(37, 99, 235, 0.28);
}

[data-theme="dark"] .emy-service-media-placeholder i {
	color: rgba(96, 165, 250, 0.42);
}

.emy-service-media-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 10%, rgba(255, 255, 255, 0.88) 100%);
}

[data-theme="dark"] .emy-service-media-overlay {
	background: linear-gradient(180deg, transparent 10%, rgba(15, 23, 42, 0.88) 100%);
}

.emy-service-body {
	position: relative;
	padding: 0 28px 30px;
}

.emy-service-icon {
	width: 58px;
	height: 58px;
	margin-top: -29px;
	margin-bottom: 18px;
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 18px;
	color: #ffffff;
	font-size: 1.55rem;
	background: var(--emy-gradient-dropdown-active);
	box-shadow: 0 16px 34px var(--emy-glow-blue);
}

.emy-service-title {
	margin: 0 0 14px;
	color: #0f172a;
	font-size: 1.35rem;
	font-weight: 850;
}

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

.emy-service-text {
	margin: 0;
	color: rgba(15, 23, 42, 0.72);
	font-size: 0.98rem;
	line-height: 1.75;
}

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

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

	.emy-services-header {
		margin-bottom: 52px;
	}
}

@media (max-width: 575px) {
	.emy-services-section {
		padding: 76px 0;
	}

	.emy-service-media {
		height: 190px;
	}

	.emy-service-body {
		padding: 0 22px 26px;
	}
}

/* ========= SERVICES CINEMATIC FLOW ========= */
.emy-services-section::before {
	content: '';
	position: absolute;
	inset: -10%;
	background:
		radial-gradient(circle at center, rgba(37, 99, 235, 0.06), transparent 60%);
	opacity: 0;
	transform: scale(1.18);
	transition:
		opacity 1.8s ease,
		transform 2.8s ease;
	pointer-events: none;
}

.emy-services-section.emy-section-visible::before {
	opacity: 1;
	transform: scale(1);
}

/* Header texto */
.emy-services-header .emy-reveal-item {
	opacity: 0;
	transform: translateY(36px);
	filter: blur(10px);
}

/* Cards entrada diagonal premium */
.emy-service-card.emy-reveal-item {
	opacity: 0;
	transform:
		translateY(55px)
		translateX(18px)
		scale(0.96)
		rotateX(8deg);
	filter: blur(10px);
	transform-origin: center bottom;
	transition:
		opacity 1.1s cubic-bezier(0.19, 1, 0.22, 1),
		transform 1.4s cubic-bezier(0.19, 1, 0.22, 1),
		filter 1.2s ease,
		box-shadow 0.4s ease;
}

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

/* Hover más premium */
.emy-service-card:hover {
	transform: translateY(-14px) scale(1.02);
	border-color: rgba(34, 211, 238, 0.42);
	box-shadow: 0 25px 60px var(--emy-glow-cyan);
}

/* Glow dinámico */
.emy-service-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(255,255,255,0.00),
		rgba(255,255,255,0.08),
		rgba(34,211,238,0.08),
		rgba(255,255,255,0.00)
	);
	opacity: 0;
	transition: opacity 0.45s ease;
	pointer-events: none;
}

.emy-service-card:hover::after {
	opacity: 1;
}

/* Mejor rendimiento */
.emy-services-section .emy-reveal-group {
	will-change: transform, opacity;
}