.rmh-header {
	position: relative;
	z-index: 999;
	width: 100%;
	color: var(--rmh-text);
	background: var(--rmh-bg);
	transition: background-color .34s ease, box-shadow .34s ease, transform .34s ease, backdrop-filter .34s ease;
	will-change: background-color, box-shadow;
}

.rmh-header * {
	box-sizing: border-box;
}

.rmh-is-sticky {
	position: sticky;
	top: 0;
}

.admin-bar .rmh-is-sticky {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .rmh-is-sticky {
		top: 46px;
	}
}

.rmh-has-glass {
	backdrop-filter: saturate(145%) blur(16px);
	-webkit-backdrop-filter: saturate(145%) blur(16px);
	background: color-mix(in srgb, var(--rmh-bg) var(--rmh-glass-opacity), transparent);
}

.rmh-has-shadow,
.rmh-header.rmh-scrolled {
	box-shadow: 0 16px 40px rgba(20, 31, 26, .08);
}

.rmh-header.rmh-scrolled {
	background: var(--rmh-bg-scrolled);
}

.rmh-has-glass.rmh-scrolled {
	background: color-mix(in srgb, var(--rmh-bg-scrolled) var(--rmh-glass-opacity), transparent);
}

.rmh-shell {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto;
	align-items: center;
	gap: 22px;
	min-height: var(--rmh-height);
	max-width: var(--rmh-max-width);
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 32px);
	transition: min-height .36s cubic-bezier(.22, 1, .36, 1), gap .36s cubic-bezier(.22, 1, .36, 1), padding .36s cubic-bezier(.22, 1, .36, 1);
}

.rmh-scrolled .rmh-shell {
	min-height: var(--rmh-scrolled-height);
	gap: 18px;
}

.rmh-logo-center .rmh-shell {
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
}

.rmh-logo-right .rmh-shell {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto;
}

.rmh-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	color: var(--rmh-text);
	text-decoration: none;
	transform-origin: center;
	transition: transform .36s cubic-bezier(.22, 1, .36, 1), opacity .36s ease;
}

.rmh-logo-center .rmh-brand {
	justify-self: center;
}

.rmh-zone {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.rmh-zone-left {
	justify-content: flex-end;
}

.rmh-zone-right {
	justify-content: flex-start;
}

.rmh-logo {
	display: block;
	width: var(--rmh-logo);
	max-width: var(--rmh-logo);
	height: auto;
	max-height: calc(var(--rmh-height) - 22px);
	object-fit: contain;
	transition: width .36s cubic-bezier(.22, 1, .36, 1), max-width .36s cubic-bezier(.22, 1, .36, 1), max-height .36s cubic-bezier(.22, 1, .36, 1), transform .36s cubic-bezier(.22, 1, .36, 1);
}

.rmh-scrolled .rmh-logo {
	width: var(--rmh-scrolled-logo);
	max-width: var(--rmh-scrolled-logo);
	max-height: calc(var(--rmh-scrolled-height) - 14px);
}

.rmh-brand-text {
	max-width: 230px;
	overflow: hidden;
	color: var(--rmh-text);
	font-size: 18px;
	font-weight: 750;
	line-height: 1.1;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: font-size .36s cubic-bezier(.22, 1, .36, 1), transform .36s cubic-bezier(.22, 1, .36, 1), opacity .36s ease;
	transform-origin: center;
}

.rmh-scrolled .rmh-brand-text {
	font-size: 16px;
	opacity: .96;
	transform: translateY(0) scale(.98);
}

.rmh-nav {
	min-width: 0;
}

.rmh-nav-right {
	justify-self: start;
}

.rmh-nav-left .rmh-menu {
	justify-content: flex-end;
}

.rmh-nav-right .rmh-menu {
	justify-content: flex-start;
}

.rmh-logo-left .rmh-nav-left .rmh-menu,
.rmh-logo-right .rmh-nav-left .rmh-menu {
	justify-content: center;
}

.rmh-menu,
.rmh-mobile-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rmh-menu {
	flex-wrap: nowrap;
}

.rmh-menu li {
	position: relative;
	margin: 0;
}

.rmh-header .rmh-menu a,
.rmh-header .rmh-mobile-menu a,
.rmh-menu a,
.rmh-mobile-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 9px 13px;
	border-radius: var(--rmh-radius);
	color: var(--rmh-menu-color) !important;
	font-size: 15px;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	transition: min-height .36s cubic-bezier(.22, 1, .36, 1), padding .36s cubic-bezier(.22, 1, .36, 1), background-color .2s ease, color .2s ease, transform .2s ease;
}

