/* Header — WP menu (`menu-1`) + Figma mega 1162:3. */

.theme-header.site-header {
	background: #fff;
	border-bottom: 1px solid #f5f5f5;
	box-shadow: 0 2px 14px 0 rgba(1, 46, 84, 0.06);
	height: 88px;
	display: flex;
	align-items: center;
	position: relative;
	z-index: 50;
	padding: 0;
	margin: 0;
}

.theme-header .page-width-boxed {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 88px;
	gap: 24px;
	overflow: visible;
}

.theme-header-logo {
	display: block;
	flex-shrink: 0;
	line-height: 0;
}

.theme-header-logo img {
	display: block;
	width: 273px;
	height: 36px;
}

.theme-header-right {
	display: flex;
	align-items: center;
	gap: 28px;
}

.theme-header-menu {
	display: flex;
	align-items: center;
	gap: 28px;
}

.theme-header-contact {
	display: flex;
	align-items: center;
	gap: 28px;
}

.theme-mega-title-all {
	display: none;
}

.theme-header-nav,
.theme-header-nav-list {
	display: flex;
	align-items: center;
	gap: 24px;
	font-family: "Source Sans 3", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: #012e55;
	white-space: nowrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.theme-header-nav-list > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.theme-header-nav-list > li:not(.theme-nav-mega) {
	position: relative;
}

.theme-header-nav-list > .theme-nav-mega {
	position: static;
}

.theme-header-nav-list > li > a {
	display: flex;
	align-items: center;
}

.theme-header-nav a,
.theme-header-nav a:visited,
.theme-header-nav a:hover,
.theme-header-nav a:focus,
.theme-header-nav a:active {
	color: #012e55;
}

.theme-header-nav a:hover,
.theme-header-nav a:focus {
	color: #012e55;
	opacity: 0.72;
}

.theme-header-nav-list > .menu-item-has-children > a::after {
	content: " ▾";
}

.theme-nav-drop {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 12px 16px;
	list-style: none;
	background: #fff;
	border: 1px solid #e4e8ec;
	border-radius: 8px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
	flex-direction: column;
	gap: 8px;
	z-index: 60;
	white-space: nowrap;
}

.theme-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% - 2px);
	display: flex;
	justify-content: center;
	padding: 2px 0 24px;
	width: auto;
	max-width: none;
	transform: none;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 60;
}

.theme-header--desktop .theme-header-right,
.theme-header--desktop .theme-header-menu,
.theme-header--desktop .theme-header-nav,
.theme-header--desktop .theme-header-nav-list {
	align-self: stretch;
}

.theme-header--desktop .theme-header-menu,
.theme-header--desktop .theme-header-nav,
.theme-header--desktop .theme-header-nav-list {
	align-items: stretch;
	height: 88px;
}

.theme-header--desktop .theme-header-phone {
	align-self: center;
}

.theme-header--desktop .theme-header-nav-list > li > a {
	height: 100%;
}

.theme-header--desktop .theme-header-nav-list > li:not(.theme-nav-mega):hover > .theme-nav-drop,
.theme-header--desktop .theme-header-nav-list > li:not(.theme-nav-mega):focus-within > .theme-nav-drop {
	display: flex;
}

