/* ==========================================================
   Hollys desktop header (≥ 850px — Flatsome's desktop range)
   Hanging logo tag · numbered nav with trowel underline ·
   quote + call buttons · slim sticky bar with scroll progress
   ========================================================== */

body.hm-desk {
	--hm-navy: #010736;
	--hm-coral: #f2765e;
	--hm-coral-dk: #e5673b;
	--hm-cream: #f6f1ea;
	--hm-ease: cubic-bezier(.22, .8, .24, 1);
	--hm-sans-ui: 'Hollys Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Top bar: one clean coral rule, full width ---------- */
.hm-desk #top-bar {
	border-bottom: 3px solid var(--hm-coral);
}
.hm-desk #top-bar .contact-bar {
	border-bottom: 0 !important;
	background: transparent !important;
	padding: 8px 0 !important;
}
.hm-desk #top-bar .contact-bar .wrap { padding-left: 0 !important; }
.hm-desk #top-bar .contact-bar .phone .number { color: var(--hm-coral) !important; }
.hm-desk #top-bar .contact-bar .icon { display: none !important; } /* drop the emoji phone */
.hm-desk #top-bar .contact-bar .label {
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: 10px !important;
	opacity: .7;
}

@media (min-width: 850px) {

	/* ---------- Main strip ---------- */
	.hm-desk #masthead.header-main {
		background: #fff;
		height: 92px;
		position: relative;
		z-index: 40;
		box-shadow: 0 1px 0 rgba(1, 7, 54, .06);
	}
	.hm-desk #masthead .header-inner {
		overflow: visible !important;
		gap: 0;
	}

	/* ---------- Hanging logo tag ---------- */
	.hm-desk #masthead #logo {
		position: relative;
		width: 168px !important;
		min-width: 168px;
		height: 92px;
		margin-right: 48px;
		padding: 0 !important;
		align-self: flex-start;
	}
	.hm-desk #masthead #logo > a {
		position: absolute;
		top: -3px;                     /* tuck under the coral rule */
		left: 0;
		width: 168px;
		display: block;
		padding: 18px 16px 16px;
		background: #fff;
		border-radius: 0 0 22px 22px;
		border-bottom: 5px solid var(--hm-coral);
		box-shadow:
			0 22px 40px -22px rgba(1, 7, 54, .55),
			0 2px 0 rgba(1, 7, 54, .04);
		transition: padding .45s var(--hm-ease), width .45s var(--hm-ease), box-shadow .45s, border-radius .45s, transform .45s var(--hm-ease);
		z-index: 50;
	}
	.hm-desk #masthead #logo > a::before {   /* stitched inner edge */
		content: "";
		position: absolute;
		left: 10px; right: 10px; bottom: 7px;
		border-bottom: 1px dashed rgba(242, 118, 94, .45);
		transition: opacity .3s;
	}
	.hm-desk .header-wrapper:not(.stuck) #masthead #logo > a:hover { transform: translateY(3px); }
	.hm-desk #masthead #logo img {
		width: 100% !important;
		height: auto !important;
		max-height: none !important;
		display: block;
		transition: width .45s var(--hm-ease);
	}
	.hm-desk #masthead #logo img.header-logo-dark { display: none !important; }

	/* ---------- Nav ---------- */
	.hm-desk #masthead .header-nav-main.nav-left { gap: 6px; }
	.hm-desk #masthead .header-nav-main > li { margin: 0 !important; }
	.hm-desk #masthead .header-nav-main > li > a {
		position: relative;
		display: inline-flex !important;
		align-items: flex-start;
		gap: 5px;
		padding: 10px 16px !important;
		font-family: var(--hm-sans-ui) !important;
		font-size: 16px !important;
		font-weight: 500 !important;
		letter-spacing: -.005em !important;
		text-transform: none !important;
		color: var(--hm-navy) !important;
		opacity: 1 !important;
		transition: color .25s;
	}
	.hm-desk .hm-n {
		display: none; /* numbers on mobile only */
		font-size: 10px;
		font-weight: 700;
		letter-spacing: .06em;
		color: var(--hm-coral);
		line-height: 1;
		margin-top: 1px;
		font-variant-numeric: tabular-nums;
	}
	/* trowel-stroke underline: draws from left, slightly skewed */
	.hm-desk #masthead .header-nav-main > li > a::after {
		content: "";
		position: absolute;
		left: 16px;
		right: 16px;
		bottom: 2px;
		height: 3px;
		border-radius: 3px;
		background: var(--hm-coral);
		transform: scaleX(0) skewX(-20deg);
		transform-origin: left center;
		transition: transform .5s var(--hm-ease);
	}
	.hm-desk #masthead .header-nav-main > li > a:hover::after,
	.hm-desk #masthead .header-nav-main > li.active > a::after,
	.hm-desk #masthead .header-nav-main > li.current-menu-item > a::after,
	.hm-desk #masthead .header-nav-main > li.current-menu-ancestor > a::after {
		transform: scaleX(1) skewX(-20deg);
	}
	.hm-desk #masthead .header-nav-main > li > a:hover { color: var(--hm-coral-dk) !important; }

	/* dropdowns */
	.hm-desk #masthead .nav-dropdown {
		border: 0 !important;
		border-top: 3px solid var(--hm-coral) !important;
		border-radius: 0 0 14px 14px;
		box-shadow: 0 24px 50px -20px rgba(1, 7, 54, .35) !important;
	}
	.hm-desk #masthead .nav-dropdown a {
		font-family: var(--hm-sans-ui) !important;
		text-transform: none !important;
		color: var(--hm-navy) !important;
	}

	/* ---------- Right: actions ---------- */
	.hm-desk .hm-actions {
		display: flex;
		align-items: center;
		gap: 12px;
		margin: 0 !important;
		padding: 0 !important;
		list-style: none;
	}
	.hm-desk .hm-call {
		align-items: center;
		gap: 10px;
		color: var(--hm-navy) !important;
		font-family: var(--hm-sans-ui);
		text-decoration: none !important;
		line-height: 1.1;
		padding: 6px 8px;
	}
	.hm-desk .hm-call-ico {
		width: 40px; height: 40px;
		border-radius: 50%;
		display: inline-flex; align-items: center; justify-content: center;
		background: var(--hm-cream);
		color: var(--hm-navy);
		transition: background .25s, color .25s, transform .35s var(--hm-ease);
	}
	.hm-desk .hm-call-ico svg { width: 18px; height: 18px; }
	.hm-desk .hm-call:hover .hm-call-ico { background: var(--hm-navy); color: #fff; transform: rotate(-12deg); }
	.hm-desk .hm-call small {
		display: block;
		font-size: 10px;
		text-transform: uppercase;
		letter-spacing: .16em;
		color: rgba(1, 7, 54, .55);
		font-weight: 600;
	}
	.hm-desk .hm-call strong { font-size: 16px; font-weight: 650; letter-spacing: .01em; }
	.hm-desk .hm-call { display: none; }               /* top bar already shows it… */
	.hm-desk .stuck .hm-call { display: inline-flex; } /* …until the top bar hides */

	.hm-desk .hm-quote {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		height: 48px;
		padding: 0 10px 0 22px;
		border-radius: 999px;
		background: var(--hm-navy);
		color: #fff !important;
		font-family: var(--hm-sans-ui);
		font-weight: 600;
		font-size: 15px;
		text-decoration: none !important;
		box-shadow: 0 12px 24px -14px rgba(1, 7, 54, .7);
		transition: background .3s, transform .3s var(--hm-ease);
	}
	.hm-desk .hm-quote-arrow {
		width: 32px; height: 32px;
		border-radius: 50%;
		background: var(--hm-coral);
		display: inline-flex; align-items: center; justify-content: center;
		transition: transform .4s var(--hm-ease);
	}
	.hm-desk .hm-quote-arrow svg { width: 14px; height: 14px; }
	.hm-desk .hm-quote:hover { background: #0a1250; transform: translateY(-1px); }
	.hm-desk .hm-quote:hover .hm-quote-arrow { transform: rotate(-45deg); }

	/* ---------- Sticky state ---------- */
	.hm-desk .header-wrapper.stuck #masthead.header-main { height: 72px; }
	.hm-desk .header-wrapper.stuck #masthead #logo { height: 72px; width: 124px !important; min-width: 124px; }
	.hm-desk .header-wrapper.stuck #masthead #logo > a {
		top: 50%;
		width: 76px;
		padding: 0;
		transform: translateY(-50%);
		border-radius: 0;
		border-bottom-color: transparent;
		box-shadow: none;
		background: transparent;
	}
	.hm-desk .header-wrapper.stuck #masthead #logo > a::before { opacity: 0; }
	.hm-desk .header-wrapper.stuck #masthead {
		background: rgba(255, 255, 255, .92);
		-webkit-backdrop-filter: saturate(1.4) blur(10px);
		backdrop-filter: saturate(1.4) blur(10px);
		box-shadow: 0 10px 30px -18px rgba(1, 7, 54, .35);
	}
	/* scroll progress, coral, along the bottom of the sticky bar */
	.hm-desk .header-wrapper.stuck #masthead::after {
		content: "";
		position: absolute;
		left: 0; bottom: 0;
		height: 3px;
		width: 100%;
		background: linear-gradient(90deg, var(--hm-coral), var(--hm-coral-dk));
		transform: scaleX(var(--hm-progress, 0));
		transform-origin: left center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hm-desk #masthead *, .hm-desk #masthead *::after { transition: none !important; }
}
