/* --- Contact success page (Figma 250:771) ----------------------------------- */

html:has(body.rj-page-contact-success) {
	height: 100%;
}

body.rj-page-contact-success {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	min-height: 100svh;
}

body.rj-page-contact-success .rj-contact-success {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 0;
	padding: 0;
}

body.rj-page-contact-success .rj-footer {
	flex-shrink: 0;
	margin-top: auto;
}

.rj-contact-success__stage {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: calc(100svh - var(--navbar-height) - 68px);
	overflow: hidden;
	background-color: #07090f;
}

.rj-contact-success__hero {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background-color: #07090f;
}

.rj-contact-success__hero-image {
	position: absolute;
	inset: 0;
	left: 50%;
	width: min(1334px, 118.6%);
	height: 100%;
	transform: translateX(calc(-50% - 4px));
	object-fit: cover;
	object-position: center center;
}

.rj-contact-success__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 17px;
	width: 100%;
	max-width: 555px;
	padding: var(--container-padding);
	text-align: center;
}

.rj-contact-success__title {
	margin: 0;
	font-family: var(--font-mona);
	font-weight: 700;
	font-size: clamp(32px, 6vw, 40px);
	line-height: 48px;
	letter-spacing: 0.3516px;
	color: var(--color-text);
}

.rj-contact-success__text {
	margin: 0;
	font-family: var(--font-lexend);
	font-weight: 400;
	font-size: 18px;
	line-height: 29.25px;
	letter-spacing: -0.4395px;
	color: var(--color-text);
}

.rj-contact-success__actions {
	display: flex;
	flex-direction: row;
	justify-content: center;
	width: 100%;
	padding-top: 16px;
}

.rj-contact-success__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 177px;
	height: 50px;
	padding: 16px 20px;
	border: 0;
	border-radius: 999px;
	background-color: #ffffff;
	box-shadow: 0 1px 2px rgba(25, 33, 61, 0.08);
	font-family: var(--font-mona);
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.3125px;
	color: var(--color-primary);
	text-decoration: none;
	transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.rj-contact-success__btn:hover,
.rj-contact-success__btn:focus-visible {
	background-color: #f2f4ff;
	color: var(--color-primary);
	transform: translateY(-1px);
}

@media (max-width: 992px) {
	.rj-contact-success__stage {
		min-height: calc(100svh - var(--navbar-height) - 56px);
	}

	.rj-contact-success__hero-image {
		width: 140%;
		transform: translateX(-50%);
	}
}
