/* Thank-you page after the booking form — Figma "Thank-you page" (483:3332). */

/*
 * The gradient runs behind the header pill. Inner pages keep the bar in flow,
 * so the band is pulled up under it and pays the height back in padding.
 */
.thank-you {
	margin-top: calc(var(--header-h) * -1);
	padding: calc(var(--header-h) + 50px) var(--gutter-mobile) 0;
	background: linear-gradient(180deg, #eaedf3 0%, var(--color-neutral-7) 100%);
}

.thank-you__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 41px;
	max-width: 739px;
	margin: 0 auto;
}

.thank-you__copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 27px;
	width: 100%;
}

.thank-you__eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-3);
	margin: 0;
	color: var(--color-success);
	font-family: var(--font-heading);
	font-size: var(--h5-size);
	font-weight: var(--h5-weight);
	line-height: var(--h5-lh);
}

.thank-you__eyebrow img {
	width: 16.667px;
	height: 16.667px;
	flex: 0 0 16.667px;
}

.thank-you__text-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 17px;
	width: 100%;
	text-align: center;
}

.thank-you__title {
	margin: 0;
	color: var(--color-primary);
	font-family: var(--font-heading);
	font-size: 32px;
	font-weight: var(--h2-weight);
	line-height: var(--h2-lh);
	text-wrap: balance;
}

.thank-you__text {
	max-width: 562px;
	margin: 0;
	color: var(--color-neutral-1);
	font-size: var(--body-main-size);
	font-weight: var(--body-main-weight);
	line-height: var(--body-main-lh);
}

.thank-you__phone {
	color: var(--color-primary);
	font-weight: inherit;
	white-space: nowrap;
}

.thank-you__actions {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	align-self: stretch;
	width: 100%;
}

.thank-you__actions .btn {
	width: 100%;
}

.thank-you__actions .btn--primary {
	justify-content: space-between;
}

/* Cut-out team photo standing on the bottom edge of the band. */
.thank-you__image {
	display: block;
	width: 100%;
	max-width: 620px;
	height: auto;
	aspect-ratio: 620 / 344;
}

@media (min-width: 768px) {
	.thank-you__actions {
		flex-direction: row;
		justify-content: center;
		align-self: auto;
		width: auto;
	}

	.thank-you__actions .btn { width: fit-content; }
	.thank-you__actions .btn--secondary { width: 247px; }
}

@media (min-width: 1024px) {
	.thank-you { padding: calc(var(--header-h) + 90px) var(--gutter) 0; }
	.thank-you__title { font-size: var(--h2-size); }
}
