/* Estilos específicos para la página Nosotros */

/* Asegurar que footer y contact tengan display correcto */
.contact-left,
.contact-left .title,
.contact-left .contact-list,
.contact-left .title h2,
.contact-left .contact-list ul,
.contact-left .contact-list li {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.contact-left .title h2 {
	color: #f5f1eb !important;
}

.contact-left .contact-list ul {
	display: flex !important;
}

.contact-left .contact-list li {
	color: #d7d6d7 !important;
	display: flex !important;
}

.footer-wrp .title,
.footer-wrp .title h2,
.footer-menu,
.footer-menu ul,
.footer-menu li {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.footer-wrp .title h2 {
	color: #f5f1eb !important;
}

.f-bottom,
.f-copy-text,
.f-copy-text p {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	color: #d7d6d7 !important;
}

/* Contact Section */
.contact {
	background-color: var(--dark);
	padding-top: 80px;
	padding-bottom: 80px;
}

/* Hero Section para Nosotros */
.nosotros-hero {
	position: relative;
	height: 100vh;
	background-image: url('../images/thumb/proyecto-12-clasico.jpg');
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nosotros-hero::before {
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0));
	position: absolute;
	content: "";
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	pointer-events: none;
}

.nosotros-hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
	color: white;
	padding: 0 20px;
}

.nosotros-hero-content h1 {
	color: var(--white);
	font-family: var(--font-primary);
	text-align: center;
	line-height: 1;
	letter-spacing: 5px;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 28px;
	margin-bottom: 0;
	opacity: 0;
}

.nosotros-hero-buttons {
	display: flex;
	gap: 25px;
	justify-content: center;
	margin-top: 28px;
	opacity: 0;
}

.nosotros-hero-button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 12px;
	color: #000000;
	letter-spacing: 2px;
	font-weight: 400;
	border: 1px solid #ffffff;
	padding: 12px;
	font-family: var(--font-tertiary);
	text-decoration: none;
	transition: all 0.2s ease;
	text-transform: uppercase;
	line-height: 1;
	background-color: #eeede5;
}

.nosotros-hero-button:hover {
	background-color: transparent;
	color: #ffffff;
	transform: scale(0.9);
}

.nosotros-hero-button:focus {
	outline: 2px solid #ffffff;
	outline-offset: 4px;
}

/* Philosophy Section */
.philosophy-section {
	padding: 160px 60px 80px;
	background-color: var(--body);
	text-align: center;
}

.philosophy-container {
	max-width: 800px;
	margin: 0 auto;
}

.philosophy-title {
	font-size: 25px;
	color: #283732;
	letter-spacing: 3px;
	font-weight: 400;
	margin-bottom: 40px;
	font-family: var(--font-primary);
	text-transform: uppercase;
	text-align: center;
}

.philosophy-text {
	font-size: 16px;
	color: #7a7a7a;
	letter-spacing: 1px;
	line-height: 1.8;
	font-weight: 400;
	font-family: var(--font-primary);
	text-align: center;
	margin-bottom: 20px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.divider {
	margin-top: 50px;
	margin-bottom: 0;
	color: rgba(40, 55, 50, 0.4);
	font-size: 18px;
	letter-spacing: 6px;
	text-align: center;
}

/* Team Image Section */
.team-image-section {
	padding: 50px 60px;
	background-color: var(--body);
	display: flex;
	justify-content: center;
	align-items: center;
}

.team-image-container {
	width: 100%;
	max-width: 500px;
	position: relative;
}

.team-photo {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.65s ease;
}

.team-photo.is-visible {
	opacity: 1;
}

/* Team Section */
.team-section {
	padding: 80px 60px 120px;
	background-color: var(--body);
}

.team-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 100px;
	align-items: flex-start;
}

.team-member {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.team-member-title {
	font-size: 28px;
	color: #283732;
	letter-spacing: 1px;
	font-weight: 400;
	margin-bottom: 0px;
	font-family: var(--font-primary);
	text-transform: capitalize;
	text-align: center;
}

.team-member-subtitle {
	font-size: 13px;
	color: #a59182;
	letter-spacing: 1px;
	font-weight: 400;
	margin-bottom: 15px;
	font-family: var(--font-tertiary);
	text-transform: capitalize;
	text-align: center;
}

.team-member-text {
	font-size: 16px;
	color: #7a7a7a;
	letter-spacing: 1px;
	line-height: 1.8;
	font-weight: 400;
	font-family: var(--font-primary);
	text-align: left;
	margin-bottom: 0;
}

/* Desktop: aumentar en 1px */
@media (min-width: 769px) {
	.philosophy-text,
	.team-member-text {
		font-size: 17px;
	}
}

/* iPad Pro 11" y tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
	.nosotros-hero {
		height: 70vh;
		min-height: 500px;
	}

	.nosotros-hero-content h1 {
		font-size: 32px;
		letter-spacing: 5px;
	}

	.nosotros-hero-button {
		padding: 14px 45px;
		font-size: 13px;
	}

	.philosophy-section,
	.team-section {
		padding: 100px 40px;
	}

	.philosophy-title h2,
	.team-title h2 {
		font-size: 28px;
		letter-spacing: 4px;
	}

	.philosophy-text,
	.team-member-text {
		font-size: 17px;
		max-width: 700px;
	}

	.team-container {
		grid-template-columns: repeat(2, 1fr);
		gap: 50px;
		max-width: 100%;
	}

	.team-member-photo {
		max-width: 100%;
	}

	.team-member-name {
		font-size: 24px;
	}

	.team-member-role {
		font-size: 13px;
	}
}

/* Responsive */
@media (max-width: 991px) {
	.team-container {
		grid-template-columns: 1fr;
		gap: 60px;
		max-width: 700px;
	}
}

@media (max-width: 768px) {
	.nosotros-hero-content h1 {
		font-size: 28px;
		letter-spacing: 5px;
	}

	.philosophy-section {
		padding: 120px 40px 60px;
	}

	.team-image-section {
		padding: 40px 40px;
	}

	.team-image-container {
		max-width: 400px;
	}

	.team-section {
		padding: 60px 40px 100px;
	}

	.team-member-title,
	.philosophy-title {
		font-size: 20px;
	}

	.team-member-text,
	.philosophy-text {
		font-size: 15px;
		letter-spacing: 0px;
	}
}

@media (max-width: 478px) {
	.nosotros-hero-content h1 {
		font-size: 20px;
		line-height: 1.3;
		max-width: 310px;
	}

	.nosotros-hero-buttons {
		margin-top: 15px;
	}

	.nosotros-hero-button {
		font-size: 10px;
		padding: 10px 25px;
	}

	.philosophy-section {
		padding: 100px 25px 50px;
	}

	.philosophy-title {
		font-size: 20px;
		letter-spacing: 3px;
		padding: 0 25px;
	}

	.philosophy-text {
		font-size: 15px;
		letter-spacing: 0px;
		width: 100%;
		max-width: 100%;
		padding: 0 25px;
	}

	.team-image-section {
		padding: 40px 25px;
	}

	.team-image-container {
		max-width: 100%;
	}

	.team-section {
		padding: 50px 25px 80px;
	}

	.team-member-title {
		font-size: 20px;
		letter-spacing: 3px;
		text-align: left;
		padding: 0 25px;
	}

	.team-member-subtitle {
		text-align: left;
		padding: 0 25px;
	}

	.team-member-text {
		font-size: 15px;
		letter-spacing: 0px;
		padding: 0 25px;
	}

	.team-container {
		gap: 50px;
	}
}