.rmh-menu a {
	white-space: nowrap;
}

.rmh-scrolled .rmh-menu a {
	min-height: 36px;
	padding-block: 7px;
}

.rmh-header .rmh-menu a:hover,
.rmh-header .rmh-menu a:focus-visible,
.rmh-header .rmh-mobile-menu a:hover,
.rmh-header .rmh-mobile-menu a:focus-visible,
.rmh-menu a:hover,
.rmh-menu a:focus-visible,
.rmh-mobile-menu a:hover,
.rmh-mobile-menu a:focus-visible {
	color: var(--rmh-menu-hover) !important;
	background: color-mix(in srgb, var(--rmh-menu-hover) 18%, transparent) !important;
	outline: none;
}

.rmh-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	display: grid;
	gap: 2px;
	min-width: 210px;
	margin: 0;
	padding: 8px;
	border: 1px solid rgba(20, 31, 26, .08);
	border-radius: 18px;
	opacity: 0;
	visibility: hidden;
	list-style: none;
	background: var(--rmh-bg);
	box-shadow: 0 20px 45px rgba(20, 31, 26, .12);
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.rmh-menu li:hover > .sub-menu,
.rmh-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.rmh-actions {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	min-width: max-content;
	justify-self: end;
}

.rmh-phone {
	display: inline-grid;
	gap: 1px;
	flex: 0 0 auto;
	min-width: max-content;
	padding: 8px 14px;
	border-radius: var(--rmh-radius);
	color: var(--rmh-accent-text);
	text-decoration: none;
	background: var(--rmh-accent);
	box-shadow: 0 10px 24px color-mix(in srgb, var(--rmh-accent) 26%, transparent);
	transition: padding .36s cubic-bezier(.22, 1, .36, 1), transform .2s ease, box-shadow .2s ease;
}

.rmh-scrolled .rmh-phone {
	padding-block: 6px;
}

.rmh-phone:hover,
.rmh-phone:focus-visible {
	color: var(--rmh-accent-text);
	outline: none;
	transform: translateY(-1px);
	box-shadow: 0 14px 30px color-mix(in srgb, var(--rmh-accent) 34%, transparent);
}

.rmh-phone-label {
	font-size: 11px;
	font-weight: 650;
	line-height: 1;
	opacity: .76;
}

.rmh-phone-number {
	font-size: 15px;
	font-weight: 800;
	line-height: 1.15;
	white-space: nowrap;
}

.rmh-messengers,
.rmh-mobile-messengers {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 7px;
}

.rmh-messenger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid color-mix(in srgb, var(--rmh-text) 12%, transparent);
	border-radius: 999px;
	color: var(--rmh-text);
	text-decoration: none;
	background: color-mix(in srgb, var(--rmh-bg) 80%, transparent);
	transition: width .36s cubic-bezier(.22, 1, .36, 1), height .36s cubic-bezier(.22, 1, .36, 1), background-color .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

.rmh-scrolled .rmh-messenger {
	width: 36px;
	height: 36px;
}

.rmh-messenger svg,
.rmh-messenger-img {
	display: block;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.rmh-messenger svg {
	fill: currentColor;
}

.rmh-messenger:hover,
.rmh-messenger:focus-visible {
	border-color: var(--rmh-accent);
	color: var(--rmh-accent-text);
	outline: none;
	background: var(--rmh-accent);
	transform: translateY(-1px);
}

.rmh-burger {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	width: 44px;
	height: 44px;
	border: 1px solid color-mix(in srgb, var(--rmh-text) 12%, transparent);
	border-radius: var(--rmh-radius);
	color: var(--rmh-text);
	background: transparent;
	cursor: pointer;
}

.rmh-burger span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 99px;
	background: currentColor;
	transition: transform .2s ease, opacity .2s ease;
}

