/* =============================================================================
   Profic Fotos (Nosotros)
   Desktop 397:4681 1280×1140 · 4×2 · card 307.5×444 r14 · row 500 · gap 10 / 60 · pb 80 px 10
   Tablet 397:4811 800×1740 · 2×4 · card 385×344 · person 400
   Mobile 397:4930 375×3420 · 1×8 · card 355×344
   ============================================================================= */

.elementor-widget-profic_fotos_nosotros,
.elementor-widget-profic_fotos_nosotros > .elementor-widget-container {
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* Solo el gap por defecto del kit; el margen de Avanzado sigue configurable. */
.elementor-widget-profic_fotos_nosotros:not(:last-child) {
	margin-block-end: 0;
}

.profic-fn-section {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0 10px 80px;
	box-sizing: border-box;
	/* Fondo = lienzo de página (nosotros-canvas.css). */
	background-color: transparent;
	color: #ffffff;
}

.profic-fn-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 10px;
	row-gap: 60px;
	width: 100%;
	max-width: 1260px;
	margin: 0 auto;
}

.profic-fn-person {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 10px;
	min-width: 0;
	height: 500px;
	box-sizing: border-box;
}

.profic-fn-photo {
	position: relative;
	flex: 1 1 0;
	width: 100%;
	min-height: 0;
	border-radius: 14px;
	overflow: hidden;
	background-color: rgba(9, 5, 17, 0.47);
}

.profic-fn-photo img {
	position: absolute;
	max-width: none;
	object-fit: cover;
	pointer-events: none;
}

.profic-fn-name {
	margin: 0;
	font-family: "Amsi Pro", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1;
	color: #ffffff;
	text-align: left;
	white-space: nowrap;
}

.profic-fn-role {
	margin: 0;
	font-family: "Amsi Pro", sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 1;
	color: #ffffff;
	opacity: 0.65;
	text-align: left;
	white-space: nowrap;
}

/* Desktop crops — Figma 307.5×444 */
.profic-fn-person--bruno .profic-fn-photo img {
	left: -118px;
	top: -155px;
	width: 543px;
	height: 814px;
}

.profic-fn-person--martin .profic-fn-photo img {
	left: -141.5px;
	top: -20px;
	width: 591px;
	height: 473px;
}

.profic-fn-person--matias .profic-fn-photo img {
	left: -74px;
	top: -110px;
	width: 456px;
	height: 686px;
}

.profic-fn-person--eugenia .profic-fn-photo img {
	left: -99.5px;
	top: -158px;
	width: 507px;
	height: 760px;
}

.profic-fn-person--braulio .profic-fn-photo img {
	left: -101px;
	top: -143px;
	width: 502px;
	height: 754px;
}

.profic-fn-person--orlando .profic-fn-photo img {
	left: -230.25px;
	top: -46px;
	width: 760px;
	height: 506px;
}

.profic-fn-person--hillary .profic-fn-photo img {
	left: -206.25px;
	top: -23px;
	width: 706px;
	height: 470px;
}

.profic-fn-person--cecilia .profic-fn-photo img {
	left: -197.75px;
	top: -22px;
	width: 703px;
	height: 468px;
}

/* TABLET 2×4 · 385×344 */
@media (min-width: 768px) and (max-width: 1279px) {
	.profic-fn-section {
		padding: 0 10px 80px;
	}

	.profic-fn-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 780px;
		row-gap: 20px;
	}

	.profic-fn-person {
		height: 400px;
	}

	.profic-fn-person--bruno .profic-fn-photo img {
		left: -50px;
		top: -132.5px;
		width: 471px;
		height: 706px;
	}

	.profic-fn-person--martin .profic-fn-photo img {
		left: -73px;
		top: -6.5px;
		width: 512px;
		height: 410px;
	}

	.profic-fn-person--matias .profic-fn-photo img {
		left: 0.48px;
		top: -72.5px;
		width: 384px;
		height: 577px;
	}

	.profic-fn-person--eugenia .profic-fn-photo img {
		left: -49px;
		top: -141.5px;
		width: 480px;
		height: 720px;
	}

	.profic-fn-person--braulio .profic-fn-photo img {
		left: -40px;
		top: -133.5px;
		width: 445px;
		height: 669px;
	}

	.profic-fn-person--orlando .profic-fn-photo img {
		left: -157px;
		top: -40px;
		width: 688px;
		height: 458px;
	}

	.profic-fn-person--hillary .profic-fn-photo img {
		left: -82px;
		top: -7.5px;
		width: 549px;
		height: 366px;
	}

	.profic-fn-person--cecilia .profic-fn-photo img {
		left: -84px;
		top: -12.5px;
		width: 554px;
		height: 369px;
	}
}

/* MOBILE 1×8 · 355×344 */
@media (max-width: 767px) {
	.profic-fn-grid {
		grid-template-columns: 1fr;
		max-width: 355px;
		row-gap: 20px;
	}

	.profic-fn-person {
		height: 400px;
	}

	.profic-fn-name,
	.profic-fn-role {
		white-space: normal;
	}

	.profic-fn-person--bruno .profic-fn-photo img {
		left: -52px;
		top: -130px;
		width: 445px;
		height: 667px;
	}

	.profic-fn-person--martin .profic-fn-photo img {
		left: -70.41px;
		top: -6px;
		width: 485px;
		height: 388px;
	}

	.profic-fn-person--matias .profic-fn-photo img {
		left: 0;
		top: -72.5px;
		width: 355px;
		height: 533px;
	}

	.profic-fn-person--eugenia .profic-fn-photo img {
		left: -34.47px;
		top: -120px;
		width: 425px;
		height: 637px;
	}

	.profic-fn-person--braulio .profic-fn-photo img {
		left: -42px;
		top: -111px;
		width: 419px;
		height: 629px;
	}

	.profic-fn-person--orlando .profic-fn-photo img {
		left: -114px;
		top: -31px;
		width: 578px;
		height: 385px;
	}

	.profic-fn-person--hillary .profic-fn-photo img {
		left: -110px;
		top: -10px;
		width: 581px;
		height: 387px;
	}

	.profic-fn-person--cecilia .profic-fn-photo img {
		left: -95px;
		top: -9px;
		width: 557px;
		height: 370px;
	}
}
