/* ======= Tokens / base ======= */
:root {
	--brand: #b51e2e;
	--ink: #111827;
	--muted: #6b7280;
	--card: #fff;
	--bg: #f7f7f7;
	--border: #e5e7eb;
	--radius: 14px;
	--shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
	--container: 1200px;
}

* {
	box-sizing: border-box;
}
html,
body {
	margin: 0;
}
body {
	background: var(--bg);
	color: var(--ink);
	font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
		'Helvetica Neue', Arial;
}

/* ======= Contenedor principal ======= */
.proj {
	max-width: var(--container);
	margin: 36px auto 60px;
	padding: 0 20px;
}

/* Título + regla roja */
.proj__header h1 {
	margin: 0 0 12px;
	font-size: clamp(1.3rem, 2.4vw, 2.1rem);
	font-weight: 800;
}
.proj__rule {
	display: block;
	width: 100%;
	height: 6px;
	background: var(--brand);
	border-radius: 999px;
	margin: 4px 0 50px;
}

/* ======= Grid 2 columnas ======= */
.proj__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr; /* texto / fotos */
	gap: 28px;
	margin-top: 14px;
}

@media (max-width: 960px) {
	.proj__grid {
		grid-template-columns: 1fr;
	}
}

/* ======= Bloques de texto ======= */
.blk {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 16px 18px 18px;
	margin-bottom: 18px;
}

.blk__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	position: relative;
	padding-bottom: 10px;
}
.blk__head h2 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
}
.blk__head::after {
	/* subrayado rojo del título de bloque */
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 5px;
	background: var(--brand);
	border-radius: 999px;
}

.blk__badge {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	background: var(--brand);
	flex: 0 0 auto;
}
.blk__badge i {
	font-size: 16px;
}

.blk__body p {
	margin: 0.35rem 0;
	color: #222;
	font-size: 14px;
	text-align: justify;
}
.blk__body p strong {
	font-weight: 700;
}

/* ======= Fotos ======= */
.proj__right {
	background: transparent;
}

.photos__head {
	margin: 0 0 12px;
}
.photos__head h3 {
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 800;
}
.photos__rule {
	display: block;
	/* width: min(320px, 70%); */
	width: 100%;
	height: 6px;
	background: var(--brand);
	border-radius: 999px;
}

/* grid de fotos: 2 arriba (cuadradas), 1 abajo (panorámica) */
.photos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.photo {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	margin: 0;
}

/* cuadrados (arriba) */
.photo--square {
	aspect-ratio: 1 / 1; /* cuadrado moderno */
}

/* panorámica (abajo) ocupa 2 columnas */
.photo--wide {
	grid-column: 1 / -1;
	aspect-ratio: 3 / 1.5; /* relación aprox. de tu imagen inferior */
}

/* imagenes responsivas */
.photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* Responsive fotos en móvil (una por fila) */
@media (max-width: 700px) {
	.photos {
		grid-template-columns: 1fr;
	}
	.photo--wide {
		grid-column: auto;
		aspect-ratio: 16/9;
	}
}
.acercade_wrap {
	max-width: var(--acercade-container);
	margin: 26px auto 60px;
	padding: 0 22px;
	color: var(--acercade-ink);
	font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
		'Helvetica Neue', Arial;
}
.acercade_header h1 {
	margin: 0 0 8px;
	font-size: clamp(1.3rem, 3.2vw, 1.8rem);
	font-weight: 800;
}

/* Bloque de texto ancho completo */
.acercade_block {
	background: var(--acercade-card);
	border: 1px solid var(--acercade-border);
	border-radius: var(--acercade-radius);
	box-shadow: var(--acercade-shadow);
	padding: 16px 18px 18px;
	margin-bottom: 22px;
}
.acercade_h2 {
	margin: 0;
	font-size: clamp(1.05rem, 2.5vw, 1.2rem);
	font-weight: 800;
}
.acercade_rule {
	display: block;
	width: 220px;
	max-width: 100%;
	height: 4px;
	background: var(--acercade-brand);
	border-radius: 2px;
	margin: 10px 0 6px;
}
.acercade_body {
	color: var(--acercade-muted);
}
.acercade_body p {
	margin: 0 0 10px;
}

/* Grid de Misión / Visión */
.acercade_grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}
.acercade_card {
	background: var(--acercade-card);
	border: 1px solid var(--acercade-border);
	border-radius: var(--acercade-radius);
	box-shadow: var(--acercade-shadow);
	overflow: hidden;
}
.acercade_cardHead {
	padding: 12px 16px 6px;
}
.acercade_h3 {
	margin: 0;
	font-weight: 800;
	font-size: clamp(1rem, 2.4vw, 1.15rem);
}
.acercade_cardBody {
	display: grid;
	grid-template-columns: 56px 1fr; /* icono + contenido */
	gap: 12px;
	align-items: start;
	padding: 6px 16px 16px;
	color: var(--acercade-muted);
}

/* Badge/ícono circular con sombra (como la maqueta) */
.acercade_badge {
	width: 56px;
	height: 56px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: #fff;
	border: 3px solid var(--acercade-brand);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}
.acercade_badge i {
	font-size: 22px;
	color: var(--acercade-brand);
}

/* Responsive */
@media (max-width: 900px) {
	.acercade_grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 560px) {
	.acercade_rule {
		width: 180px;
	}
	.acercade_cardBody {
		grid-template-columns: 48px 1fr;
	}
	.acercade_badge {
		width: 48px;
		height: 48px;
	}
}
