/**
 * Home — CTA final
 * Figma (frame 1447 × 376, fondo "Terracota Colabora"):
 * Título = Heading/H3 40 #F8F6F1 (cream) · Texto = Body/L 18 "Blanco 70 Colabora" (2 líneas, caja de 917).
 * Botones outline píldora (Hug × 42, padding 10, gap 10, borde "Blanco Colabora" 0.7px interior),
 * texto Body/M 16 light + flecha arrow-right.svg; ~34px entre botones.
 */

.home-cta {
	width: 100%;
	background: var(--color-terracotta);
	color: var(--color-light);
}

.home-cta__inner {
	width: 100%;
	max-width: calc(917px + 2 * 64px);
	margin: 0 auto;
	padding: 90px 64px 73px;
	text-align: center;
}

.home-cta__title {
	margin: 0 0 18px;
	color: var(--color-cream);
}

.home-cta__text {
	margin: 0;
	color: var(--color-light-70);
}

/* ---------- Botones ---------- */
.home-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px 34px;
	margin-top: 57px;
}

.home-cta .home-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 42px;
	padding: 10px 17px 10px 18px;
	border: 0.7px solid var(--color-light);
	border-radius: var(--radius-pill);
	background: transparent;
	color: var(--color-light);
	font-family: var(--font-sans);
	text-decoration: none;
	transition: box-shadow .2s ease;
}

/* Hover: el texto sube a Medium, el ícono engrosa su trazo y el borde se hace más grueso
   (sombra interior: el botón no cambia de tamaño) */
.home-cta .home-cta__btn:hover,
.home-cta .home-cta__btn:focus-visible {
	box-shadow: inset 0 0 0 0.7px var(--color-light);
}

.home-cta__btn:hover .colabora-label,
.home-cta__btn:focus-visible .colabora-label {
	font-weight: var(--fw-medium);
}

.home-cta .home-cta__btn:focus-visible {
	outline: 2px solid var(--color-light);
	outline-offset: 3px;
}

.home-cta__arrow {
	display: inline-flex;
}

.home-cta__arrow svg {
	width: 16px;
	height: 16px;
}

.home-cta__arrow path {
	transition: stroke-width .2s ease;
}

.home-cta__btn:hover .home-cta__arrow path,
.home-cta__btn:focus-visible .home-cta__arrow path {
	stroke-width: 1.6;
}

/* ---------- Pantallas medianas ---------- */
@media (max-width: 1024px) {
	.home-cta__inner {
		padding: 80px 48px 72px;
	}

	.home-cta__actions {
		margin-top: 48px;
	}
}

/* ---------- Móvil ---------- */
@media (max-width: 767px) {
	.home-cta__inner {
		padding: 64px 24px;
	}

	.home-cta__title {
		margin-bottom: 14px;
		font-size: 30px;
		line-height: 1.2;
	}

	.home-cta__text {
		font-size: var(--fs-body-m);
		line-height: 22px;
	}

	.home-cta__br {
		display: none;
	}

	.home-cta__actions {
		flex-direction: column;
		align-items: center;
		gap: 14px;
		margin-top: 36px;
	}

	.home-cta .home-cta__btn {
		width: 100%;
		max-width: 320px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-cta .home-cta__btn,
	.home-cta__arrow path {
		transition: none;
	}
}
