/**
 * Página Nosotros — banner, historia, CTA y convenios.
 */

.es-nosotros-page {
	font-family: "Urbanist", sans-serif;
	font-optical-sizing: auto;
}

/* Hero */
.es-nosotros-hero {
	position: relative;
	min-height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #2A2E65;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

@media (min-width: 768px) {
	.es-nosotros-hero {
		min-height: 360px;
	}
}

.es-nosotros-hero-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(120deg, rgba(225, 56, 51, 0.5) 0%, rgba(225, 56, 51, 0.12) 32%, rgba(0, 33, 87, 0.55) 100%),
		rgba(15, 28, 42, 0.4);
}

.es-nosotros-hero-inner {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 72px 0 64px;
}

.es-nosotros-hero-title {
	margin: 0 0 14px;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
	letter-spacing: -0.02em;
}

.es-nosotros-breadcrumb {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 10px;
	font-size: 14px;
}

.es-nosotros-breadcrumb a {
	color: #fff;
	opacity: 0.92;
	text-decoration: none;
}

.es-nosotros-breadcrumb a:hover {
	opacity: 1;
}

.es-nosotros-breadcrumb span {
	color: rgba(255, 255, 255, 0.72);
}

.es-nosotros-breadcrumb-current {
	color: rgba(255, 255, 255, 0.85);
}

/* Nuestra Historia */
.es-nosotros-historia {
	padding: 64px 0 72px;
	background: #fff;
}

.es-nosotros-historia-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	align-items: center;
}

@media (min-width: 992px) {
	.es-nosotros-historia-grid {
		grid-template-columns: 0.95fr 1.05fr;
		gap: 40px 56px;
	}
}

/* Collage imágenes */
.es-nosotros-visual {
	position: relative;
}

.es-nosotros-visual-dots {
	position: absolute;
	top: 0;
	right: 8%;
	width: 120px;
	height: 120px;
	background-image: radial-gradient(circle, #d8dde3 1.5px, transparent 1.5px);
	background-size: 12px 12px;
	opacity: 0.7;
	pointer-events: none;
	z-index: 0;
}

.es-nosotros-visual-inner {
	position: relative;
	z-index: 1;
	min-height: 420px;
	padding: 0 0 48px 0;
}

.es-nosotros-figure-small {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 42%;
	max-width: 140px;
}

.es-nosotros-figure-small img {
	display: block;
	width: 100%;
	height: auto;
}

.es-nosotros-figure-main {
	position: relative;
	z-index: 1;
	margin: 48px 0 0 18%;
	width: 72%;
	max-width: 340px;
}

.es-nosotros-figure-main img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 25px;
}

.es-nosotros-experience {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 130px;
	height: 130px;
	padding: 16px;
	background: #E62020;
	color: #fff;
	text-align: center;
	box-shadow: 0 12px 28px rgba(225, 56, 51, 0.35);
	border-radius: 10px;
}

.es-nosotros-experience-num {
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1;
}

.es-nosotros-experience-label {
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
}

/* Contenido */
.es-nosotros-badge {
	display: inline-block;
	padding: 6px 18px;
	margin-bottom: 20px;
	border: 1px solid #2A2E65;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: #2A2E65;
}

.es-nosotros-title {
	margin: 0 0 22px;
	font-size: clamp(1.85rem, 3.5vw, 2.65rem);
	font-weight: 800;
	line-height: 1.15;
	color: #2A2E65;
	letter-spacing: -0.02em;
}

.es-nosotros-text {
	margin-bottom: 28px;
	font-size: 16px;
	line-height: 1.75;
	color: #666;
	text-align: justify;
}

.es-nosotros-text p {
	margin: 0 0 1em;
}

.es-nosotros-text p:last-child {
	margin-bottom: 0;
}

.es-nosotros-mission {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	margin-bottom: 28px;
	padding: 22px 24px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 10px 32px rgba(28, 45, 63, 0.1);
}

.es-nosotros-mission-icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
}

.es-nosotros-mission-icon img {
	display: block;
	width: 100%;
	height: auto;
}

.es-nosotros-mission-icon--default {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #E62020;
	font-size: 28px;
}

.es-nosotros-mission-text {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.55;
	color: #2A2E65;
}

.es-nosotros-location {
	position: relative;
	margin: 0;
	padding: 0 0 0 20px;
	border: 0;
}

.es-nosotros-location::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 4px;
	background: #E62020;
	border-radius: 2px;
}

.es-nosotros-location p {
	margin: 0;
	font-size: 15px;
	font-style: italic;
	line-height: 1.65;
	color: #666;
}

/* CTA Organigrama */
.es-nosotros-cta-band {
	padding: 40px 0 48px;
	background: #fff;
}

.es-nosotros-cta-inner {
	display: flex;
	justify-content: center;
}

.es-nosotros-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 36px;
	border-radius: 9999px;
	background: #E62020;
	color: #fff !important;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(225, 56, 51, 0.3);
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.es-nosotros-cta:hover {
	background: #c9302c;
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(225, 56, 51, 0.35);
}

.es-nosotros-cta-dot {
	font-size: 10px;
	opacity: 0.9;
}

/* Convenios — fondo con mapa */
.es-nosotros-convenios {
	position: relative;
}

.es-nosotros-convenios .es-socios-section {
	position: relative;
	background: #f4f6f8;
	overflow: hidden;
}

.es-nosotros-convenios .es-socios-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--es-nosotros-map-bg, none);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: min(90%, 900px);
	opacity: 0.12;
	pointer-events: none;
}

.es-nosotros-convenios .es-socios-section > .es-container {
	position: relative;
	z-index: 1;
}

@media (max-width: 575px) {
	.es-nosotros-historia {
		padding: 48px 0 56px;
	}

	.es-nosotros-visual-inner {
		min-height: 360px;
	}

	.es-nosotros-figure-main {
		margin-left: 12%;
		width: 78%;
	}

	.es-nosotros-experience {
		width: 110px;
		height: 110px;
	}

	.es-nosotros-experience-num {
		font-size: 2rem;
	}
}
