@font-face {
    font-family: "Bricolage Grotesque";
    src: url("../fonts/BricolageGrotesque-Light.woff2") format("woff2");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Bricolage Grotesque";
    src: url("../fonts/BricolageGrotesque-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Bricolage Grotesque";
    src: url("../fonts/BricolageGrotesque-SemiBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}


:root {
	--color-primary: #062b68;
	--color-primary-dark: #031c47;
	--color-accent: #cd9018;
	--color-accent-hover: #b77d10;
	--color-text: #17243a;
	--color-muted: #5e6979;
	--color-surface: #ffffff;
	--color-surface-soft: #f8f5ee;
    --site-font-family: "Bricolage Grotesque", Arial, sans-serif;
}

html {
	scroll-behavior: smooth
}

main a {
    color: currentColor;
    font-weight: 600;
    border-bottom: 1px solid;
}

body {
	position: relative;
	font-family: var(--site-font-family);
	font-size: 14px;
	color: var(--color-text);
	background-color: var(--color-surface);
	padding: 0;
	overflow-x: clip;
	margin: 0
}

* {
	margin: 0;
	padding: 0;
	border: 0;
}

button,
input,
select,
textarea {
	font: inherit;
}

ul {
	list-style-type: none;
	margin: 0;
	padding: 0
}

p {
	font-size: 16px;
	color: var(--color-text);
	margin-bottom: 25px;
	line-height: 28px
}

p:last-child {
	margin: 0
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: var(--color-primary);
	padding: 0;
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color .2s ease;
}

a:hover,
a:focus {
	color: var(--color-accent-hover);
	text-decoration: none;
	outline: 0
}

::selection {
	color: var(--color-surface);
	background-color: var(--color-primary);
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--color-surface);
	box-shadow: 0 8px 30px rgba(3, 28, 71, .08);
}

.header-container {
	width: min(1320px, calc(100% - 40px));
	margin-inline: auto;
}

.header-top {
	color: rgba(255, 255, 255, .86);
	background:
		radial-gradient(circle at 15% 0, rgba(205, 144, 24, .13), transparent 28%),
		linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
	font-size: 13px;
}

.header-top__inner,
.header-main__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header-top__inner {
	min-height: 42px;
	gap: 24px;
}

.header-contact,
.header-socials {
	display: flex;
	align-items: center;
	gap: 20px;
}

.header-contact a,
.header-socials a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: inherit;
	transition: color .2s ease;
}

.header-contact a {
	position: relative;
	min-height: 30px;
}

.header-contact a + a {
	margin-left: 4px;
	padding-left: 24px;
}

.header-contact a + a::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 1px;
	height: 16px;
	background: rgba(255, 255, 255, .2);
	content: "";
	transform: translateY(-50%);
}

.header-contact a:hover,
.header-socials a:hover {
	color: var(--color-accent);
}

.header-contact svg,
.header-socials svg {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.header-contact svg {
	color: var(--color-accent);
}

.header-socials {
	gap: 12px;
}

.header-socials a {
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 50%;
}

.header-socials a:hover {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-primary-dark);
}

.header-main__inner {
	display: grid;
	grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
	min-height: 96px;
	gap: 24px;
}

.site-logo {
	flex: 0 0 auto;
	display: block;
}

.site-logo img {
	display: block;
	width: auto;
	height: 82px;
}

.main-nav {
	justify-self: center;
	margin: 0;
}

.main-menu {
	display: flex;
	align-items: center;
	gap: clamp(20px, 2.4vw, 38px);
}

.main-menu > li {
	position: relative;
}

.main-menu > .menu-item--dropdown {
	position: static;
}

.main-menu > li > a,
.treatment-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 38px 0;
	color: var(--color-primary-dark);
	background: transparent;
	font-size: 15px;
	font-weight: 400;
	line-height: 20px;
	cursor: pointer;
}

.main-menu > li > a::after,
.main-menu > li > .treatment-toggle::after {
	position: absolute;
	right: 0;
	bottom: 28px;
	left: 0;
	height: 1px;
	background: var(--color-accent);
	content: "";
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .2s ease;
}

.main-menu > li > a:hover::after,
.main-menu > li > a:focus-visible::after,
.main-menu > li > .treatment-toggle:hover::after,
.main-menu > li > .treatment-toggle:focus-visible::after,
.menu-item--dropdown.is-open > .treatment-toggle::after {
	transform: scaleX(1);
}

.treatment-toggle svg {
	width: 12px;
	height: 12px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	transition: transform .2s ease;
}

.menu-item--dropdown.is-open .treatment-toggle svg {
	transform: rotate(180deg);
}

