.rb-compact-header {
	display: flex;
	align-items: center;
	gap: clamp(7px, 1.6vw, 20px);
	min-height: 76px;
	padding-block: 8px;
	position: relative;
}

.rb-compact-brand {
	display: grid;
	justify-items: center;
	gap: 4px;
	margin-inline-end: auto;
	color: var(--rb-navy);
	font-size: clamp(.72rem, 2.8vw, .94rem);
	font-weight: 850;
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
}

.rb-compact-logo {
	width: 44px;
	height: 44px;
}
@media (max-width: 640px) {
	.rb-compact-logo { width: 54px; height: 54px; }
	.rb-compact-brand { font-size: clamp(.78rem, 3.2vw, .94rem); }
}

.rb-compact-cta { flex: 0 0 auto; white-space: nowrap; }
.rb-desktop-nav { display: none; }
.rb-compact-menu > summary {
	display: flex;
	align-items: center;
	justify-content: center;
	inline-size: 44px;
	block-size: 44px;
	padding: 0;
	border: 1px solid #8493a1;
	border-radius: 7px;
	color: var(--rb-navy);
	list-style: none;
	cursor: pointer;
}
.rb-compact-menu > summary::-webkit-details-marker { display: none; }
.rb-compact-menu[open] > summary,
.rb-compact-menu > summary:hover { background: var(--rb-soft); }
.rb-compact-menu-icon {
	position: relative;
	width: 18px;
	height: 14px;
	border-block: 2px solid currentColor;
}
.rb-compact-menu-icon::after {
	content: "";
	position: absolute;
	inset: 4px 0 auto;
	border-block-start: 2px solid currentColor;
}

.rb-lead-dialog {
	width: min(29rem, calc(100vw - 2rem));
	max-height: calc(100dvh - 2rem);
	padding: clamp(16px, 4vw, 28px);
	overflow: auto;
	color: #202a38;
	background: #fff;
	border: 1px solid var(--rb-line);
	border-radius: 12px;
	box-shadow: 0 16px 56px #172b3c55;
}
.rb-lead-dialog::backdrop { background: #172b3c89; }
.rb-lead-dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rb-lead-dialog-heading h2 { margin-block: 3px 12px; }
.rb-lead-dialog-close {
	width: 44px;
	height: 44px;
	border-radius: 6px;
	border: 1px solid var(--rb-line);
	background: #fff;
	color: var(--rb-navy);
	font-size: 1.5rem;
	cursor: pointer;
}

.rb-compact-menu-panel {
	position: absolute;
	inset: 100% 0 auto auto;
	display: grid;
	grid-template-columns: 2.1fr 1fr;
	gap: 16px 24px;
	width: min(720px, 100%);
	max-height: min(70dvh, 520px);
	overflow: auto;
	overscroll-behavior: contain;
	padding: 20px;
	background: #fff;
	box-shadow: 0 14px 40px #243b5333;
	border: 1px solid var(--rb-line);
	border-radius: 0 0 12px 12px;
}
.rb-compact-menu:not([open]) .rb-compact-menu-panel { display: none; }
.rb-compact-menu-panel strong { display: block; padding-bottom: 6px; color: var(--rb-navy); }
.rb-compact-menu-panel a { display: block; padding-block: 6px; }
.rb-compact-service-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.rb-compact-city { display: grid; gap: 3px; border-top: 1px solid var(--rb-line); margin-top: 8px; padding-top: 9px; color: var(--rb-muted); }

@media (min-width: 1080px) {
	.rb-wrap.rb-compact-header {
		width: 100%;
		padding-inline: clamp(28px, 12vw - 100px, 96px);
	}
	.rb-compact-menu { display: none; }
	.rb-compact-brand {
		display: flex;
		gap: 9px;
		margin-inline-end: 0;
		font-size: 1rem;
	}
	.rb-desktop-nav {
		display: flex;
		align-items: center;
		gap: clamp(12px, 1.4vw, 22px);
		margin-inline: clamp(4px, 2vw, 32px) auto;
		font-size: .95rem;
		font-weight: 650;
	}
	.rb-desktop-nav summary,
	.rb-desktop-nav a { color: var(--rb-navy); text-decoration: none; }
	.rb-desktop-nav > a,
	.rb-desktop-nav summary {
		display: flex;
		align-items: center;
		min-height: 44px;
		white-space: nowrap;
	}
	.rb-desktop-nav a:hover,
	.rb-desktop-nav summary:hover { text-decoration: underline; }
	.rb-desktop-nav details { position: relative; }
	.rb-desktop-nav summary { gap: 8px; cursor: pointer; list-style: none; }
	.rb-desktop-nav summary::-webkit-details-marker { display: none; }
	.rb-desktop-nav summary::after {
		content: "";
		width: 6px;
		height: 6px;
		border-block-end: 2px solid currentColor;
		border-inline-end: 2px solid currentColor;
		transform: translateY(-2px) rotate(45deg);
	}
	.rb-desktop-nav details[open] summary::after { transform: translateY(2px) rotate(225deg); }
	.rb-desktop-dropdown {
		position: absolute;
		inset: 100% auto auto 0;
		display: grid;
		min-inline-size: 188px;
		max-block-size: min(65dvh, 500px);
		overflow: auto;
		padding: 8px 14px;
		border: 1px solid var(--rb-line);
		border-radius: 8px;
		background: #fff;
		box-shadow: 0 14px 36px #243b5329;
	}
	.rb-desktop-nav details:not([open]) .rb-desktop-dropdown { display: none; }
	.rb-desktop-dropdown a { padding-block: 8px; }
	.rb-desktop-dropdown--services { width: 340px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
}

.rb-more-work-links { margin-top: 16px; }
.rb-more-work-links > summary {
	width: fit-content;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid var(--rb-line);
	border-radius: 7px;
	color: var(--rb-navy);
	font-weight: 700;
	cursor: pointer;
}
.rb-more-work-links > summary:hover { background: var(--rb-soft); }
.rb-work-process > li + li { margin-top: 8px; }
.rb-customer-reviews .rb-review-stars { margin-block: 0 9px; color: #805100; }
.rb-customer-reviews .rb-review-stars span { letter-spacing: 2px; }

.rb-back-to-top.rb-button {
	inline-size: 44px;
	block-size: 44px;
	padding: 0;
	border-radius: 11px;
	font-size: 1.4rem;
	line-height: 1;
}

@media (max-width: 600px) {
	body.admin-bar .wp-site-blocks > header.wp-block-template-part { inset-block-start: 0; }
	html:has(body.admin-bar) { scroll-padding-top: calc(var(--rb-header-height, 76px) + 12px); }
}

@media (max-width: 600px) {
	.rb-compact-menu-panel { padding: 14px; grid-template-columns: 1fr; }
	.rb-compact-cta { padding-inline: clamp(7px, 2.15vw, 13px); font-size: clamp(.7rem, 2.8vw, .92rem); }
}
