/* ==========================================================================
   REPRESENTACIONES Y ALIANZAS · VERSION 2  |  BM Monitoring
   Pagina simple: titulo + los 5 logos en recuadros, en linea y responsivos.
   Prefijo: .r2-
   ========================================================================== */

:root {
	--r2-blue: #00b6ed;
	--r2-green: #62f6a4;
	--r2-line: rgba(255, 255, 255, .11);
}

/* La página es corta: empujamos el footer al fondo de la ventana */
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

body > footer {
	margin-top: auto;
}

/* ---------- Bloque principal ---------- */
.r2-hero {
	padding-top: 170px;
	padding-bottom: clamp(3rem, 8vw, 5rem);
}

.r2-title {
	color: #fff;
	font-size: clamp(1.3rem, 3.2vw, 1.9rem);
	line-height: 1.2;
	margin-bottom: clamp(2rem, 4.5vw, 3rem);
}

/* ---------- Recuadros de logo ---------- */
.r2-box {
	display: flex;
	align-items: center;
	justify-content: center;
	height: clamp(105px, 13vw, 155px);
	padding: 1rem;
	border: 1px solid var(--r2-line);
	border-radius: 16px;
	background: rgba(255, 255, 255, .045);
	text-decoration: none !important;
	transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}

.r2-box:hover {
	transform: translateY(-4px);
	border-color: rgba(0, 182, 237, .45);
	background: rgba(255, 255, 255, .075);
	box-shadow: 0 16px 34px -18px rgba(0, 182, 237, .75);
}

.r2-box img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: transform .35s ease;
}

.r2-box:hover img {
	transform: scale(1.05);
}

/* Los tres grupos igualan el peso visual pese a proporciones muy distintas:
   wordmarks horizontales (~5.5:1), Enline (~3.6:1) y marcas compactas (~2:1) */
.r2-box img.is-wide {
	max-height: clamp(30px, 4.8vw, 48px);
}

.r2-box img.is-mid {
	max-height: clamp(36px, 5.6vw, 56px);
}

.r2-box img.is-block {
	max-height: clamp(44px, 6.8vw, 68px);
}


/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
	.r2-hero {
		padding-top: 130px;
	}

	.r2-box {
		padding: .75rem;
	}
}

/* ---------- Accesibilidad ---------- */
@media (prefers-reduced-motion: reduce) {

	.r2-box,
	.r2-box img {
		transition: none !important;
	}

	.r2-box:hover {
		transform: none;
	}
}