.rmh-burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.rmh-burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.rmh-burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.rmh-mobile-panel {
	display: none;
	max-width: var(--rmh-max-width);
	margin: 0 auto;
	padding: 0 16px 18px;
}

.rmh-layout-compact .rmh-shell {
	gap: 14px;
}

.rmh-layout-compact .rmh-menu a {
	padding-inline: 10px;
}

.rmh-layout-wide .rmh-shell {
	gap: 30px;
}

@media (max-width: 1180px) {
	.rmh-shell {
		gap: 16px;
	}

	.rmh-zone {
		gap: 10px;
	}

	.rmh-brand-text {
		max-width: 170px;
		font-size: 16px;
	}

	.rmh-menu a {
		padding-inline: 10px;
		font-size: 14px;
	}

	.rmh-phone-label {
		display: none;
	}
}

@media (max-width: 960px) {
	.rmh-shell {
		grid-template-columns: auto auto;
		justify-content: space-between;
		min-height: max(64px, calc(var(--rmh-height) - 10px));
	}

	.rmh-logo-center .rmh-shell,
	.rmh-logo-right .rmh-shell {
		grid-template-columns: auto auto;
	}

	.rmh-logo {
		width: var(--rmh-logo-mobile);
		max-width: var(--rmh-logo-mobile);
	}

	.rmh-nav {
		display: none;
	}

	.rmh-actions {
		gap: 8px;
	}

	.rmh-actions .rmh-phone,
	.rmh-actions .rmh-messengers {
		display: none;
	}

	.rmh-burger {
		display: inline-flex;
	}

	.rmh-mobile-panel.rmh-open {
		display: grid;
		gap: 14px;
	}

	.rmh-mobile-menu {
		align-items: stretch;
		flex-direction: column;
		gap: 4px;
		padding: 10px;
		border: 1px solid color-mix(in srgb, var(--rmh-text) 10%, transparent);
		border-radius: 22px;
		background: color-mix(in srgb, var(--rmh-bg) 96%, var(--rmh-accent) 4%);
	}

	.rmh-mobile-menu a {
		justify-content: space-between;
		width: 100%;
		padding: 13px 14px;
		color: var(--rmh-mobile-menu-color) !important;
	}

	.rmh-mobile-menu a:hover,
	.rmh-mobile-menu a:focus-visible {
		color: var(--rmh-menu-hover) !important;
	}

	.rmh-mobile-menu .sub-menu {
		display: grid;
		gap: 2px;
		margin: 2px 0 4px 12px;
		padding: 0;
		list-style: none;
	}

	.rmh-mobile-phone {
		display: inline-flex;
		justify-content: center;
		width: 100%;
		padding: 14px 16px;
		border-radius: var(--rmh-radius);
		color: var(--rmh-accent-text);
		font-weight: 800;
		text-decoration: none;
		background: var(--rmh-accent);
	}

	.rmh-mobile-messengers {
		justify-content: center;
	}
}

@media (max-width: 520px) {
	.rmh-shell {
		padding-inline: 12px;
	}

	.rmh-brand {
		gap: 9px;
	}

	.rmh-brand-text {
		max-width: 46vw;
		font-size: 14px;
	}

	.rmh-burger {
		width: 42px;
		height: 42px;
	}

	.rmh-mobile-panel {
		padding-inline: 12px;
	}
}

.rmh-footer {
	color: var(--rmh-footer-text);
	background: var(--rmh-footer-bg);
}

.rmh-footer-shell,
.rmh-footer-bottom,
.rmh-footer-bottom-inner {
	background: transparent;
}

.rmh-footer * {
	box-sizing: border-box;
}

.rmh-footer-shell {
	display: grid;
	grid-template-columns: minmax(280px, 1.05fr) auto minmax(280px, .95fr);
	gap: clamp(34px, 7vw, 96px);
	max-width: var(--rmh-max-width);
	margin: 0 auto;
	padding: clamp(48px, 7vw, 88px) clamp(18px, 4vw, 32px) clamp(64px, 8vw, 120px);
}

