/* Hallmark · v2.0.0 · built: the project · redesign: full (home) · genre: modern-minimal · theme: brand (Binno v2: gris claro, carbón, tierra colorada, Space Grotesk + IBM Plex Sans) · job: hire · shape: narrative workflow · hero: Banner, head split over a full-width map · nav: edge-aligned (kept, shared by every page) · footer: kept · signature: la misma inmobiliaria inventada, dibujada hoy y ordenada, con un interruptor · sections: hero (mapa) / steps (Radiografía) / showcase en banda (sistemas) / rows (cómo se empieza) / statement (quién) / rows (preguntas) / band (contacto) */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P and H, the page still argues in the usual order of a consultancy; it leads with the drawn business instead of a promise, and the two demos carry the second half */
/* Hallmark · waive 44c · el mapa ocupa las doce columnas y su borde inferior cruza el pliegue de 1440 x 900 · el mapa de la Radiografía es la firma de la página y se lee desde arriba; achicarlo para que entre lo vuelve ilegible */
/* Hallmark · waive 38iii · «la tecnología» en tierra colorada aparece una sola vez, en el titular del hero · decisión de Ayrton del 27/11: la palabra en color vive solo en el título de la web y en ninguna otra pieza de Binno */
/* Hallmark · waive 59 · cada sección pinta su fondo de borde a borde y lleva su propio padding de 120 a 176 px · la Radiografía, los dos sistemas y las preguntas frecuentes llevan el espacio adentro, no en márgenes, para que los cambios de fondo no dejen franjas sueltas */
/* Hallmark · dismissed 77 · las siete secciones de la home viven dentro de un solo bloque de WordPress y el linter las cuenta como una */
/* Hallmark · answered F19 · el 700 viene del pie compartido del tema (el lema en negrita); la home usa 400, 500 y 600 */

/* Binno · home (27/11/2026). Solo se carga en la portada (functions.php), después de sistema.css, que tiene los tokens
 * y las piezas comunes. Acá queda lo propio de la portada: el hero con el mapa, las cuatro fases y quién está detrás. */

/* ---------- Hero: titular, una frase, dos acciones y el mapa ---------- */

.bi-hero {
	padding-top: clamp(2.5rem, 1rem + 3.5vw, 4rem);
	padding-bottom: 0;
}

.bi-hero__top {
	display: grid;
	grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
	align-items: end;
	gap: var(--bi-space-xl) var(--bi-cols-gap);
	margin-bottom: clamp(2rem, 1rem + 2.5vw, 3rem);
}

.bi-hero__h {
	font-size: var(--bi-text-display);
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.bi-hero__accent {
	color: var(--bi-accent);
}

.bi-hero__side {
	display: grid;
	gap: var(--bi-space-lg);
	padding-bottom: 0.4rem;
}

.bi-map {
	margin: 0 auto;
}

.bi-map__sheet {
	display: grid;
	overflow: hidden;
	padding: clamp(0.5rem, 0.2rem + 0.8vw, 0.875rem);
	border-radius: var(--bi-radius-sheet);
	background: var(--bi-sheet);
	box-shadow: var(--bi-shadow-sheet);
}

.bi-map__img {
	grid-area: 1 / 1;
	display: block;
	width: 100%;
	height: auto;
	border-radius: calc(var(--bi-radius-sheet) - 0.5rem);
}

.bi-map__img[hidden] {
	display: none;
}

.bi-map.is-live .bi-map__img {
	display: block;
	transition: opacity 260ms var(--bi-ease);
}

.bi-map.is-live .bi-map__img:not(.is-on) {
	opacity: 0;
	pointer-events: none;
}

.bi-map__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--bi-space-md) var(--bi-space-xl);
	margin-top: var(--bi-space-lg);
}


.bi-seg {
	display: inline-flex;
	padding: 0.25rem;
	border-radius: var(--bi-radius-pill);
	background: var(--bi-paper-2);
}

html:not(.binno-js) .bi-seg {
	display: none;
}

.bi-seg__btn {
	min-height: 2.75rem;
	padding: 0 1.125rem;
	border: 0;
	border-radius: var(--bi-radius-pill);
	background: transparent;
	color: var(--bi-ink-2);
	font-family: var(--bi-font-display);
	font-size: 0.9375rem;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 160ms var(--bi-ease), color 160ms var(--bi-ease);
}

.bi-seg__btn[aria-pressed="true"] {
	background: var(--bi-ink);
	color: var(--bi-on-dark);
}

.bi-seg__btn:active {
	transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
	.bi-seg__btn[aria-pressed="false"]:hover {
		color: var(--bi-ink);
	}
}

/* ---------- Radiografía: cuatro fases en una fila numerada ---------- */

.bi-phases {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--bi-space-2xl) var(--bi-cols-gap);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: bi-fase;
}

.bi-phases li {
	display: grid;
	align-content: start;
	gap: var(--bi-space-sm);
	padding-top: var(--bi-space-lg);
	border-top: 1px solid var(--bi-rule);
	counter-increment: bi-fase;
}

.bi-phases li::before {
	content: counter(bi-fase);
	margin-bottom: var(--bi-space-md);
	font-family: var(--bi-font-display);
	font-size: var(--bi-text-section);
	font-weight: 500;
	line-height: 1;
	color: var(--bi-accent);
}

.bi-phases p {
	color: var(--bi-ink-2);
}

.bi-radio__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--bi-space-md) var(--bi-space-2xl);
	margin-top: var(--bi-space-3xl);
	padding-top: var(--bi-space-lg);
	border-top: 1px solid var(--bi-rule);
}

.bi-radio__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--bi-space-xl);
}

/* ---------- Quién está detrás ---------- */

.bi-who {
	padding-block: var(--bi-section-gap-l);
	background: var(--bi-paper-2);
}

.bi-who .bi-statement {
	max-width: 15em;
	font-size: var(--bi-text-statement);
	line-height: 1.04;
	letter-spacing: -0.03em;
}

.bi-who .bi-who__text {
	max-width: 40rem;
	margin-top: var(--bi-space-2xl);
	margin-left: auto;
	font-size: var(--bi-text-lead);
	line-height: 1.55;
	color: var(--bi-ink-2);
}

/* ---------- Tablet y celular ---------- */

@media (max-width: 60rem) {
	.bi-hero__top {
		grid-template-columns: minmax(0, 1fr);
	}

	.bi-phases {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 40rem) {
	.bi-phases {
		grid-template-columns: minmax(0, 1fr);
	}

	/* El mapa se lee deslizando: a este ancho, entero, sería ilegible. */
	.bi-map__sheet {
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: thin;
	}

	.bi-map__img {
		width: 46rem;
		max-width: none;
	}

	.bi-caption::after {
		content: " Deslice para ver el recorrido completo.";
	}

	.bi-seg {
		display: flex;
		width: 100%;
	}

	.bi-seg__btn {
		flex: 1 1 0;
		min-width: 0;
		padding: 0 0.5rem;
		font-size: 0.875rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bi-seg__btn,
	.bi-map.is-live .bi-map__img {
		transition: none;
	}

	.bi-seg__btn:active {
		transform: none;
	}
}
