/* CSS para página Sobre nosotros - nosotros.css */

.page-id-432 .bloque-imagen-completa {
	margin-bottom: 0;
}

.flexy {
	display: flex;
	gap: 8px;
}

/* Bloque texto y tags */
.bloque-nosotros-texto-tags {
	padding: 1.5rem 5.5rem 6rem 0;
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.bloque-nosotros-texto-tags h1 {
	color: #1B1B1A;
	font-family: "Founders Grotesk", sans-serif;
	font-size: 3rem;
	font-weight: 700;
	line-height: 110%;
	letter-spacing: 0;
	margin: 0;
}

/* Tags de nosotros */
.nosotros-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.nosotros-tags span {
	display: inline-block;
	background: #E0E1F0;
	padding: 0.5rem 0.8rem;
	border-radius: 10px;
	font-size: 0.9rem;
	font-family: "Open Sauce Two", sans-serif;
	color: #1B1B1A;
}

/* Bloque párrafo con botón - dentro del mismo contenedor */
.bloque-nosotros-con-boton {
	display: flex;
	gap: 1rem;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.bloque-nosotros-con-boton .columna-vacia,
.bloque-nosotros-con-boton .columna-contenido {
	flex: 1;
}

.bloque-nosotros-con-boton .columna-contenido {
	display: flex;
	flex-direction: column;
	gap: 3rem;
	padding-right: 3rem;
}

.bloque-nosotros-con-boton .columna-vacia {
	padding-right: 3rem;
}

.bloque-nosotros-con-boton .columna-contenido .boton-proyecto {
	width: 100%;
}

.bloque-parrafo-servicio.bloque-nosotros-con-boton {
	padding: 6rem 3rem 6rem 50%;
}

/* Bloque Equipo */
.bloque-equipo {
	margin: 6rem 0;
}

.bloque-equipo h2 {
	color: #1B1B1A;
	font-family: "Open Sauce Two", sans-serif;
	font-size: 1.6875rem;
	font-style: normal;
	font-weight: 400;
	line-height: 140%;
	margin: 0 0 2.5rem 0;
	letter-spacing: 0;
}

/* Grid de equipo */
.equipo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem 0.5rem;
	row-gap: 2rem;
	margin-bottom: 3rem;
}

/* Card de persona */
.persona-card {
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease;
}

/* Imagen de la persona */
.persona-imagen {
	aspect-ratio: 364 / 400;
	overflow: hidden;
	border-radius: 8px;
	margin-bottom: 1rem;
}

.persona-imagen img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Info de la persona */
.persona-info {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.persona-datos {
	flex: 1;
}

/* Nombre */
.persona-nombre {
	color: #1B1B1A;
	font-family: "Open Sauce Two", sans-serif;
	font-size: 1.0625rem; /* 17px */
	font-style: normal;
	font-weight: 400;
	line-height: 100%;
	margin: 0 0 0.875rem 0;
}

/* Cargo */
.persona-cargo {
	color: #4A546A;
	font-family: "Open Sauce Two", sans-serif;
	font-size: 0.75rem; /* 12px */
	font-style: normal;
	font-weight: 400;
	line-height: 100%;
	margin: 0;
}

/* Botón mobile (solo flecha) - oculto en desktop */
.persona-btn-mobile {
	display: none;
}

/* Botón desktop - oculto por defecto, aparece como dropdown */
.persona-btn-desktop {
	opacity: 0;
	max-height: 0;
	height: 0;
    padding: 0;
	overflow: hidden;
	margin-top: 0;
	transition: all 0.3s ease;
	width: 100%;
}

/* Hover en la card - mostrar botón con efecto dropdown */
.persona-card:hover .persona-btn-desktop {
	opacity: 1;
	max-height: 60px;
	height: auto;
    padding: 0.57rem 1rem;
	margin-top: 1rem;
}

/* Botón equipo completo */
.equipo-btn-completo {
	width: 100%;
}

/* Responsive Mobile */
@media (max-width: 767px) {
	/* Bloque texto y tags mobile */
	.bloque-nosotros-texto-tags {
		padding: 16px 0 96px;
		gap: 48px;
	}

	.bloque-nosotros-texto-tags h1 {
		font-size: 27px;
		line-height: 110%;
		letter-spacing: -0.54px;
	}

	.nosotros-tags span {
		padding: 8px 12px;
		font-size: 14px;
		margin-right: 8px;
		margin-bottom: 8px;
	}

	/* Bloque párrafo con botón mobile */
	.bloque-nosotros-con-boton {
		flex-direction: column;
		gap: 48px;
		padding: 96px 0;
	}
	
	.bloque-nosotros-con-boton .columna-vacia {
		display: none;
	}
	
	.bloque-nosotros-con-boton .columna-contenido {
		gap: 48px;
	}

	.equipo-grid {
		margin-bottom: 48px
	}

	/* Equipo mobile */
	.bloque-equipo {
		margin: 96px 0;
	}

	.bloque-equipo h2 {
		font-size: 20px;
		line-height: 150%;
		margin-bottom: 32px;
	}

	/* Grid mobile - 1 columna */
	.equipo-grid {
		grid-template-columns: 1fr;
		gap: 32px;
		row-gap: 32px;
	}

	/* Separaciones mobile */
	.persona-imagen {
		margin-bottom: 16px;
	}

	.persona-nombre {
		margin-bottom: 10px;
		font-size: 17px;
	}

	.persona-cargo {
		font-size: 12px;
	}

	/* Ocultar botón desktop en mobile */
	.persona-btn-desktop {
		display: none !important;
	}

	/* Mostrar botón mobile, ocultar hover desktop */
	.persona-btn-mobile {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 9px 10px;
		border: 1px solid #1B1B1A;
		border-radius: 8px;
		transition: border-radius 0.4s ease;
		flex-shrink: 0;
	}

	.persona-btn-mobile:hover {
		border-radius: 40px;
	}

	.persona-btn-mobile img {
		width: 16px;
		height: 17px;
	}
}

/* Bloque Formamos parte de Sur */
.bloque-sur {
	margin: 6rem 0 3rem 0;
}

.bloque-sur h2 {
	color: #1B1B1A;
	font-family: "Open Sauce Two", sans-serif;
	font-size: 1.6875rem;
	font-style: normal;
	font-weight: 400;
	line-height: 140%;
	margin: 0 0 2.5rem 0;
	letter-spacing: 0;
}

/* Contenido principal */
.sur-contenido {
	display: flex;
	gap: 0.8rem;
	align-items: stretch;
	margin-bottom: 3rem;
}

/* Logo - mismo ancho que una card del equipo */
.sur-logo {
	width: calc((100% - 1rem) / 3); /* Ancho de una card del grid de 3 */
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #1B1B1A;
	border-radius: 8px;
	padding: 1rem;
	box-sizing: border-box;
}

.sur-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* Botones de empresas - ocupan el resto del ancho */
.sur-empresas {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.sur-empresas .boton-proyecto {
	width: 100%;
}

/* Botón final */
.sur-btn-final {
	width: 100%;
}

/* Responsive Mobile */
@media (max-width: 767px) {
	.bloque-sur {
		margin: 96px 0 48px 0;
	}

	.bloque-sur h2 {
		font-size: 20px;
		line-height: 150%;
		margin-bottom: 32px;
	}

	/* Mobile: logo arriba, botones abajo */
	.sur-contenido {
		flex-direction: column;
		gap: 8px;
		margin-bottom: 48px;
	}

	.sur-logo {
		width: 100%;
		min-height: 232px;
	}

	.sur-empresas {
		gap: 8px;
	}
}