:root {
	--rp-blue: #1251a0;
	--rp-blue-dark: #0e3f7d;
	--rp-blue-soft: #eef3fb;
	--rp-heading: #16233a;
	--rp-text: #4b5563;
	--rp-muted: #6b7280;
	--rp-line: #dbe4f0;
	--rp-bg: #fff;
	--rp-radius: 0.875rem;
}

.reha-popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	background-color: rgba(11, 24, 46, 0.55);
	backdrop-filter: blur(2px);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease-out;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.reha-popup-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

.reha-popup {
	position: relative;
	width: 100%;
	max-width: 27.5rem;
	margin: auto;
	padding: 2.75rem 2.25rem 2.25rem;
	background-color: var(--rp-bg);
	border-radius: var(--rp-radius);
	box-shadow: 0 1.75rem 3.5rem rgba(11, 24, 46, 0.25);
	transform: translateY(1rem);
	transition: all 0.3s ease-out;
	font-family: 'Roboto', sans-serif;
	color: var(--rp-text);
	text-align: center;
}

.reha-popup-overlay.is-visible .reha-popup {
	transform: translateY(0);
}

.reha-popup-badge {
	display: inline-block;
	margin: 0 0 0.75rem;
	padding: 0.3125rem 0.75rem;
	background-color: var(--rp-blue-soft);
	border-radius: 999px;
	color: var(--rp-blue);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.reha-popup-title {
	margin: 0 0 0.875rem;
	color: var(--rp-heading);
	font-size: clamp(1.3125rem, 1.15rem + 0.75vw, 1.5625rem);
	font-weight: 700;
	line-height: 1.3;
}

.reha-popup-lead {
	margin: 0 auto 1.5rem;
	max-width: 22rem;
	font-size: 0.9375rem;
	line-height: 1.65;
}

.reha-popup-address {
	margin: 0 0 1.75rem;
	padding: 1.375rem 1.25rem;
	background-color: var(--rp-blue-soft);
	border: 1px solid var(--rp-line);
	border-radius: 0.75rem;
	color: var(--rp-blue-dark);
	font-size: 1.0625rem;
	font-style: normal;
	line-height: 1.7;
}

.reha-popup-address strong {
	display: block;
	margin: 0 0 0.25rem;
	font-size: 1.125rem;
	font-weight: 700;
}

.reha-popup-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 3rem;
	padding: 0.75rem 1.75rem;
	background-color: var(--rp-blue);
	border: 0;
	border-radius: 0.5rem;
	box-shadow: 0 0.5rem 1.25rem rgba(18, 81, 160, 0.28);
	color: #fff;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease-out;
}

.reha-popup-btn:hover,
.reha-popup-btn:focus {
	background-color: var(--rp-blue-dark);
	box-shadow: 0 0.75rem 1.5rem rgba(18, 81, 160, 0.36);
	color: #fff;
	transform: translateY(-1px);
	outline: none;
}

.reha-popup-close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	background-color: transparent;
	border: 0;
	border-radius: 50%;
	color: var(--rp-muted);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition: all 0.3s ease-out;
}

.reha-popup-close:hover,
.reha-popup-close:focus {
	background-color: var(--rp-blue-soft);
	color: var(--rp-blue);
	outline: none;
}

@media screen and (max-width: 480px) {
	.reha-popup-overlay {
		padding: 1rem;
	}

	.reha-popup {
		padding: 2.5rem 1.375rem 1.625rem;
	}

	.reha-popup-address {
		padding: 1.125rem 1rem;
		font-size: 1rem;
	}
}
