/* =============================================================================
   Widget: Profic Diferencial SEO
   Tokens desde Figma Sites (extracción DIFERENCIALES) + frames Design 258:*

   Línea: track 1px opacity .2 + fill neon + blur 6px (scaleY scrub)
   Cards: bg #090511 · radius 24 · border #4700d6 .5px · h 220/260/300
          w ~380 / 600 / 800 · gap stack 80/100/150
   Icons Lucide stroke .5 · 56/64/80 · gradient #4700d6→#7235eb
   ============================================================================= */

.elementor-widget-profic_diferencial_seo,
.elementor-widget-profic_diferencial_seo:not(:last-child),
.elementor-widget-profic_diferencial_seo > .elementor-widget-container {
	margin: 0 !important;
	margin-block-end: 0 !important;
	padding: 0 !important;
}

.profic-dseo-section {
	--dseo-accent: #5d0fec;
	--dseo-border: #4700d6;
	--dseo-icon-a: #4700d6;
	--dseo-icon-b: #7235eb;
	--dseo-card-bg: #090511;
	position: relative;
	width: 100%;
	/* Section outer (Design frame) + Sites content pad combined */
	padding: 120px 20px;
	box-sizing: border-box;
	overflow: visible;
	isolation: isolate;
	background: transparent;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 60px;
}

@media (min-width: 800px) {
	.profic-dseo-section {
		padding: 120px 60px;
	}
}

@media (min-width: 1280px) {
	.profic-dseo-section {
		padding: 120px 199px 2px;
	}
}

.profic-dseo-bg-grad {
	position: absolute;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: cover;
	filter: blur(187px);
	z-index: 0;
	opacity: 0.85;
	width: 1200px;
	height: 900px;
	left: 50%;
	top: 40%;
	transform: translateX(-50%);
}

/* Cabecera */
.profic-dseo-header {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 335px;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 40px;
}

@media (min-width: 800px) {
	.profic-dseo-header {
		max-width: 696px;
		gap: 60px;
	}
}

@media (min-width: 1280px) {
	.profic-dseo-header {
		max-width: 898px;
		gap: 60px;
	}
}

.profic-dseo-section .profic-dseo-title,
.profic-dseo-section h2.profic-dseo-title {
	margin: 0;
	padding: 0;
	width: 100%;
	font-family: "Amsi Pro", sans-serif;
	font-weight: 200;
	font-style: normal;
	font-size: 36px;
	line-height: 1.18;
	color: #ffffff;
	text-align: center;
}

@media (min-width: 800px) {
	.profic-dseo-section .profic-dseo-title,
	.profic-dseo-section h2.profic-dseo-title {
		font-size: 40px;
		line-height: 1.16;
	}
}

@media (min-width: 1280px) {
	.profic-dseo-section .profic-dseo-title,
	.profic-dseo-section h2.profic-dseo-title {
		font-size: 48px;
		line-height: 1.18;
	}
}

.profic-dseo-subtitle {
	width: 100%;
	max-width: 335px;
	display: flex;
	flex-direction: column;
	gap: 1em;
	box-sizing: border-box;
}

@media (min-width: 800px) {
	.profic-dseo-subtitle {
		max-width: 696px;
	}
}

@media (min-width: 1280px) {
	.profic-dseo-subtitle {
		max-width: 718px;
	}
}

.profic-dseo-section .profic-dseo-subtitle p {
	margin: 0;
	padding: 0;
	font-family: "Amsi Pro", sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: 0.01em;
	color: #d8d8d8;
	text-align: center;
}

@media (min-width: 800px) {
	.profic-dseo-section .profic-dseo-subtitle p {
		font-size: 17px;
	}
}

/* Fases — Sites: gap 80 / 100 / 150 */
/* Stack DIFERENCIALES — Figma 1296×3496 (desktop):
   padding 248×2 + 7×300 + 6×150 = 3496. La línea ocupa el 100% de esa altura. */
.profic-dseo-phases {
	position: relative;
	z-index: 4;
	width: 100%;
	max-width: 380px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 80px;
	padding: 120px 0;
	box-sizing: border-box;
	perspective: 1200px;
}

@media (min-width: 800px) {
	.profic-dseo-phases {
		max-width: 696px;
		gap: 100px;
		padding: 160px 0;
	}
}

@media (min-width: 1280px) {
	.profic-dseo-phases {
		max-width: 1296px;
		min-height: 3496px;
		gap: 150px;
		padding: 248px 0;
	}
}

/* Línea: largo = altura total del bloque DIFERENCIALES (no solo las cards) */
.profic-dseo-phases-line {
	position: absolute;
	left: 50%;
	top: 0;
	height: 100%;
	width: 1px;
	transform: translateX(-50%);
	pointer-events: none;
	z-index: 0;
}

.profic-dseo-phases-line-track {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		transparent 0%,
		rgb(93, 15, 236) 8%,
		rgb(93, 15, 236) 92%,
		transparent 100%
	);
	opacity: 0.2;
}

.profic-dseo-phases-line-fill,
.profic-dseo-phases-line-blur {
	position: absolute;
	left: 50%;
	top: 0;
	height: 100%;
	transform: translateX(-50%) scaleY(0);
	transform-origin: top center;
	will-change: transform;
}

.profic-dseo-phases-line-fill {
	width: 1px;
	background: linear-gradient(
		transparent 0%,
		rgb(93, 15, 236) 8%,
		rgb(93, 15, 236) 92%,
		transparent 100%
	);
	box-shadow:
		0 0 15px rgba(93, 15, 236, 0.7),
		0 0 30px rgba(93, 15, 236, 0.4);
}

