/**
 * Home — viewport completo en carga; footer solo tras scrollear el hero
 */

.site-main--home {
	padding-top: 0;
	padding-bottom: 0;
	min-height: 0;
}

.home-stack {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding-bottom: 3rem;
	/* Empuja el hero hacia abajo en el viewport sin estirar la tarjeta */
	min-height: calc(100vh - 70px);
	justify-content: flex-end;
}

/*
 * Tarjeta hero: ancha según contenido (no full-width).
 * El alto de pantalla lo controla .home-stack, no la tarjeta.
 */
.home-hero {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-self: flex-start;
	width: fit-content;
	max-width: min(40rem, 100%);
	min-height: 0;
	box-sizing: border-box;
}

.home-hero__title {
	font-family: var(--font-display-cilati);
	font-weight: 500;
	font-style: normal;
	font-size: clamp(1.75rem, 1.2rem + 3vw, 3.25rem);
	line-height: 1.15;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	margin: 0 0 0.85em;
	color: var(--color-offwhite);
	max-width: 100%;
}

.home-hero .ves-prose {
	color: var(--color-offwhite);
	max-width: none;
	margin: 0;
}

.home-hero__btn {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	margin-top: 1.25rem;
	padding: 0.65rem 1.25rem;
	font-family: var(--font-body);
	font-size: 0.95rem;
	line-height: 1.2;
	color: var(--color-offwhite);
	text-decoration: none;
	border: 1px solid var(--color-stroke);
	border-radius: var(--radius-card);
	background: rgba(255, 255, 255, 0.06);
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.home-hero__btn:hover {
	background: rgba(255, 255, 255, 0.14);
	text-decoration: none;
}

.home-card {
	align-self: flex-start;
	width: fit-content;
	max-width: min(40rem, 100%);
}

.home-card .ves-heading {
	color: var(--color-offwhite);
	font-weight: 500;
}

.home-card .ves-prose {
	color: var(--color-offwhite);
}

@media (max-width: 768px) {
	.home-stack {
		min-height: calc(100vh - 70px);
	}

	.home-hero,
	.home-card {
		max-width: 100%;
		width: 100%;
	}

	.home-hero__title {
		font-size: clamp(1.35rem, 0.9rem + 4vw, 2rem);
	}
}
