@charset "utf-8";

.subtitulo {
	margin: 15px auto;
}

.nosotros .box {
	display: flex;
	justify-content: space-between;
	align-content: stretch;
}
.nosotros .box > div {
	width: calc(50% - 18px);
	position: relative;
	animation-duration: 1.3s;
	animation-delay: 1.2s;
}
.nosotros .box .media {
	overflow: hidden;
}
.nosotros .box .media img {
	width: 102%;
	height:102%;
	object-fit: cover;
}
.nosotros .box .texto {
	padding:0;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.nosotros .box .texto p {
	font-size: 1em;
	color: var(--gris);
	-webkit-line-clamp: none;
}
.nosotros .box .texto p span {
	font-size: 1.3em;
	color: var(--verde);
}

.nosotros > p {
	color: var(--gris);
	padding:30px 0 120px;
	text-align: justify;
    text-justify: inter-word;
	animation-duration: 1.3s;
	animation-delay: 0.9s;
}

@media screen and (max-width:666px) {
	
	.subtitulo {
		margin: 60px auto 12px;
	}
	
	.nosotros .box {
		flex-wrap: wrap;
		gap: 24px;
	}
	.nosotros .box > div {
		width: 100%;
	}
	.nosotros .box .media {
		height:100%;
		order: 2;
	}
	.nosotros .box .texto {
		order: 1;
		
		padding:0;
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
	}
	.nosotros .box .texto p {
		font-size: 1.1em;
	}
	
}