/**
 * WORKS homepage call to action.
 *
 * Styles the final promotional section and its logo.
 */

.works-cta {
	padding-block: 1.6rem;
	background: linear-gradient(105deg, var(--works-orange), var(--works-amber));
}

.works-cta-inner {
	display: grid;
	grid-template-columns: 245px 1fr auto;
	align-items: center;
	gap: 1.5rem;
}

.works-cta-logo {
	display: block;
	padding: 0.25rem 0.4rem;
	border-radius: 6px;
	background: var(--works-white);
}

.works-cta-logo img {
	display: block;
	width: 100%;
	max-height: 105px;
	object-fit: contain;
}

.works-cta h2 {
	margin: 0 0 0.35rem;
	font-size: clamp(1.3rem, 2.6vw, 2rem);
	line-height: 1.15;
}

.works-cta p {
	margin: 0;
	color: #452900;
	font-size: 0.94rem;
}

@media (max-width: 950px) {
	.works-cta-inner {
		grid-template-columns: 180px 1fr auto;
	}
}

@media (max-width: 700px) {
	.works-cta-inner {
		grid-template-columns: 1fr;
		gap: 0.85rem;
		text-align: center;
	}

	.works-cta-logo {
		width: 190px;
		margin-inline: auto;
	}

	.works-cta-inner .works-button {
		justify-self: center;
	}
}