/* =============================================================================
   Widget: Profic Partner SEO
   Figma Desktop 1:1032 / 2:433 — 1280×630
   ============================================================================= */

.elementor-widget-profic_partner,
.elementor-widget-profic_partner > .elementor-widget-container {
	overflow: visible !important;
}

.profic-partner-wrapper {
	position: relative;
	width: 100%;
	padding: 100px 24px;
	background-color: transparent;
	overflow: visible;
	isolation: auto;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 34px;
}

@media (min-width: 768px) {
	.profic-partner-wrapper {
		padding: 120px 48px;
		gap: 40px;
	}
}

@media (min-width: 1280px) {
	.profic-partner-wrapper {
		padding: 140px 80px;
		gap: 47px;
		min-height: 630px;
	}
}

/* Artboard 1280 anclado al centro — coords Figma Desktop */
.profic-partner-backgrounds {
	position: absolute;
	top: 0;
	left: 50%;
	width: 1280px;
	min-height: 630px;
	height: 100%;
	margin-left: -640px;
	pointer-events: none;
	z-index: 0;
	overflow: visible;
}

.profic-partner-backgrounds,
.profic-partner-line-bg {
	opacity: 1 !important;
}

.profic-partner-line-bg {
	position: absolute;
	pointer-events: none;
	display: none;
	overflow: visible;
}

.profic-partner-line-bg svg {
	display: block;
	width: 100%;
	height: 100%;
}

/* Desktop — FONDO-Línea 1:1033 @ 0,223.5 · vector 1:1034 @ -26,175.08 */
.profic-partner-line-bg.show-desktop {
	left: -26px;
	top: 398.58px;
	width: 1333px;
	height: 243px;
}

/* Tablet 800 — 1:1401 @ -264,212.58 */
.profic-partner-line-bg.show-tablet {
	left: -264px;
	top: 212.58px;
	width: 1333px;
	height: 243px;
}

/* Mobile 375 — 1:1766 @ -27.85,414.625 */
.profic-partner-line-bg.show-mobile {
	left: -27.85px;
	top: 414.625px;
	width: 430.71px;
	height: 102.53px;
}

@media (min-width: 768px) and (max-width: 1279px) {
	.profic-partner-backgrounds {
		width: 800px;
		margin-left: -400px;
		min-height: 601px;
	}

	.profic-partner-line-bg.show-desktop,
	.profic-partner-line-bg.show-mobile {
		display: none;
	}

	.profic-partner-line-bg.show-tablet {
		display: block;
	}
}

@media (min-width: 1280px) {
	.profic-partner-line-bg.show-desktop {
		display: block;
	}

	.profic-partner-line-bg.show-tablet,
	.profic-partner-line-bg.show-mobile {
		display: none;
	}
}

@media (max-width: 767px) {
	.profic-partner-backgrounds {
		width: 375px;
		margin-left: -187.5px;
		min-height: 635px;
	}

	.profic-partner-line-bg.show-desktop,
	.profic-partner-line-bg.show-tablet {
		display: none;
	}

	.profic-partner-line-bg.show-mobile {
		display: block;
	}
}

.profic-partner-icon-container {
	position: relative;
	width: 188.97px;
	height: 143.84px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.profic-partner-wrapper:hover .profic-partner-icon-container {
	transform: scale(1.04);
}

.profic-partner-icon-container svg {
	width: 100%;
	height: 100%;
	display: block;
}

.profic-partner-texts {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: center;
	z-index: 2;
	width: 100%;
	box-sizing: border-box;
}

.profic-partner-title {
	margin: 0;
	font-family: "Amsi Pro", sans-serif;
	font-weight: 300;
	font-size: 36px;
	line-height: 1.2;
	color: #ffffff;
}

.profic-partner-desc {
	margin: 0;
	font-family: "Amsi Pro", sans-serif;
	font-weight: 300;
	font-size: 15px;
	line-height: 1.55;
	color: #d8d8d8;
	max-width: 275px;
}

@media (min-width: 768px) {
	.profic-partner-title {
		font-size: 45px;
	}
	.profic-partner-desc {
		font-size: 17px;
		max-width: 560px;
	}
}

@media (min-width: 1280px) {
	.profic-partner-desc {
		max-width: 1040px;
	}
}

.profic-partner-action {
	position: relative;
	z-index: 2;
}

/* Contenido siempre visible */
.profic-partner-wrapper .profic-partner-icon-container,
.profic-partner-wrapper .profic-partner-title,
.profic-partner-wrapper .profic-partner-desc,
.profic-partner-wrapper .profic-partner-action {
	opacity: 1;
	transform: none;
}

@keyframes figmaPartnerOpacity {
	0% {
		opacity: 0;
		transform: translateY(35px) scale(0.93);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.profic-partner-wrapper.in-view .profic-partner-icon-container {
	animation: figmaPartnerOpacity 1.2s cubic-bezier(0.45, 1.45, 0.8, 1) forwards;
	animation-delay: 0.1s;
}

.profic-partner-wrapper.in-view .profic-partner-title {
	animation: figmaPartnerOpacity 1.2s cubic-bezier(0.45, 1.45, 0.8, 1) forwards;
	animation-delay: 0.2s;
}

.profic-partner-wrapper.in-view .profic-partner-desc {
	animation: figmaPartnerOpacity 1.2s cubic-bezier(0.45, 1.45, 0.8, 1) forwards;
	animation-delay: 0.3s;
}

.profic-partner-wrapper.in-view .profic-partner-action {
	animation: figmaPartnerOpacity 1.2s cubic-bezier(0.45, 1.45, 0.8, 1) forwards;
	animation-delay: 0.4s;
}

.elementor-editor-active .profic-partner-wrapper .profic-partner-icon-container,
.elementor-editor-active .profic-partner-wrapper .profic-partner-title,
.elementor-editor-active .profic-partner-wrapper .profic-partner-desc,
.elementor-editor-active .profic-partner-wrapper .profic-partner-action {
	opacity: 1;
	transform: none;
}