.rmh-footer-contact h2 {
	margin: 0 0 28px;
	color: var(--rmh-footer-text);
	font-size: 18px;
	line-height: 1.25;
}

.rmh-footer-line {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	margin: 0 0 14px;
	color: var(--rmh-footer-text);
	font-size: 16px;
	line-height: 1.55;
	text-decoration: none;
}

.rmh-footer-line svg {
	width: 17px;
	height: 17px;
	margin-top: 4px;
	fill: var(--rmh-footer-muted);
}

.rmh-footer-line:hover {
	color: #fff;
}

.rmh-footer-coords {
	margin-top: 28px;
	color: var(--rmh-footer-text);
	font-size: 16px;
	line-height: 1.45;
}

.rmh-footer-badge {
	margin-top: 34px;
	color: var(--rmh-footer-muted);
	font-size: 14px;
	line-height: 1.35;
}

.rmh-footer-badge strong {
	color: #ff4d58;
	font-size: 18px;
}

.rmh-footer-badge span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 32px;
	margin: 0 8px;
	border-radius: 8px;
	color: #fff;
	font-weight: 800;
	background: #ff4d58;
}

.rmh-footer-socials {
	display: inline-flex;
	align-items: flex-start;
	justify-content: center;
	gap: 12px;
	padding-top: 4px;
}

.rmh-footer-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 999px;
	color: #fff;
	text-decoration: none;
	background: rgba(255, 255, 255, .2);
	transition: transform .2s ease, background-color .2s ease;
}

.rmh-footer-social:hover,
.rmh-footer-social:focus-visible {
	outline: none;
	background: rgba(255, 255, 255, .3);
	transform: translateY(-2px);
}

.rmh-footer-social svg,
.rmh-footer-social img {
	display: block;
	width: 25px;
	height: 25px;
	object-fit: contain;
	fill: currentColor;
}

.rmh-footer-menu {
	display: grid;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rmh-footer .rmh-footer-menu a,
.rmh-footer-menu a {
	color: var(--rmh-footer-menu-color) !important;
	font-size: 16px;
	line-height: 1.35;
	text-decoration: none;
	transition: color .18s ease, opacity .18s ease;
}

.rmh-footer .rmh-footer-menu a:hover,
.rmh-footer .rmh-footer-menu a:focus-visible,
.rmh-footer-menu a:hover,
.rmh-footer-menu a:focus-visible {
	color: var(--rmh-footer-menu-hover) !important;
	outline: none;
	opacity: .82;
}

.rmh-footer-bottom {
	border-top: 1px solid var(--rmh-footer-border);
}

.rmh-footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: var(--rmh-max-width);
	min-height: 78px;
	margin: 0 auto;
	padding: 18px clamp(18px, 4vw, 32px);
	color: var(--rmh-footer-text);
	font-size: 14px;
	line-height: 1.4;
}

.rmh-footer-payments {
	color: var(--rmh-footer-muted);
	font-weight: 800;
	white-space: nowrap;
}

@media (max-width: 900px) {
	.rmh-footer,
	.rmh-footer-shell,
	.rmh-footer-bottom,
	.rmh-footer-bottom-inner,
	.rmh-footer-contact,
	.rmh-footer-nav {
		color: var(--rmh-footer-mobile-text) !important;
		background: var(--rmh-footer-mobile-bg) !important;
	}

	.rmh-footer h2,
	.rmh-footer-line,
	.rmh-footer-coords,
	.rmh-footer-bottom-inner {
		color: var(--rmh-footer-mobile-text) !important;
	}

	.rmh-footer-menu a {
		color: var(--rmh-footer-mobile-menu-color) !important;
	}

	.rmh-footer-menu a:hover,
	.rmh-footer-menu a:focus-visible {
		color: var(--rmh-footer-menu-hover) !important;
	}

	.rmh-footer-shell {
		grid-template-columns: 1fr;
		gap: 34px;
		padding-bottom: 54px;
	}

	.rmh-footer-socials {
		justify-content: flex-start;
	}

	.rmh-footer-bottom-inner {
		align-items: flex-start;
		flex-direction: column;
		min-height: auto;
	}
}