.profic-dseo-phases-line-blur {
	width: 6px;
	background: linear-gradient(
		transparent 0%,
		rgba(93, 15, 236, 0.5) 8%,
		rgba(93, 15, 236, 0.5) 92%,
		transparent 100%
	);
	filter: blur(4px);
}

/* Card wrapper (perspective host)
   opacity 0 por defecto → sin JS/antes del scroll no tapa el rayo neón */
.profic-dseo-card-wrap {
	align-self: center;
	width: 100%;
	max-width: 100%;
	transform-style: preserve-3d;
	perspective: 1200px;
	position: relative;
	z-index: 1;
	opacity: 0;
}

.profic-dseo-card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 380px;
	min-height: 220px;
	margin: 0 auto;
	box-sizing: border-box;
	background: var(--dseo-card-bg);
	border-radius: 24px;
	overflow: visible;
	transform-style: preserve-3d;
	backface-visibility: hidden;
	will-change: transform, opacity, filter;
	box-shadow: rgba(0, 0, 0, 0.45) 0 -16px 29.5px;
	transition: box-shadow 0.4s ease;
}

@media (min-width: 800px) {
	.profic-dseo-card {
		max-width: 600px;
		height: 260px;
		min-height: 260px;
	}
}

@media (min-width: 1280px) {
	.profic-dseo-card {
		max-width: 800px;
		height: 300px;
		min-height: 300px;
	}
}

.profic-dseo-card-border {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	z-index: 3;
	border: 0.5px solid var(--dseo-border);
	opacity: 0.55;
	transition: opacity 0.35s ease, box-shadow 0.45s ease;
}

.profic-dseo-card.is-neon {
	box-shadow:
		rgba(93, 15, 236, 0.2) 0 0 15px,
		rgba(93, 15, 236, 0.08) 0 0 30px,
		rgba(0, 0, 0, 0.45) 0 -16px 29.5px;
}

.profic-dseo-card.is-neon .profic-dseo-card-border {
	opacity: 1;
	box-shadow:
		0 0 15px rgba(93, 15, 236, 0.35),
		inset 0 0 20px rgba(93, 15, 236, 0.08);
}

.profic-dseo-card-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 40px;
	padding: 50px 40px;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
}

@media (min-width: 800px) {
	.profic-dseo-card-inner {
		flex-direction: row;
		align-items: center;
		gap: 60px;
		padding: 42px 60px;
	}
}

@media (min-width: 1280px) {
	.profic-dseo-card-inner {
		gap: 80px;
		padding: 50px 80px;
	}
}

.profic-dseo-card-icon {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	transform-origin: center center;
	transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profic-dseo-card:hover .profic-dseo-card-icon {
	transform: scale(1.15) rotate(5deg);
}

@media (min-width: 800px) {
	.profic-dseo-card-icon {
		width: 64px;
		height: 64px;
	}
}

@media (min-width: 1280px) {
	.profic-dseo-card-icon {
		width: 80px;
		height: 80px;
	}
}

.profic-dseo-svg {
	display: block;
	width: 100%;
	height: 100%;
}

.profic-dseo-card-custom-icon {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.profic-dseo-card-texts {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

@media (min-width: 800px) {
	.profic-dseo-card-texts {
		align-items: flex-start;
		gap: 32px;
	}
}

@media (min-width: 1280px) {
	.profic-dseo-card-texts {
		gap: 40px;
	}
}

.profic-dseo-section .profic-dseo-card-title,
.profic-dseo-section h3.profic-dseo-card-title {
	margin: 0;
	padding: 0;
	width: 100%;
	font-family: "Amsi Pro", sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: 17px;
	line-height: 1.2;
	color: #ffffff;
	text-align: center;
}

@media (min-width: 800px) {
	.profic-dseo-section .profic-dseo-card-title,
	.profic-dseo-section h3.profic-dseo-card-title {
		font-size: 20px;
		line-height: 1.1;
		text-align: left;
	}
}

@media (min-width: 1280px) {
	.profic-dseo-section .profic-dseo-card-title,
	.profic-dseo-section h3.profic-dseo-card-title {
		font-size: 24px;
		line-height: 1;
	}
}

.profic-dseo-section .profic-dseo-card-desc,
.profic-dseo-section p.profic-dseo-card-desc {
	margin: 0;
	padding: 0;
	width: 100%;
	font-family: "Amsi Pro", sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 13px;
	line-height: 1.6;
	color: #ffffff;
	text-align: center;
}

@media (min-width: 800px) {
	.profic-dseo-section .profic-dseo-card-desc,
	.profic-dseo-section p.profic-dseo-card-desc {
		font-size: 15px;
		line-height: 1.7;
		text-align: left;
	}
}

@media (min-width: 1280px) {
	.profic-dseo-section .profic-dseo-card-desc,
	.profic-dseo-section p.profic-dseo-card-desc {
		font-size: 18px;
		line-height: 1.8;
	}
}

@media (prefers-reduced-motion: reduce) {
	.profic-dseo-card-wrap,
	.profic-dseo-card {
		transform: none !important;
		opacity: 1 !important;
		visibility: visible !important;
		filter: none !important;
	}

	.profic-dseo-card:hover .profic-dseo-card-icon {
		transform: none;
	}

	.profic-dseo-card.is-neon,
	.profic-dseo-card {
		box-shadow:
			rgba(93, 15, 236, 0.2) 0 0 15px,
			rgba(93, 15, 236, 0.08) 0 0 30px,
			rgba(0, 0, 0, 0.45) 0 -16px 29.5px;
	}

	.profic-dseo-card-border {
		opacity: 1;
	}

	.profic-dseo-phases-line-fill,
	.profic-dseo-phases-line-blur {
		transform: translateX(-50%) scaleY(1) !important;
	}
}
