/* ================================
   NOSOTROS — split dark section
================================ */
.nosotros-section {
	display: flex;
	height: calc((100vh - var(--ofizen-header-height, 64px)) * 0.75);
	min-height: 300px;
	background: #0f0f10;
	overflow: hidden;
	scroll-margin-top: var(--ofizen-header-height, 64px);
}

/* --- Mitad izquierda: texto --- */
.nosotros-content {
	flex: 0 0 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 60px 64px;
	box-sizing: border-box;
}

/* Rectángulo etiqueta "Nosotros" */
.nosotros-tag {
	display: inline-block;
	padding: 6px 18px;
	border: 1px solid rgba(255,255,255,0.25);
	color: rgba(255,255,255,0.6);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 28px;
	align-self: flex-start;
	backdrop-filter: blur(4px);
}

.nosotros-title {
	font-size: 38px;
	font-weight: 300;
	color: #ffffff;
	line-height: 1.15;
	margin: 0 0 20px;
	letter-spacing: -0.01em;
}

.nosotros-text {
	font-size: 14px;
	font-weight: 300;
	color: rgba(255,255,255,0.55);
	line-height: 1.7;
	margin: 0;
	max-width: 380px;
}

/* --- Mitad derecha: imagen --- */
.nosotros-image {
	flex: 0 0 50%;
	position: relative;
	overflow: hidden;
}

.nosotros-image-inner {
	position: absolute;
	inset: 0;
	transform: scale(1.04);
	transition: transform 8s ease;
	overflow: hidden;
}

.nosotros-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.nosotros-section:hover .nosotros-image-inner {
	transform: scale(1.0);
}

.nosotros-image-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(15,15,16,0.35) 0%,
		rgba(15,15,16,0.0) 60%
	);
}

/* --- Animación de palabras (JS-driven) --- */
.nosotros-word {
	display: inline-block;
	opacity: 0;
	transform: translateY(22px);
	filter: blur(5px);
	transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}

.nosotros-word--visible {
	opacity: 1;
	transform: translateY(0);
	filter: blur(0);
}

/* --- Responsive --- */
@media (max-width: 780px) {
	.nosotros-section {
		flex-direction: column;
		height: auto;
		min-height: calc((100vh - var(--ofizen-header-height, 64px)) * 0.75);
	}

	.nosotros-content {
		flex: none;
		padding: 40px 24px;
	}

	.nosotros-image {
		flex: none;
		height: 260px;
	}
}
