﻿.team-section {
	position: relative;
	background: #FFB43A;
	width: 100%;
	min-height: 810px;
	overflow: visible;
	/* <-- Cambiado de hidden a visible */
	text-align: center;
}

.team-wave {
	display: block;
	width: 100%;
	height: 120px;
	min-height: 60px;
	max-width: 100vw;
	z-index: 2;
	background: white;
	position: relative;
}



.team-title {
	font-family: 'Visby Round CF', Arial, sans-serif;
	font-size: 66.73px;
	font-weight: 900;
	color: #fff;
	line-height: 100%;
	margin: 32px 0 24px 0;
	text-align: center;
}

.team-cards {
	display: flex;
	justify-content: center;
	gap: 60px;
	margin-bottom: 0px;
	flex-wrap: wrap;
}

.team-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: none;
	box-shadow: none;
}

.team-name {
	font-family: 'Visby Round CF', Arial, sans-serif;
	font-weight: 900;
	font-size: 31.75px;
	line-height: 100%;
	color: #fff;
	margin-top: 18px;
	text-align: center;
}

.team-role {
	font-family: 'Alexandria', sans-serif;
	font-weight: 400;
	font-size: 22.05px;
	line-height: 100%;
	color: #fff;
	margin-top: 4px;
	text-align: center;
}



.team-card img {
	width: 350px;
	/* tamaño fijo */
	height: auto;
	/* mantiene proporción */
	border-radius: 16px;
	/* opcional: bordes redondeados */
}



/* ------------------- Responsive Styles ------------------- */

/* Móviles pequeños - 480px */
@media screen and (max-width: 480px) {
	.team-title {
		font-size: 32px;
		margin: 24px 0;
	}

	.team-name {
		font-size: 20px;
	}

	.team-role {
		font-size: 14px;
	}

	.team-cards {
		flex-direction: column;
		gap: 24px;
	}

	

	.team-card img {
		width: 50%;
		/* ocupa 90% del ancho del contenedor */
	}
}

/* Tabletas pequeñas - 768px */
@media (min-width: 481px) and (max-width: 768px) {
	.team-title {
		font-size: 44px;
	}

	.team-name {
		font-size: 24px;
	}

	.team-role {
		font-size: 16px;
	}

	.team-cards {
		gap: 32px;
	}

	
	.team-card img {
		width: 300px;
	}
}

/* Dispositivos medianos - 912px */
@media (min-width: 769px) and (max-width: 912px) {
	.team-title {
		font-size: 48px;
	}

	.team-card img {
		width: 360px;
	}
}

/* Pantallas medianas - 1024px */
@media (min-width: 913px) and (max-width: 1024px) {
	.team-title {
		font-size: 52px;
	}
}

/* Paisaje en dispositivos de hasta 1024px */
@media (min-width: 913px) and (max-width: 1024px) and (orientation: landscape) {
	.team-cards {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 32px;
	}
}

/* Retrato en dispositivos de hasta 1024px */
@media (min-width: 913px) and (max-width: 1024px) and (orientation: portrait) {
	.team-cards {
		flex-direction: row;
		align-items: center;
		gap: 24px;
	}
}

/* Móviles muy pequeños - 480px y orientación retrato */
@media screen and (max-width: 480px) and (orientation: portrait) {
	.team-cards {
		flex-direction: column;
		gap: 16px;
	}

}

/* Pantallas grandes */
@media screen and (min-width: 1440px) {
	.team-title {
		font-size: 72px;
	}

	.team-name {
		font-size: 36px;
	}

	.team-role {
		font-size: 24px;
	}

	
}