/**
 * Call to Action widget.
 */

.msd-cta {
	--msd-cta-pad: clamp(64px, 9vw, 120px);
	--msd-cta-text: var(--msd-white, #fff);

	padding-top: var(--msd-cta-pad);
	padding-bottom: var(--msd-cta-pad);
	background-color: var(--msd-red, #9d2020);
	color: var(--msd-cta-text);
}

.msd-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: clamp(28px, 5vw, 80px);
}

.msd-cta__copy {
	display: flex;
	flex: 1 1 520px;
	flex-direction: column;
	gap: 20px;
	max-width: 720px;
	min-width: 0;
}

.msd-cta .msd-cta__title {
	margin: 0;
	color: var(--msd-cta-text);
	font-family: var(--msd-font-heading, "Bricolage Grotesque", system-ui, sans-serif);
	font-size: clamp(2.4rem, 5.6vw, 4.8rem);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.msd-cta .msd-cta__text {
	max-width: 540px;
	margin: 0;
	color: var(--msd-cta-text);
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.55;
}

/* Buttons */

.msd-cta__buttons {
	display: flex;
	flex: 0 1 440px;
	flex-direction: column;
	gap: 12px;
	min-width: min(100%, 320px);
}

.msd-cta .msd-cta__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 72px;
	padding: 12px 28px;
	border-radius: 999px;
	color: var(--msd-white, #fff);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 0.2s, background-color 0.2s;
}

.msd-cta .msd-cta__button:hover {
	transform: translateY(-2px);
	color: var(--msd-white, #fff);
}

.msd-cta__label {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.msd-cta__label .msd-icon {
	font-size: 26px;
}

.msd-cta__meta {
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
}

.msd-cta__arrow {
	font-size: 24px;
}

.msd-cta .msd-cta__button--call {
	background-color: var(--msd-espresso, #281616);
}

.msd-cta .msd-cta__button--whatsapp {
	background-color: var(--msd-green, #15803d);
}

.msd-cta__button--whatsapp .msd-icon {
	font-size: 22px;
}

/* White outline: the design's dark outline had too little contrast on red. */
.msd-cta .msd-cta__button--outline {
	border: 2px solid var(--msd-white, #fff);
	background-color: transparent;
}

.msd-cta .msd-cta__button--outline:hover {
	background-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 480px) {

	.msd-cta .msd-cta__button {
		padding-right: 22px;
		padding-left: 22px;
		font-size: 17px;
	}

	.msd-cta__meta {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.msd-cta .msd-cta__button {
		transition: none;
	}

	.msd-cta .msd-cta__button:hover {
		transform: none;
	}
}
