/* =============================================================================
   Widget: Profic Cards numeradas
   Figma Prueba-WPFIG — Desktop 2245:6294 (1280×1137)

   Desktop 1280: header título 45 · subtítulo 18/1.5 (744, caja 81 = 3×27) · gap 36
                 cuerpo pad 120 90 · cards flex-wrap gap 20 · card 540 (min 448) pad 0 40 40
   Tablet   800: título 36 · subtítulo 17 · cuerpo pad 80 30 120 · 1 columna (no entran 2×448)
   Mobile   375: título 34 · subtítulo 14 · cuerpo pad 60 14 120 · card pad 0 24 30 · número 64
   ============================================================================= */

.elementor-widget-profic_cards_numeradas > .elementor-widget-container {
	margin: 0;
	padding: 0;
}

.profic-cnum {
	--cnum-cols: 2;
	--cnum-gap: 20px;
	position: relative;
	width: 100%;
	padding: 0;
	box-sizing: border-box;
	overflow-x: clip;
	background-color: transparent;
	color: #fff;
	font-family: "Amsi Pro", sans-serif;
}

.profic-cnum__inner {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
}

/* ---------- Cabecera ---------- */

.profic-cnum__header {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 36px;
	padding: 0 14px;
}

.profic-cnum .profic-cnum__title {
	margin: 0;
	color: inherit;
	font-family: inherit;
	font-size: 34px;
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: 0;
	text-align: center;
}

.profic-cnum .profic-cnum__subtitle {
	max-width: 744px;
	margin: 0;
	color: inherit;
	font-family: inherit;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.5;
	letter-spacing: 0.01em;
	text-align: center;
}

@media (min-width: 800px) {
	.profic-cnum__header {
		padding: 0 30px;
	}

	.profic-cnum .profic-cnum__title {
		font-size: 36px;
	}

	.profic-cnum .profic-cnum__subtitle {
		max-width: 628px;
		font-size: 17px;
	}
}

@media (min-width: 1280px) {
	.profic-cnum__header {
		padding: 0;
	}

	.profic-cnum .profic-cnum__title {
		font-size: 45px;
	}

	.profic-cnum .profic-cnum__subtitle {
		max-width: 744px;
		font-size: 18px;
	}
}

/* ---------- Cuerpo + brillos (Figma layer blur 119.9 → CSS blur 59.95) ---------- */

.profic-cnum__body {
	position: relative;
	padding: 60px 14px 120px;
}

@media (min-width: 800px) {
	.profic-cnum__body {
		padding: 80px 30px 120px;
	}
}

@media (min-width: 1280px) {
	.profic-cnum__body {
		padding: 120px 90px;
	}
}

.profic-cnum__glows {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.profic-cnum__bg-glow {
	position: absolute;
	background: #5d0fec;
	opacity: 0.42;
	filter: blur(59.95px);
}

.profic-cnum__bg-glow--top {
	left: calc(50% - 640px + 383px);
	top: -264px;
	width: 464px;
	height: 257px;
}

.profic-cnum__bg-glow--left {
	left: -122.5px;
	top: 53px;
	width: 257px;
	height: 464px;
}

.profic-cnum__bg-glow--right {
	right: -144.5px;
	top: 499.5px;
	width: 257px;
	height: 464px;
}

@media (max-width: 1279px) {
	.profic-cnum__bg-glow--top {
		left: calc(50% - 232px);
	}
}

/* ---------- Grilla ---------- */

.profic-cnum .profic-cnum__grid {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--cnum-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 800px) {
	.profic-cnum .profic-cnum__grid {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
		justify-content: center;
	}

	.profic-cnum__card {
		flex: 1 0 calc((100% - (var(--cnum-cols) - 1) * var(--cnum-gap)) / var(--cnum-cols));
		min-width: 448px;
	}
}

@media (min-width: 1280px) {
	.profic-cnum__card {
		min-width: 0;
	}
}

/* ---------- Card ---------- */

.profic-cnum__card {
	position: relative;
	display: flex;
	margin: 0;
	padding: 0 24px 30px;
	box-sizing: border-box;
	overflow: hidden;
	isolation: isolate;
	border-radius: 21px;
	background: rgba(255, 255, 255, 0.01);
	box-shadow: 0 4px 7px rgba(0, 21, 159, 0.1);
	transition: background-color 0.45s ease, box-shadow 0.45s ease;
}

@media (min-width: 800px) {
	.profic-cnum__card {
		padding: 0 40px 40px;
	}
}

/* Ellipse 6: 538×148 en (-13, 222) + blur 183.1 → svg 904.2×514.2 en (-196.1, 38.9) */
.profic-cnum .profic-cnum__glow {
	position: absolute;
	left: -196.1px;
	top: 38.9px;
	z-index: -1;
	width: 904.2px;
	max-width: none;
	height: 514.2px;
	pointer-events: none;
	transition: transform 0.45s ease, opacity 0.45s ease;
}

.profic-cnum__info {
	display: flex;
	flex: 1 0 0;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.profic-cnum__number {
	display: flex;
	align-items: center;
	height: 100px;
	padding-top: 16px;
	box-sizing: border-box;
	color: #5d0fec;
	font-size: 64px;
	font-weight: 200;
	line-height: 1.5;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

@media (min-width: 800px) {
	.profic-cnum__number {
		height: 131px;
		padding-top: 20px;
		font-size: 82px;
	}
}

.profic-cnum__texts {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

@media (min-width: 800px) {
	.profic-cnum__texts {
		gap: 30px;
	}
}

.profic-cnum .profic-cnum__card-title {
	margin: 0;
	color: #fff;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
}

.profic-cnum .profic-cnum__card-text {
	margin: 0;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.5;
	letter-spacing: 0.01em;
}

@media (min-width: 800px) {
	.profic-cnum .profic-cnum__card-title {
		font-size: 20px;
	}

	.profic-cnum .profic-cnum__card-text {
		font-size: 17px;
	}
}

/* ---------- Hover ---------- */

.profic-cnum--hover .profic-cnum__card::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1.5px solid transparent;
	border-radius: inherit;
	pointer-events: none;
	transition: border-color 0.45s ease;
}

.profic-cnum--hover .profic-cnum__card:hover {
	background: rgba(255, 255, 255, 0.03);
	box-shadow:
		0 0 10px rgba(93, 15, 236, 0.6),
		0 0 28px rgba(93, 15, 236, 0.32);
}

.profic-cnum--hover .profic-cnum__card:hover::after {
	border-color: color-mix(in srgb, #5d0fec 72%, white 28%);
}

.profic-cnum--hover .profic-cnum__card:hover .profic-cnum__glow {
	transform: translateY(-30px) scale(1.15);
}

@media (prefers-reduced-motion: reduce) {
	.profic-cnum__card,
	.profic-cnum__card::after,
	.profic-cnum .profic-cnum__glow {
		transition-duration: 0.01ms !important;
	}
}