.treatment-dropdown {
	position: absolute;
	top: 100%;
	left: 50%;
	width: min(1080px, calc(100vw - 40px));
	padding: 0;
	visibility: hidden;
	overflow: hidden;
	background: var(--color-surface-soft);
	border-radius: 0 0 12px 12px;
	box-shadow: 0 20px 48px rgba(3, 28, 71, .15);
	opacity: 0;
	transform: translate(-50%, 10px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.menu-item--dropdown:hover .treatment-dropdown,
.menu-item--dropdown:focus-within .treatment-dropdown,
.menu-item--dropdown.is-open .treatment-dropdown {
	visibility: visible;
	opacity: 1;
	transform: translate(-50%, 0);
}

.mega-menu__heading {
	display: flex;
	align-items: center;
	padding: 17px 22px;
	background: var(--color-surface);
	box-shadow: 0 1px 0 rgba(6, 43, 104, .08);
}

.mega-menu__heading > div {
	flex: 0 0 auto;
	display: grid;
	gap: 2px;
}

.mega-menu__heading span {
	color: var(--color-accent-hover);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.mega-menu__heading strong {
	color: var(--color-primary-dark);
	font-size: 20px;
	font-weight: 500;
}

.treatment-dropdown__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px 12px;
	padding: 14px 16px;
}

.treatment-dropdown__grid a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 58px;
	padding: 8px 10px;
	color: var(--color-text);
	background: var(--color-surface);
	border: 1px solid rgba(6, 43, 104, .07);
	border-radius: 9px;
	box-shadow: 0 3px 10px rgba(3, 28, 71, .035);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.treatment-dropdown__grid a img {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	padding: 4px;
	background: var(--color-surface-soft);
	border-radius: 8px;
	object-fit: contain;
}

.treatment-dropdown__grid a:hover,
.treatment-dropdown__grid a:focus-visible {
	color: var(--color-primary);
	background: #fffdf8;
	border-color: rgba(205, 144, 24, .35);
	box-shadow: 0 7px 16px rgba(3, 28, 71, .07);
	transform: translateY(-1px);
}

.header-cta {
	justify-self: end;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 11px;
	min-height: 48px;
	padding: 6px 18px 6px 7px;
	color: var(--color-surface);
	background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
	border: 1px solid rgba(6, 43, 104, .9);
	border-radius: 9px;
	box-shadow: 0 8px 20px rgba(3, 28, 71, .16);
	font-size: 14px;
	font-weight: 500;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.header-cta__icon {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	color: var(--color-primary-dark);
	background: var(--color-accent);
	border-radius: 7px;
}

.header-cta__icon svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.header-cta:hover {
	color: var(--color-primary-dark);
	background: var(--color-accent);
	border-color: var(--color-accent);
	box-shadow: 0 10px 24px rgba(205, 144, 24, .22);
	transform: translateY(-1px);
}

.header-cta:hover .header-cta__icon {
	background: var(--color-surface);
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 10px;
	color: var(--color-primary);
	background: var(--color-surface-soft);
	border-radius: 5px;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	margin: 5px 0;
	background: currentColor;
	transition: transform .2s ease, opacity .2s ease;
}

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

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

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

@media (max-width: 1099px) {
	body.menu-open {
		overflow: hidden;
	}

	.header-main__inner {
		display: flex;
		min-height: 82px;
	}

	.site-logo img {
		width: auto;
		height: 70px;
	}

	.menu-toggle {
		display: block;
		margin-left: auto;
	}

	.header-cta {
		margin-left: 4px;
	}

	.main-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		justify-self: stretch;
		width: 100%;
		max-height: 0;
		overflow: hidden;
		background: var(--color-surface);
		border-top: 1px solid rgba(6, 43, 104, .1);
		box-shadow: 0 18px 30px rgba(3, 28, 71, .12);
		transition: max-height .35s ease;
	}

	.main-nav.is-open {
		max-height: calc(100vh - 120px);
		max-height: calc(100dvh - 120px);
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.main-menu {
		display: block;
		width: min(100% - 40px, 1320px);
		margin: 0 auto;
		padding: 10px 0 22px;
	}

	.main-menu > li {
		border-bottom: 1px solid rgba(6, 43, 104, .1);
	}

	.main-menu > li > a,
	.treatment-toggle {
		justify-content: space-between;
		width: 100%;
		padding: 15px 2px;
		font-size: 15px;
	}

	.main-menu > li > a::after,
	.main-menu > li > .treatment-toggle::after {
		display: none;
	}

	.treatment-dropdown {
		position: static;
		display: none;
		width: 100%;
		padding: 0;
		visibility: visible;
		box-shadow: none;
		border-radius: 0;
		opacity: 1;
		transform: none;
	}

	.mega-menu__heading {
		padding: 14px;
	}

	.mega-menu__heading p {
		display: none;
	}

	.treatment-dropdown__grid {
		padding: 12px;
	}

	.treatment-dropdown__grid a {
		box-shadow: none;
	}

	.menu-item--dropdown.is-open .treatment-dropdown {
		display: block;
		transform: translate(0%, 0);
		margin-bottom: 30px;
	}
}

@media (max-width: 767px) {
	.header-container {
		width: min(100% - 28px, 1320px);
	}

	.header-top__inner {
		justify-content: center;
		min-height: 38px;
	}

	.header-contact a:nth-child(2),
	.header-socials {
		display: none;
	}

	.header-contact a {
		min-height: 28px;
		font-size: 14px;
	}

	.header-main__inner {
		min-height: 72px;
		gap: 10px;
	}

	.site-logo img {
		width: auto;
		height: 58px;
	}

	.header-cta {
		display: none;
	}

	.main-menu {
		width: 100%;
		padding: 0px 18px 0px;
	}

	.main-menu > li > a,
	.treatment-toggle {
		min-height: 52px;
		padding: 14px 4px;
		font-size: 16px;
	}

	.treatment-dropdown__grid {
		grid-template-columns: 1fr;
		gap: 7px;
	}

	.treatment-dropdown__grid a {
		min-height: 54px;
		padding-block: 6px;
	}

	.treatment-dropdown__grid a img {
		width: 38px;
		height: 38px;
	}

}

@media (prefers-reduced-motion: reduce) {
	.main-nav,
	.treatment-dropdown,
	.menu-toggle span {
		transition: none;
	}
}