.theme-header--desktop .theme-nav-mega:hover > .theme-mega,
.theme-header--desktop .theme-nav-mega:focus-within > .theme-mega,
.theme-header--desktop .theme-nav-mega.is-open > .theme-mega {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.theme-mega-panel {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	padding: 32px 40px 36px;
	background: #fff;
	border: 1px solid #e4e8ec;
	border-radius: 16px;
	box-shadow: 0 18px 40px 0 rgba(0, 0, 0, 0.12);
	width: max-content;
	max-width: 100%;
}

.theme-mega-cols {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px 48px;
	padding-top: 6px;
	max-width: 100%;
}

.theme-mega-col {
	white-space: nowrap;
	flex: 0 0 auto;
}

.theme-mega-cap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.theme-mega-col,
.theme-mega-list,
.theme-mega-sub {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.theme-mega-list > li,
.theme-mega-sub > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.theme-mega-list > .menu-item-has-children {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.theme-mega a,
.theme-mega a:visited,
.theme-mega a:hover,
.theme-mega a:focus,
.theme-mega a:active {
	font-family: "Source Sans 3", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: #333;
}

.theme-mega-list > .mega-heading > a,
.theme-mega-list > .mega-heading > a:visited,
.theme-mega-list > .mega-heading > a:hover,
.theme-mega-list > .mega-heading > a:focus,
.theme-mega-list > .mega-heading > a:active,
.theme-mega-list > .mega-strong > a,
.theme-mega-list > .mega-strong > a:visited,
.theme-mega-list > .mega-strong > a:hover,
.theme-mega-list > .mega-strong > a:focus,
.theme-mega-list > .mega-strong > a:active {
	font-weight: 600;
	line-height: 1.4;
	color: #012e55;
}

.theme-mega-sub a,
.theme-mega-sub a:visited,
.theme-mega-sub a:hover,
.theme-mega-sub a:focus,
.theme-mega-sub a:active {
	color: #6b7c8c;
}

.theme-mega-sub a::before {
	content: "– ";
}

a.theme-mega-title,
a.theme-mega-title:visited,
a.theme-mega-title:hover,
a.theme-mega-title:focus,
a.theme-mega-title:active {
	font-family: "Cal Sans", "Source Sans 3", sans-serif;
	font-size: 34px;
	font-weight: 400;
	line-height: 1.2;
	color: #012e55;
}

.theme-mega-lead {
	margin: 0;
	font-family: "Source Sans 3", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: #9e9e9e;
}

.theme-header-phone {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	white-space: nowrap;
}

.theme-header-hours {
	font-size: 14px;
	line-height: 1.5;
	color: #9e9e9e;
}

.theme-header-tel,
.theme-header-tel:visited,
.theme-header-tel:hover,
.theme-header-tel:focus,
.theme-header-tel:active {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #012e55;
}

.theme-header-cta,
.theme-header-cta:visited,
.theme-header-cta:hover,
.theme-header-cta:focus,
.theme-header-cta:active {
	background: #f04;
	color: #fff;
	border-radius: 8px;
	padding: 13px 22px;
	font-family: "Source Sans 3", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
	white-space: nowrap;
	flex-shrink: 0;
}

.theme-header-cta:hover,
.theme-header-cta:focus {
	background: #e0003c;
	color: #fff;
}

.theme-header-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
	flex-shrink: 0;
}

.theme-header-menu-toggle span,
.theme-header-menu-toggle span::before,
.theme-header-menu-toggle span::after {
	display: block;
	width: 24px;
	height: 2px;
	background: #012e55;
	border-radius: 1px;
	position: relative;
	margin: 0 auto;
}

.theme-header-menu-toggle span::before,
.theme-header-menu-toggle span::after {
	content: "";
	position: absolute;
	left: 0;
}

.theme-header-menu-toggle span::before {
	top: -7px;
}

.theme-header-menu-toggle span::after {
	top: 7px;
}

/* Footer — complete */

.theme-footer.site-footer {
	background: #012e55;
	border-top: 4px solid #f04;
	color: #9fb1c2;
	padding: 68px 0 40px;
	position: relative;
	overflow: hidden;
	margin: 0;
}

.theme-footer-top {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	position: relative;
	z-index: 1;
}

.theme-footer-brand {
	width: 300px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.theme-footer-logo {
	width: 150px;
	height: auto;
	display: block;
}

.theme-footer-lead {
	font-family: "Cal Sans", "Source Sans 3", sans-serif;
	font-size: 11px;
	line-height: 1.3;
	color: #9fb1c2;
}

.theme-footer-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.theme-footer-pill {
	border: 1px solid #33506e;
	border-radius: 16px;
	padding: 7px 12px;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
}

.theme-footer-badges {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.theme-footer-reviews {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	line-height: 1.5;
}

.theme-footer-reviews-stars {
	color: #ffb400;
	letter-spacing: 2px;
}

.theme-footer-column {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.theme-footer-column h2,
.theme-footer-contact h2 {
	margin: 0;
	color: #fff;
	font-family: "Source Sans 3", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
}

.theme-footer-contact h2 {
	margin-bottom: 16px;
}

.theme-footer-column ul,
.theme-footer-contact p {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.5;
	color: #9fb1c2;
}

.theme-footer-column li + li,
.theme-footer-contact p + p {
	margin-top: 5px;
}

.theme-footer-column a,
.theme-footer-contact a,
.theme-footer-legal a {
	color: inherit;
}

.theme-footer-column a:hover,
.theme-footer-contact a:hover,
.theme-footer-legal a:hover {
	color: #9fb1c2;
	opacity: 0.85;
}

.theme-footer-contact {
	width: 270px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.theme-footer-divider {
	width: 100px;
	height: 1px;
	background: #173e63;
	margin: 40px 0 24px;
	position: relative;
	z-index: 1;
}

.theme-footer-legal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	font-size: 14px;
	position: relative;
	z-index: 1;
}

.theme-footer-legal p {
	margin: 0;
	flex: 1;
	color: #9fb1c2;
	line-height: 1.5;
}

.theme-footer-legal-links {
	display: flex;
	gap: 20px;
	color: #fff;
	font-weight: 600;
	white-space: nowrap;
}

.theme-footer-legal-links a,
.theme-footer-legal-links a:visited,
.theme-footer-legal-links a:hover,
.theme-footer-legal-links a:focus,
.theme-footer-legal-links a:active {
	color: #fff;
}

.theme-footer-legal-links a:hover,
.theme-footer-legal-links a:focus {
	color: #fff;
	opacity: 0.85;
}

.theme-footer .theme-cloud-bottom-right {
	right: -20px;
	bottom: -20px;
	width: 349px;
}

.theme-footer .theme-cloud-top-left {
	left: -80px;
	top: 20px;
	width: 214px;
}

body.nav-open {
	overflow: hidden;
}

.theme-header--mobile.site-header {
	position: sticky;
	top: 0;
}

.theme-header--mobile .theme-header-menu {
	display: none;
}

.theme-header--mobile .theme-header-menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
}

.theme-header--mobile .theme-header-right {
	gap: 12px;
}

.theme-header--mobile .theme-header-logo img {
	width: 200px;
	height: auto;
}

.theme-header--mobile.is-open {
		position: fixed;
		inset: 0;
		height: 100%;
		height: 100dvh;
		align-items: stretch;
		border-bottom: 0;
		box-shadow: none;
		background: #fff;
		z-index: 100;
	}

	.theme-header--mobile.is-open .page-width-boxed {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-rows: auto minmax(0, 1fr);
		grid-template-areas:
			"logo toggle"
			"menu menu";
		align-items: center;
		width: 100% !important;
		height: 100%;
		max-width: none;
		gap: 0;
		padding: 6px 8px 0 20px;
		overflow: hidden;
	}

	.theme-header--mobile.is-open .theme-header-logo {
		grid-area: logo;
	}

	.theme-header--mobile.is-open .theme-header-right {
		display: contents;
	}

	.theme-header--mobile.is-open .theme-header-menu-toggle {
		grid-area: toggle;
	}

	.theme-header--mobile.is-open .theme-header-menu-toggle span,
	.theme-header--mobile.is-open .theme-header-menu-toggle span::before,
	.theme-header--mobile.is-open .theme-header-menu-toggle span::after {
		display: none;
	}

	.theme-header--mobile.is-open .theme-header-menu-toggle::after {
		content: "✕";
		font-family: "Source Sans 3", sans-serif;
		font-size: 22px;
		font-weight: 400;
		line-height: 24px;
		color: #012e55;
	}

	.theme-header--mobile.is-open .theme-header-menu {
		grid-area: menu;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		min-height: 0;
		height: 100%;
		overflow: hidden;
		margin: 6px -8px 0 -20px;
		border-top: 1px solid #dce3ea;
		background: #fff;
	}

	.theme-header--mobile.is-open .theme-header-nav {
		flex: 1 1 0%;
		min-height: 0;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		width: 100%;
	}

	.theme-header--mobile.is-open .theme-header-nav,
	.theme-header--mobile.is-open .theme-header-nav-list {
		flex-direction: column;
		align-items: stretch;
		white-space: normal;
		gap: 0;
	}

	.theme-header--mobile.is-open .theme-header-nav-list {
		padding: 8px 0;
		width: 100%;
	}

	.theme-header--mobile.is-open .theme-header-nav-list > li {
		width: 100%;
		border-bottom: 1px solid #dce3ea;
	}

	.theme-header--mobile.is-open .theme-header-nav-list > li > a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 52px;
		padding: 14px 20px;
		font-size: 18px;
		font-weight: 600;
		line-height: 23px;
		color: #012e55;
	}

	.theme-header--mobile.is-open .theme-header-nav a:hover,
	.theme-header--mobile.is-open .theme-header-nav a:focus {
		opacity: 1;
	}

	.theme-header--mobile.is-open .theme-header-nav-list > li > a::after {
		content: "›";
		display: inline-block;
		font-size: 18px;
		font-weight: 400;
		line-height: 1;
		color: #6b6b6b;
		margin-left: 12px;
		flex-shrink: 0;
		transform-origin: 50% 50%;
	}

	.theme-header--mobile.is-open .theme-header-nav-list > .current-menu-item > a::after,
	.theme-header--mobile.is-open .theme-header-nav-list > .current-menu-ancestor > a::after {
		color: #012e55;
	}

	.theme-header--mobile.is-open .theme-header-nav-list > .menu-item-has-children > a::after {
		transition: transform 0.15s ease;
	}

	.theme-header--mobile.is-open .theme-header-nav-list > .menu-item-has-children.is-open > a::after {
		transform: rotate(90deg);
		color: #012e55;
	}

	.theme-header--mobile .theme-mega {
		position: static;
		left: auto;
		right: auto;
		transform: none;
		top: auto;
		padding: 0;
		width: 100%;
		max-width: none;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		display: none;
		justify-content: flex-start;
	}

	.theme-header--mobile .theme-nav-mega.is-open > .theme-mega {
		display: block;
	}

	.theme-header--mobile.is-open .theme-mega-panel {
		padding: 8px 20px 12px;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		gap: 0;
		white-space: normal;
		width: 100%;
		background: #f5f7fa;
		box-sizing: border-box;
	}

	.theme-header--mobile.is-open .theme-mega-lead {
		display: none;
	}

	.theme-header--mobile.is-open .theme-mega-title-full {
		display: none;
	}

	.theme-header--mobile.is-open .theme-mega-title-all {
		display: inline;
	}

	.theme-header--mobile.is-open a.theme-mega-title,
	.theme-header--mobile.is-open a.theme-mega-title:visited,
	.theme-header--mobile.is-open a.theme-mega-title:hover,
	.theme-header--mobile.is-open a.theme-mega-title:focus,
	.theme-header--mobile.is-open a.theme-mega-title:active {
		display: flex;
		align-items: center;
		gap: 8px;
		min-height: 44px;
		padding: 11px 0;
		font-family: "Source Sans 3", sans-serif;
		font-size: 16px;
		font-weight: 600;
		line-height: 21px;
		color: #f04;
	}

	.theme-header--mobile.is-open a.theme-mega-title::after {
		content: "→";
	}

	.theme-header--mobile.is-open .theme-mega-cols {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 0;
		padding-top: 0;
		width: 100%;
	}

	.theme-header--mobile.is-open .theme-mega-col,
	.theme-header--mobile.is-open .theme-mega-list,
	.theme-header--mobile.is-open .theme-mega-sub,
	.theme-header--mobile.is-open .theme-mega-list > .menu-item-has-children {
		width: 100%;
		gap: 0;
		white-space: normal;
	}

	.theme-header--mobile.is-open .theme-mega a,
	.theme-header--mobile.is-open .theme-mega a:visited,
	.theme-header--mobile.is-open .theme-mega a:hover,
	.theme-header--mobile.is-open .theme-mega a:focus,
	.theme-header--mobile.is-open .theme-mega a:active {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 11px 0;
		font-size: 16px;
		font-weight: 400;
		line-height: 21px;
		color: #333;
	}

	.theme-header--mobile.is-open .theme-mega-list > .mega-heading > a,
	.theme-header--mobile.is-open .theme-mega-list > .mega-heading > a:visited,
	.theme-header--mobile.is-open .theme-mega-list > .mega-heading > a:hover,
	.theme-header--mobile.is-open .theme-mega-list > .mega-heading > a:focus,
	.theme-header--mobile.is-open .theme-mega-list > .mega-heading > a:active,
	.theme-header--mobile.is-open .theme-mega-list > .mega-strong > a,
	.theme-header--mobile.is-open .theme-mega-list > .mega-strong > a:visited,
	.theme-header--mobile.is-open .theme-mega-list > .mega-strong > a:hover,
	.theme-header--mobile.is-open .theme-mega-list > .mega-strong > a:focus,
	.theme-header--mobile.is-open .theme-mega-list > .mega-strong > a:active {
		font-weight: 600;
		color: #012e55;
	}

	.theme-header--mobile.is-open .theme-mega-sub a,
	.theme-header--mobile.is-open .theme-mega-sub a:visited,
	.theme-header--mobile.is-open .theme-mega-sub a:hover,
	.theme-header--mobile.is-open .theme-mega-sub a:focus,
	.theme-header--mobile.is-open .theme-mega-sub a:active {
		padding-left: 16px;
		color: #333;
	}

	.theme-header--mobile.is-open .theme-mega-sub a::before {
		content: "–";
		color: #6b6b6b;
		margin-right: 8px;
	}

	.theme-header--mobile.is-open a.theme-mega-title,
	.theme-header--mobile.is-open a.theme-mega-title:visited,
	.theme-header--mobile.is-open a.theme-mega-title:hover,
	.theme-header--mobile.is-open a.theme-mega-title:focus,
	.theme-header--mobile.is-open a.theme-mega-title:active {
		font-weight: 600;
		color: #f04;
	}

	.theme-header--mobile.is-open a.theme-mega-title::after {
		content: "→";
		color: #f04;
	}

	.theme-header--mobile .theme-nav-drop {
		position: static;
		display: none;
		box-shadow: none;
		border: 0;
		padding: 8px 20px 12px;
		min-width: 0;
		background: #f5f7fa;
	}

	.theme-header--mobile .theme-header-nav-list > li.is-open > .theme-nav-drop {
		display: flex;
	}

	.theme-header--mobile.is-open .theme-header-contact {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		flex-shrink: 0;
		background: #012e55;
		padding: 24px 20px 32px;
	}

	.theme-header--mobile.is-open .theme-header-phone {
		align-items: flex-start;
		gap: 4px;
	}

	.theme-header--mobile.is-open .theme-header-hours {
		font-size: 14px;
		line-height: 18px;
		color: #9fb1c2;
	}

	.theme-header--mobile.is-open .theme-header-tel,
	.theme-header--mobile.is-open .theme-header-tel:visited,
	.theme-header--mobile.is-open .theme-header-tel:hover,
	.theme-header--mobile.is-open .theme-header-tel:focus,
	.theme-header--mobile.is-open .theme-header-tel:active {
		font-size: 22px;
		font-weight: 600;
		line-height: 29px;
		color: #fff;
	}

	.theme-header--mobile.is-open .theme-header-cta,
	.theme-header--mobile.is-open .theme-header-cta:visited,
	.theme-header--mobile.is-open .theme-header-cta:hover,
	.theme-header--mobile.is-open .theme-header-cta:focus,
	.theme-header--mobile.is-open .theme-header-cta:active {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		box-sizing: border-box;
		background: #fff;
		color: #012e55;
		border-radius: 10px;
		padding: 15px 26px;
	}

	.theme-header--mobile.is-open .theme-header-cta:hover,
	.theme-header--mobile.is-open .theme-header-cta:focus {
		background: #f2f4f7;
		color: #012e55;
	}

@media (max-width: 1024px) {
	.theme-footer-top {
		flex-wrap: wrap;
		gap: 28px 32px;
	}

	.theme-footer-brand {
		width: 100%;
	}

	.theme-footer-column,
	.theme-footer-contact {
		flex: 1 1 220px;
		width: auto;
	}

	.theme-footer-legal {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 767px) {
	.theme-header--mobile.site-header {
		height: 52px;
		box-shadow: none;
		border-bottom: 0;
	}

	.theme-header--mobile .page-width-boxed {
		height: 52px;
		padding-left: 20px;
		padding-right: 16px;
	}

	.theme-header--mobile.is-open.site-header {
		height: 100%;
		height: 100dvh;
	}

	.theme-header--mobile.is-open .page-width-boxed {
		height: 100%;
		padding: 6px 8px 0 20px;
	}

	.theme-header--mobile .theme-header-logo img {
		width: 150px;
		height: 20px;
	}

	.theme-footer.site-footer {
		padding: 40px 0 32px;
	}

	.theme-footer-column,
	.theme-footer-contact {
		flex: 1 1 100%;
		width: 100%;
	}

	.theme-footer .theme-cloud {
		display: none;
	}

	.theme-footer-legal-links {
		white-space: normal;
	}
}
