/* =============================================================================
   Profic Hero (Nosotros) — Figma 397:4647 (desktop conversion 1:1)
   Tablet 397:4777 · Mobile 397:4896
   ============================================================================= */

/* Padding del kit no debe achicar el hero. El margen de Avanzado sí debe poder
   configurarse: sin !important, el CSS del widget (especificidad mayor) gana. */
.elementor-widget-profic_hero_nosotros,
.elementor-widget-profic_hero_nosotros > .elementor-widget-container {
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* Anula solo el gap por defecto del kit (20px). No usa !important. */
.elementor-widget-profic_hero_nosotros:not(:last-child) {
	margin-block-end: 0;
}

/* main: flex-col gap-60 items-center pt-120 pb-60 size-full */
.profic-hn-section {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 60px;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: 495px;
	padding: 120px 0 60px;
	box-sizing: border-box;
	/* Fondo = lienzo de página (nosotros-canvas.css); glows desbordan al resto. */
	overflow: visible;
	background-color: transparent;
	color: #ffffff;
}

/* Rectangle: left -245 top 2014 w 2382 h 1073 → rotate -90 → 1073×2382 blur 197.75 r 1068 */
.profic-hn-rect-wrap {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	left: -245px;
	top: 2014px;
	width: 2382px;
	height: 1073px;
	pointer-events: none;
	z-index: 0;
}

.profic-hn-rect-rot {
	flex: none;
	transform: rotate(-90deg);
}

.profic-hn-rect {
	position: relative;
	width: 1073px;
	height: 2382px;
	border-radius: 1068px;
	filter: blur(197.75px);
}

.profic-hn-rect img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	pointer-events: none;
	border-radius: 1068px;
	/* PNG con fondo negro: screen deja solo el color, como en Home. */
	mix-blend-mode: screen;
}

/* Ellipse 14: left 50%-0.5 top 50%-398.5 w 2045 h 1024 translate -50%/-50%
   inner rotate 90, box 1024×2045, svg inset -4.84% -9.67% -4.84% 0 */
.profic-hn-ellipse-wrap {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	left: calc(50% - 0.5px);
	top: calc(50% - 398.5px);
	width: 2045px;
	height: 1024px;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 0;
}

.profic-hn-ellipse-rot {
	flex: none;
	transform: rotate(90deg);
}

.profic-hn-ellipse-box {
	position: relative;
	width: 1024px;
	height: 2045px;
}

.profic-hn-ellipse-svg {
	position: absolute;
	inset: -4.84% -9.67% -4.84% 0;
}

.profic-hn-ellipse-svg svg {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
}

/* Hero SEO: max-w 1100 w 1040 */
.profic-hn-hero-seo {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 1040px;
	max-width: 1100px;
	flex-shrink: 0;
}

/* Título, sub y cta: gap 60 */
.profic-hn-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 60px;
	width: 100%;
	text-align: center;
}

.profic-hn-title {
	margin: 0;
	width: 100%;
	min-width: 100%;
	font-family: "Amsi Pro", sans-serif;
	font-weight: 300;
	font-size: 48px;
	line-height: 1;
	letter-spacing: 0;
	color: #e8e8e8;
	text-align: center;
	overflow-wrap: break-word;
}

.profic-hn-subtitle {
	margin: 0;
	width: 800px;
	max-width: 100%;
	font-family: "Amsi Pro", sans-serif;
	font-weight: 300;
	font-size: 20px;
	line-height: 1.5;
	letter-spacing: 0.2px;
	color: #ffffff;
	text-align: center;
	overflow-wrap: break-word;
}

/* Social Media: h 61 items-start justify-center · Boton 50 · px 24 py 15 */
.profic-hn-cta-wrap {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	height: 61px;
	flex-shrink: 0;
}

.profic-hn-cta.profic-hero-btn {
	height: 50px;
	min-height: 50px;
	padding: 15px 24px;
	border-radius: 53px;
	font-size: 16px;
	line-height: 1;
	font-weight: 600;
	white-space: nowrap;
}

/* TABLET 397:4777 — inner 612 · ellipse 1222×612 @ 50%+616.9 / 50%-604.5 */
@media (min-width: 768px) and (max-width: 1279px) {
	.profic-hn-section {
		min-height: 461px;
		padding: 120px 94px 60px;
	}

	.profic-hn-hero-seo {
		width: 612px;
		max-width: 612px;
	}

	.profic-hn-subtitle {
		width: 612px;
	}

	.profic-hn-ellipse-wrap {
		left: calc(50% + 616.9px);
		top: calc(50% - 604.5px);
		width: 1222.207px;
		height: 612px;
	}

	.profic-hn-ellipse-box {
		width: 612px;
		height: 1222.207px;
	}

	.profic-hn-rect-wrap {
		left: -245px;
		top: 2475px;
		width: 1358.606px;
		height: 612px;
	}

	.profic-hn-rect {
		width: 612px;
		height: 1358.606px;
		border-radius: 609.148px;
		filter: blur(112.789px);
	}
}

/* MOBILE 397:4896 — glow hidden · ellipse 749×375 */
@media (max-width: 767px) {
	.profic-hn-section {
		min-height: 489px;
		padding: 120px 24px 60px;
	}

	.profic-hn-hero-seo {
		width: 100%;
		max-width: 375px;
	}

	.profic-hn-subtitle {
		width: 100%;
	}

	.profic-hn-ellipse-wrap {
		left: calc(50% + 972.55px);
		top: calc(50% - 723px);
		width: 748.901px;
		height: 375px;
	}

	.profic-hn-ellipse-box {
		width: 375px;
		height: 748.901px;
	}

	.profic-hn-rect-wrap {
		display: none;
	}
}
