html {
	scroll-behavior: smooth;
}

section[id],
article[id] {
	scroll-margin-top: 104px;
}

.hf-header-wrap {
	height: 116px;
}

.hf-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background-color: #ffffff;
	transition: box-shadow 0.3s ease;
}

.hf-site-header.scrolled {
	box-shadow: 0 2px 18px rgba(6, 28, 61, 0.14);
}

.hf-topbar {
	background-color: var(--hf-navy-deep);
	color: var(--hf-on-dark);
	font-size: 0.8rem;
	max-height: 36px;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.hf-site-header.scrolled .hf-topbar {
	max-height: 0;
}

.hf-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	max-width: 1240px;
	height: 36px;
	margin: 0 auto;
	padding: 0 40px;
}

.hf-topbar__note {
	margin: 0;
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.hf-topbar__links {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}

.hf-topbar__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s ease;
}

.hf-topbar__links a:hover {
	color: var(--hf-red-light);
}

.hf-topbar__links svg {
	color: var(--hf-red-light);
}

.hf-topbar__hours {
	color: var(--hf-on-dark-muted);
	white-space: nowrap;
}

.hf-header-main {
	border-bottom: 1px solid var(--hf-border);
}

.hf-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	max-width: 1240px;
	height: 80px;
	margin: 0 auto;
	padding: 0 40px;
}

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

.hf-logo__img {
	display: block;
	height: 58px;
	width: auto;
}

.hf-nav__list {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hf-nav__list > li > a {
	position: relative;
	display: inline-block;
	padding: 0.4rem 0;
	color: var(--hf-ink);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s ease;
}

.hf-nav__list > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background-color: var(--wp--preset--color--brand);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}

.hf-nav__list > li > a:hover,
.hf-nav__list > li.current-menu-item > a {
	color: var(--wp--preset--color--brand-dark);
}

.hf-nav__list > li > a:hover::after,
.hf-nav__list > li.current-menu-item > a::after {
	transform: scaleX(1);
}

.hf-nav__list > li > a:focus-visible {
	outline: 2px solid var(--wp--preset--color--brand-dark);
	outline-offset: 4px;
	border-radius: 2px;
}

.hf-header-actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-shrink: 0;
}

.hf-site-header .hf-header-cta {
	padding: 0.68rem 1.15rem;
	font-size: 0.86rem;
	white-space: nowrap;
}

.hf-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 8px;
	background: transparent;
	border: none;
	cursor: pointer;
}

.hf-hamburger span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: var(--wp--preset--color--brand-dark);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.hf-mobile-menu {
	max-height: calc(100vh - 66px);
	overflow-y: auto;
	background-color: #ffffff;
	border-top: 1px solid var(--hf-border);
	box-shadow: 0 12px 24px rgba(6, 28, 61, 0.14);
}

.hf-mobile-menu ul {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
}

.hf-mobile-menu a {
	display: block;
	padding: 0.85rem 24px;
	color: var(--hf-ink);
	font-size: 1.02rem;
	font-weight: 600;
	text-decoration: none;
}

.hf-mobile-menu a:hover,
.hf-mobile-menu li.current-menu-item > a {
	color: var(--wp--preset--color--brand);
}

.hf-mobile-menu__phone,
.hf-mobile-menu__cta {
	color: var(--wp--preset--color--brand) !important;
	font-weight: 700 !important;
}

@media (max-width: 1199px) {
	.hf-topbar,
	.hf-nav,
	.hf-header-actions {
		display: none;
	}

	.hf-hamburger {
		display: flex;
	}

	.hf-header-wrap {
		height: 66px;
	}

	.hf-header-inner {
		height: 66px;
		padding: 0 24px;
	}

	.hf-logo__img {
		height: 46px;
	}

	section[id],
	article[id] {
		scroll-margin-top: 76px;
	}
}
