/* Malin Hait Theme Styles */

:root {
	--mh-primary-blue: #0068B2;
	--mh-dark-blue: #004A7F;
	--mh-light-blue: #6DC8E8;
	--mh-accent-green: #10B981;
	--mh-white: #FFFFFF;
	--mh-off-white: #F5F9FC;
	--mh-text-primary: #18181B;
	--mh-text-secondary: #71717A;
	--mh-text-muted: #A1A1AA;
	--mh-border: #E4E4E7;
	--mh-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Smooth scroll */
html {
	scroll-behavior: smooth;
}

/* Reset & Base */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--mh-font-family);
	color: var(--mh-text-primary);
	background: var(--mh-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	text-decoration: none;
	color: inherit;
	transition: color 0.2s ease;
}

/* Selection */
::selection {
	background: rgba(0, 104, 178, 0.15);
	color: var(--mh-text-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 8px;
}
::-webkit-scrollbar-track {
	background: var(--mh-off-white);
}
::-webkit-scrollbar-thumb {
	background: var(--mh-border);
	border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
	background: var(--mh-text-muted);
}

/* ─── Animation Setup (motion.dev) ─── */
.mh-animate {
	opacity: 0;
}
.mh-animate[data-mh-animated] {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.mh-animate {
		opacity: 1 !important;
		transform: none !important;
		clip-path: none !important;
	}
	* {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* ─── Elementor Overrides ─── */
/* Hide fallback PHP footer on Elementor pages (footer is embedded in page content) */
.elementor-page .site-footer {
	display: none;
}

.elementor-section.elementor-section-stretched {
	max-width: 100vw;
}

/* Elementor widget font */
.elementor-widget-heading .elementor-heading-title {
	font-family: var(--mh-font-family);
}
.elementor-widget-text-editor {
	font-family: var(--mh-font-family);
}

/* ─── Icon Container Fix ─── */
/* Force gradient icon containers to be square (icon widget adds extra height) */
.e-con-full:has(> .elementor-widget-icon:only-child) {
	overflow: hidden;
}
.e-con-full:has(> .elementor-widget-icon:only-child) .elementor-icon-wrapper {
	line-height: 1;
}
.e-con-full:has(> .elementor-widget-icon:only-child) .elementor-icon {
	line-height: 1;
}

/* ─── Sticky Header (Elementor embedded) ─── */
.elementor-element.mh-sticky-header {
	position: sticky !important;
	top: 0 !important;
	z-index: 100 !important;
	transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
body.mh-scrolled .elementor-element.mh-sticky-header {
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.92) !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
/* Ensure header children are always visible (not hidden by reveal animations) */
.mh-sticky-header .elementor-widget {
	opacity: 1 !important;
	transform: none !important;
}
/* Prevent Book Now button text wrapping */
.mh-sticky-header .elementor-button {
	white-space: nowrap;
}

/* ─── Sticky Nav with Backdrop Blur (Elementor Pro) ─── */
body.mh-scrolled .elementor-location-header,
body.mh-scrolled .elementor-location-header .e-con {
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.92) !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* ─── Button Hover Effects ─── */
.elementor-widget-button .elementor-button {
	transition: transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.25s ease;
}
.elementor-widget-button .elementor-button:hover {
	transform: translateY(-2px) scale(1.02);
}
.elementor-widget-button .elementor-button:active {
	transform: translateY(0) scale(0.98);
}

/* ─── Service Card Hover ─── */
.elementor .e-con .e-con {
	transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.3s ease;
}

/* ─── Fallback Header ─── */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--mh-white);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
	border-bottom: 1px solid rgba(228, 228, 231, 0.27);
}

.header-inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 20px 120px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-branding {
	flex-shrink: 0;
}

.site-branding img,
.custom-logo-link img {
	max-height: 45px;
	width: auto;
}

.site-logo-text {
	font-size: 24px;
	font-weight: 700;
	color: var(--mh-primary-blue);
}

.header-cta {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 32px;
}

.main-navigation a {
	font-size: 15px;
	font-weight: 500;
	color: var(--mh-text-secondary);
	transition: color 0.2s ease, font-weight 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
	color: var(--mh-primary-blue);
	font-weight: 600;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	color: var(--mh-text-primary);
}

/* ─── Button Styles ─── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 32px;
	border-radius: 8px;
	font-family: var(--mh-font-family);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.btn-primary {
	background: linear-gradient(135deg, #0068B2, #6DC8E8);
	color: var(--mh-white);
	box-shadow: 0 10px 30px -5px rgba(0, 104, 178, 0.33),
	            0 1px 6px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 36px -5px rgba(0, 104, 178, 0.45);
}

.btn-secondary {
	background: transparent;
	color: var(--mh-primary-blue);
	border: 2px solid var(--mh-border);
}

.btn-white {
	background: var(--mh-white);
	color: var(--mh-text-primary);
	box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.1);
}

/* ─── Fallback Footer ─── */
.site-footer {
	background: linear-gradient(180deg, #003366 0%, #001A33 100%);
	color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 60px 120px 40px;
}

.footer-top {
	display: flex;
	gap: 40px;
	justify-content: space-between;
}

.footer-brand {
	max-width: 350px;
}

.footer-logo {
	color: var(--mh-white);
	font-size: 24px;
	margin: 0 0 16px;
}

.footer-brand p {
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.67);
}

.footer-links {
	display: flex;
	gap: 40px;
}

.footer-col h4 {
	color: var(--mh-light-blue);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	margin: 0 0 14px;
}

.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-col li {
	font-size: 14px;
	margin-bottom: 12px;
	color: rgba(255, 255, 255, 0.8);
}

.footer-col a:hover {
	color: var(--mh-white);
}

.footer-divider {
	border: none;
	height: 1px;
	background: rgba(255, 255, 255, 0.13);
	margin: 48px 0;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-bottom p {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.53);
	margin: 0;
}

.social-links,
.footer-social {
	display: flex;
	gap: 16px;
}

.social-links a,
.footer-social a {
	color: rgba(255, 255, 255, 0.67);
	font-size: 20px;
	transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover,
.footer-social a:hover {
	color: var(--mh-white);
	transform: translateY(-2px);
}

/* ─── Responsive: Tablet (max-width: 1024px) ─── */
@media (max-width: 1024px) {
	.header-inner {
		padding: 16px 40px;
	}
	.main-navigation ul {
		gap: 20px;
	}
	.main-navigation a {
		font-size: 14px;
	}
	.footer-inner {
		padding: 48px 40px 32px;
	}
}

/* ─── Responsive: Mobile (max-width: 768px) ─── */
@media (max-width: 768px) {
	.header-inner {
		padding: 16px 20px;
	}

	.main-navigation ul {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--mh-white);
		flex-direction: column;
		padding: 20px;
		gap: 16px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	}

	.main-navigation.toggled ul {
		display: flex;
	}

	.menu-toggle {
		display: block;
	}

	.header-cta {
		display: none;
	}

	.footer-inner {
		padding: 40px 20px 30px;
	}

	.footer-top {
		flex-direction: column;
	}

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

	.footer-links {
		flex-direction: column;
		gap: 24px;
	}

	.footer-col {
		width: 100%;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}

	.social-links {
		justify-content: center;
	}
}

/* ─── Gallery Filter Pills ─── */
.mh-filter-pill {
	width: auto !important;
	cursor: pointer;
	transition: all 0.25s ease;
}
.mh-filter-pill:hover {
	transform: translateY(-1px);
}

/* ─── Gallery Grid ─── */
.mh-gallery-item {
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
}
.mh-gallery-item:hover {
	transform: translateY(-4px) scale(1.02);
}
.mh-gallery-item.mh-hidden {
	display: none !important;
}

/* ─── Gallery Lightbox ─── */
.mh-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.mh-lightbox.active {
	opacity: 1;
	visibility: visible;
}
.mh-lightbox-img {
	max-width: 90vw;
	max-height: 85vh;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	transform: scale(0.9);
	transition: transform 0.3s ease;
	object-fit: contain;
}
.mh-lightbox.active .mh-lightbox-img {
	transform: scale(1);
}
.mh-lightbox-close {
	position: absolute;
	top: 24px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	border: none;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}
.mh-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

/* ─── Form Row Layout Fix ─── */
.e-con.mh-form-row-layout,
.elementor .e-con.mh-form-row-layout {
	align-items: flex-start !important;
}

/* ─── Form Card ─── */
.e-con.mh-form-card,
.elementor .e-con.mh-form-card {
	height: auto !important;
	min-height: auto !important;
	flex-shrink: 0 !important;
}
.mh-form-card .wpcf7 {
	max-width: 100%;
	overflow: hidden;
}
.mh-form-card .wpcf7 form {
	max-width: 100%;
}
.mh-form-card .wpcf7 input[type="submit"] {
	margin-bottom: 0;
}

/* ─── Map Embed ─── */
.mh-map-wrap {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 24px -4px rgba(0, 104, 178, 0.1);
}
.mh-map-wrap iframe {
	display: block;
}

/* ─── Footer Bottom Fix ─── */
.mh-footer-bottom {
	width: 100% !important;
}
.mh-social-icons {
	width: auto !important;
}
.mh-social-icons .elementor-widget-icon {
	width: auto !important;
}

/* ─── Contact Form 7 Styling ─── */
.wpcf7 {
	font-family: var(--mh-font-family);
}

.wpcf7 label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--mh-text-primary);
	margin-bottom: 6px;
}

.wpcf7 label .required {
	color: #EF4444;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	padding: 12px 16px;
	font-family: var(--mh-font-family);
	font-size: 15px;
	color: var(--mh-text-primary);
	background: var(--mh-white);
	border: 1px solid var(--mh-border);
	border-radius: 8px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	-webkit-appearance: none;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	border-color: var(--mh-primary-blue);
	box-shadow: 0 0 0 3px rgba(0, 104, 178, 0.1);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
	color: var(--mh-text-muted);
}

.wpcf7 select {
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371717A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

.wpcf7 textarea {
	min-height: 120px;
	resize: vertical;
}

/* Form row layout */
.mh-form-row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.mh-form-half {
	flex: 1;
}

/* Full-width fields */
.wpcf7 p:has(textarea),
.wpcf7 p:has(input[type="text"]):not(.mh-form-half p) {
	margin-bottom: 20px;
}

/* Submit button */
.wpcf7 input[type="submit"],
.wpcf7 .mh-cf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 32px;
	border-radius: 8px;
	font-family: var(--mh-font-family);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	background: linear-gradient(135deg, #0068B2, #6DC8E8);
	color: var(--mh-white);
	box-shadow: 0 10px 30px -5px rgba(0, 104, 178, 0.33);
	transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
	margin-top: 8px;
	width: 100%;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .mh-cf7-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 36px -5px rgba(0, 104, 178, 0.45);
}

.wpcf7 input[type="submit"]:active,
.wpcf7 .mh-cf7-submit:active {
	transform: translateY(0) scale(0.98);
}

/* Validation & messages */
.wpcf7-not-valid-tip {
	color: #EF4444;
	font-size: 13px;
	margin-top: 4px;
	display: block;
}

.wpcf7 .wpcf7-not-valid {
	border-color: #EF4444;
}

.wpcf7-response-output {
	border-radius: 8px !important;
	padding: 14px 20px !important;
	font-size: 14px !important;
	margin: 16px 0 0 !important;
	border-width: 1px !important;
}

.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
	border-color: #10B981 !important;
	background: rgba(16, 185, 129, 0.06);
	color: #065F46;
}

.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output {
	border-color: #EF4444 !important;
	background: rgba(239, 68, 68, 0.06);
	color: #991B1B;
}

/* Spinner */
.wpcf7 .wpcf7-spinner {
	margin: 8px auto 0;
	display: block;
}

/* Responsive */
@media (max-width: 768px) {
	.mh-form-row {
		flex-direction: column;
		gap: 0;
	}
	.mh-form-half {
		margin-bottom: 20px;
	}
	.wpcf7 input[type="submit"],
	.wpcf7 .mh-cf7-submit {
		padding: 12px 24px;
		font-size: 15px;
	}
}

/* ─── Responsive: Elementor Tablet (max-width: 1024px) ─── */
@media (max-width: 1024px) {
	/* Reduce section padding */
	.elementor-page .e-con.e-parent {
		--padding-inline: 40px;
	}
	/* Gallery grid tablet */
	.mh-gallery-grid {
		justify-content: center;
	}
	/* Form cards */
	.mh-form-card {
		padding: 24px !important;
	}
	/* Footer link columns */
	.mh-footer-bottom {
		gap: 12px;
	}
}

/* ─── Mobile Hamburger & Nav ─── */
.mh-hamburger {
	display: none;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.mh-mobile-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #FFFFFF;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	padding: 80px 32px 40px;
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
	overflow-y: auto;
}
.mh-mobile-nav.active {
	transform: translateX(0);
}
.mh-mobile-nav-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	border: none;
	background: #F4F4F5;
	border-radius: 50%;
	font-size: 22px;
	color: #18181B;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
.mh-mobile-nav a {
	display: block;
	padding: 16px 0;
	font-size: 18px;
	font-weight: 500;
	color: #18181B;
	text-decoration: none;
	border-bottom: 1px solid #F4F4F5;
	font-family: var(--mh-font-family);
}
.mh-mobile-nav a:last-of-type {
	border-bottom: none;
}
.mh-mobile-nav .mh-mobile-nav-cta {
	display: inline-block;
	margin-top: 24px;
	padding: 14px 32px;
	background: linear-gradient(135deg, #0068B2, #004A7F);
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 600;
	border-radius: 8px;
	text-align: center;
	text-decoration: none;
	border-bottom: none;
}

/* ─── Responsive: Elementor Mobile (max-width: 767px) ─── */
@media (max-width: 767px) {
	/* Show hamburger on mobile */
	.mh-hamburger {
		display: flex !important;
	}
	/* Gallery items full width */
	.mh-gallery-item {
		min-height: 220px !important;
	}
	/* Form cards compact */
	.mh-form-card {
		padding: 16px !important;
	}
	.mh-form-card .mh-form-row {
		flex-direction: column;
		gap: 0;
	}
	/* Footer mobile alignment */
	.mh-footer-bottom .elementor-widget-text-editor {
		text-align: center;
	}
	.mh-social-icons {
		justify-content: center;
	}
	/* Lightbox mobile */
	.mh-lightbox-img {
		max-width: 95vw;
		max-height: 80vh;
		border-radius: 8px;
	}
	.mh-lightbox-close {
		top: 16px;
		right: 16px;
		width: 36px;
		height: 36px;
		font-size: 20px;
	}
	/* Service cards/info cards */
	.elementor-page .e-con .e-con {
		max-width: 100%;
	}
	/* Hero text size */
	.elementor-page .e-con.e-parent:first-child .elementor-heading-title {
		word-break: break-word;
	}
	/* Map embed mobile */
	.mh-map-wrap iframe {
		height: 280px !important;
	}
}

/* ─── Page Transition ─── */
.site-main {
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ─── Header/Footer Consistency (Shop + Main) ─── */
.site-header {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	border-bottom: none;
}

.header-inner {
	padding: 16px 120px;
	gap: 24px;
}

.main-navigation {
	flex: 1;
	display: flex;
	justify-content: center;
}

.main-navigation ul {
	align-items: center;
}

.main-navigation a {
	line-height: 1;
}

.header-cta {
	gap: 12px;
}

.site-header .header-cta .btn,
.site-header .header-cta .btn-primary {
	padding: 12px 24px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	border-radius: 8px;
}

.site-header .header-cta .btn-primary {
	background: linear-gradient(180deg, #0078CC 0%, #0058A0 100%);
	box-shadow: 0 4px 14px -2px rgba(0, 104, 178, 0.27),
	            0 1px 0 0 rgba(255, 255, 255, 0.13);
}

.site-header .header-cta .btn-primary:hover {
	transform: none;
	opacity: 0.9;
	box-shadow: 0 4px 14px -2px rgba(0, 104, 178, 0.27),
	            0 1px 0 0 rgba(255, 255, 255, 0.13);
}

/* Match Elementor homepage header layout with Woo/fallback header */
body.elementor-page .mh-sticky-header {
	gap: 24px;
}

body.elementor-page .mh-sticky-header .elementor-element-38dae196 img {
	width: 182px !important;
	max-width: none !important;
	height: auto !important;
}

body.elementor-page .mh-sticky-header .elementor-element-38dae196 {
	min-width: 182px;
	flex-shrink: 0;
	overflow: visible;
}

body.elementor-page .mh-sticky-header > .elementor-element-d948bffb {
	flex: 1 1 auto;
	min-width: 0;
}

body.elementor-page .mh-sticky-header > .elementor-element-d948bffb > .e-con-inner {
	justify-content: center;
	align-items: center;
	gap: 32px;
}

body.elementor-page .mh-sticky-header .elementor-widget-text-editor p {
	margin: 0;
	line-height: 1;
}

body.elementor-page .mh-sticky-header .elementor-widget-text-editor a {
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
}

body.elementor-page .mh-sticky-header .mh-cart-link {
	margin-left: auto;
	margin-right: 12px;
	color: var(--mh-text-secondary);
}

body.elementor-page .mh-sticky-header .mh-cart-link:hover {
	color: var(--mh-primary-blue);
}

body.elementor-page .mh-sticky-header .mh-cart-link svg {
	width: 20px;
	height: 20px;
}

body.elementor-page .mh-sticky-header .mh-cart-count {
	top: -7px;
	right: -9px;
}

body.elementor-page .mh-sticky-header .elementor-element-0565364f {
	flex-shrink: 0;
}

/* Apply the same centered header geometry to other Elementor canvas pages */
body.elementor-page.elementor-template-canvas:not(.home) .mh-sticky-header > .elementor-widget-image img {
	width: 182px !important;
	max-width: none !important;
	height: auto !important;
}

body.elementor-page.elementor-template-canvas:not(.home) .mh-sticky-header > .elementor-widget-image {
	min-width: 182px;
	flex-shrink: 0;
	overflow: visible;
}

body.elementor-page.elementor-template-canvas:not(.home) .mh-sticky-header > .elementor-hidden-mobile.e-con-boxed {
	flex: 1 1 auto;
	min-width: 0;
}

body.elementor-page.elementor-template-canvas:not(.home) .mh-sticky-header > .elementor-hidden-mobile.e-con-boxed > .e-con-inner {
	justify-content: center;
	align-items: center;
	gap: 32px;
}

body.elementor-page.elementor-template-canvas:not(.home) .mh-sticky-header > .elementor-widget-button.elementor-hidden-mobile {
	flex-shrink: 0;
}

/* Keep Elementor-injected page headers consistent with Woo/fallback header button styling */
.mh-sticky-header .elementor-widget-button .elementor-button {
	background: linear-gradient(180deg, #0078CC 0%, #0058A0 100%) !important;
	background-image: linear-gradient(180deg, #0078CC 0%, #0058A0 100%) !important;
	background-color: transparent !important;
	color: #FFFFFF !important;
	border: none !important;
	padding: 12px 24px !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	box-shadow: 0 4px 14px -2px rgba(0, 104, 178, 0.27),
	            0 1px 0 0 rgba(255, 255, 255, 0.13) !important;
	transition: opacity 0.2s ease !important;
}

.mh-sticky-header .elementor-widget-button .elementor-button:hover,
.mh-sticky-header .elementor-widget-button .elementor-button:focus {
	opacity: 0.9;
	transform: none !important;
	box-shadow: 0 4px 14px -2px rgba(0, 104, 178, 0.27),
	            0 1px 0 0 rgba(255, 255, 255, 0.13) !important;
}

.site-header .mh-cart-link {
	margin-right: 0;
	color: var(--mh-text-secondary);
}

.site-header .mh-cart-link:hover {
	color: var(--mh-primary-blue);
}

.site-header .mh-cart-link svg {
	width: 20px;
	height: 20px;
}

.site-header .mh-cart-count {
	top: -7px;
	right: -9px;
}

.mh-pre-footer-cta {
	background: linear-gradient(150deg, #001A33 0%, #004A7F 100%);
	padding: 80px 120px;
}

.mh-pre-footer-cta__inner {
	max-width: 1440px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}

.mh-pre-footer-cta__title {
	margin: 0;
	font-family: var(--mh-font-family);
	font-size: 44px;
	font-weight: 800;
	letter-spacing: -1px;
	color: #FFFFFF;
}

.mh-pre-footer-cta__text {
	margin: 0;
	font-family: var(--mh-font-family);
	font-size: 18px;
	color: rgba(255, 255, 255, 0.8);
}

.mh-pre-footer-cta__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.mh-pre-footer-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	border-radius: 8px;
	font-family: var(--mh-font-family);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.mh-pre-footer-cta__btn:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

.mh-pre-footer-cta__btn--primary {
	background: #FFFFFF;
	color: #0068B2;
}

.mh-pre-footer-cta__btn--secondary {
	background: transparent;
	color: #FFFFFF;
	border: 2px solid rgba(255, 255, 255, 0.53);
}

.site-footer {
	background: linear-gradient(180deg, #003366 0%, #001A33 100%);
}

.footer-inner {
	padding: 60px 120px 40px;
}

.footer-top {
	display: grid;
	grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(140px, 1fr));
	column-gap: clamp(52px, 6vw, 140px);
	row-gap: 24px;
	align-items: flex-start;
	min-height: 220px;
}

.site-footer .footer-divider {
	margin: 0 0 42px;
}

.footer-logo {
	font-weight: 700;
}

.footer-brand p {
	max-width: 270px;
}

.footer-links {
	display: contents;
}

.footer-col li {
	line-height: 1.55;
}

.footer-bottom {
	align-items: center;
}

.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.footer-social a svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	display: block;
}

@media (max-width: 1024px) {
	.header-inner {
		padding: 16px 40px;
	}

	.mh-pre-footer-cta {
		padding: 60px 40px;
	}

	.mh-pre-footer-cta__title {
		font-size: 36px;
	}

	.mh-pre-footer-cta__text {
		font-size: 16px;
	}

	.footer-inner {
		padding: 48px 40px 32px;
	}

	.footer-top {
		display: flex;
		flex-direction: column;
		min-height: 0;
		gap: 32px;
	}

	.footer-links {
		display: flex;
		width: 100%;
		justify-content: flex-start;
		gap: 56px;
	}
}

@media (max-width: 767px) {
	.header-inner {
		padding: 12px 20px;
	}

	.main-navigation {
		justify-content: flex-end;
	}

	.site-header .header-cta {
		display: none;
	}

	.mh-pre-footer-cta {
		padding: 48px 20px;
	}

	.mh-pre-footer-cta__title {
		font-size: 26px;
	}

	.mh-pre-footer-cta__text {
		font-size: 14px;
	}

	.mh-pre-footer-cta__actions {
		width: 100%;
		flex-direction: column;
	}

	.mh-pre-footer-cta__btn {
		width: 100%;
	}

	.footer-inner {
		padding: 40px 20px 30px;
	}

	.footer-links {
		flex-direction: column;
		gap: 24px;
	}

	.footer-bottom {
		text-align: center;
	}
}

/* Gallery Pages */
body.mh-gallery-page {
	background: #ffffff;
}

.mh-gallery-main {
	padding: 0;
	background: #ffffff;
}

.mh-gallery-main.site-main {
	max-width: none;
}

.mh-gallery-container {
	width: min(1200px, calc(100% - 240px));
	margin: 0 auto;
}

.mh-gallery-hero,
.mh-gallery-project-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(150deg, #001a33 0%, #0068b2 52%, #004a7f 100%);
}

.mh-gallery-hero::after,
.mh-gallery-project-hero::after {
	content: "";
	position: absolute;
	top: 42px;
	right: clamp(20px, 8vw, 140px);
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(124, 58, 237, 0.28) 0%, rgba(124, 58, 237, 0) 72%);
	filter: blur(8px);
	pointer-events: none;
}

.mh-gallery-hero .mh-gallery-container {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	padding: 18px 0;
	text-align: center;
}

.mh-gallery-hero__eyebrow {
	margin: 0;
	color: #6dc8e8;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
}

.mh-gallery-hero__title {
	margin: 0;
	color: #ffffff;
	font-size: 44px;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -1.5px;
}

.mh-gallery-hero__subtitle {
	margin: 0;
	max-width: 780px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 18px;
	line-height: 1.55;
}

.mh-gallery-filter-wrap {
	padding: 24px 0 8px;
}

.mh-project-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.mh-project-filter__button {
	appearance: none;
	border: 1px solid #e4e4e7;
	border-radius: 999px;
	background: #ffffff;
	color: #71717a;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	padding: 8px 20px;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mh-project-filter__button:hover {
	transform: translateY(-1px);
	border-color: #cbd5e1;
	color: #18181b;
}

.mh-project-filter__button.is-active {
	border-color: #0068b2;
	background: #0068b2;
	box-shadow: 0 2px 8px rgba(0, 104, 178, 0.2);
	color: #ffffff;
}

.mh-gallery-timeline {
	padding: 0 0 60px;
}

.mh-gallery-timeline__header {
	display: none;
}

.mh-project-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.mh-project-card {
	position: relative;
	display: block;
	overflow: hidden;
	min-height: 220px;
	border-radius: 12px;
	background: #0f172a;
	box-shadow: 0 8px 24px rgba(0, 104, 178, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.16);
	text-decoration: none;
	transition: transform 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease;
}

.mh-project-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 26, 51, 0.06) 0%, rgba(0, 26, 51, 0.18) 40%, rgba(0, 26, 51, 0.86) 100%);
	pointer-events: none;
}

.mh-project-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(0, 104, 178, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.mh-project-card:focus-visible {
	outline: 3px solid #6dc8e8;
	outline-offset: 4px;
}

.mh-project-card.is-hidden {
	display: none;
}

.mh-project-card__media {
	margin: 0;
	height: 100%;
}

.mh-project-card__image {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.mh-project-card__content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px;
}

.mh-project-card__eyebrow {
	color: #6dc8e8;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.mh-project-card__title {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	color: #ffffff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.mh-project-card__action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	opacity: 0.92;
}

.mh-project-card__action::after {
	content: "\203A";
	font-size: 16px;
	line-height: 1;
}

.mh-gallery-project-hero .mh-gallery-container {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
	justify-content: flex-start;
	min-height: 260px;
	padding: 48px 0;
}

.mh-gallery-project-hero__eyebrow {
	margin: 0;
	color: #6dc8e8;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
}

.mh-gallery-project-hero__title {
	margin: 0;
	max-width: 960px;
	color: #ffffff;
	font-size: 46px;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -1.6px;
}

.mh-gallery-project-hero__subtitle {
	margin: 0;
	max-width: 920px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 18px;
	line-height: 1.55;
}

.mh-gallery-project-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 0;
}

.mh-gallery-project-meta__chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.mh-gallery-project-content {
	padding: 48px 0 80px;
}

.mh-gallery-project-content .mh-gallery-container {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.mh-gallery-project-overview {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	border: 1px solid #e4e4e7;
	border-radius: 14px;
	background: #ffffff;
}

.mh-gallery-project-overview__title,
.mh-gallery-section__title {
	margin: 0;
	color: #18181b;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
}

.mh-gallery-project-overview__title {
	font-size: 24px;
}

.mh-gallery-section__title-text--tablet,
.mh-gallery-section__title-text--mobile {
	display: none;
}

.mh-gallery-project-overview__text,
.mh-gallery-comparison-card__caption {
	margin: 0;
	color: #71717a;
	font-size: 16px;
	line-height: 1.6;
}

.mh-gallery-section {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mh-gallery-image-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.mh-gallery-image-card,
.mh-gallery-comparison-shot {
	margin: 0;
}

.mh-gallery-image-card img,
.mh-gallery-comparison-shot img {
	display: block;
	width: 100%;
	object-fit: cover;
	border-radius: 12px;
}

.mh-gallery-image-card img {
	height: 220px;
}

.mh-gallery-comparison-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.mh-gallery-comparison-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	border: 1px solid #e4e4e7;
	border-radius: 12px;
	background: #ffffff;
}

.mh-gallery-comparison-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.mh-gallery-comparison-shot {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mh-gallery-comparison-shot img {
	height: 170px;
}

.mh-gallery-comparison-shot__label {
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	color: #71717a;
}

.mh-gallery-comparison-shot:last-child .mh-gallery-comparison-shot__label {
	color: #0068b2;
}

.mh-gallery-comparison-card__caption {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.elementor-page.mh-gallery-page .site-footer {
	display: block;
}

@media (max-width: 1024px) {
	.mh-gallery-container {
		width: calc(100% - 80px);
	}

	.mh-gallery-hero .mh-gallery-container {
		min-height: 200px;
		padding: 16px 0;
	}

	.mh-gallery-hero__title {
		font-size: 36px;
		letter-spacing: -1.2px;
	}

	.mh-gallery-hero__subtitle {
		max-width: 640px;
		font-size: 16px;
	}

	.mh-gallery-filter-wrap {
		padding: 24px 0 12px;
	}

	.mh-gallery-timeline {
		padding-bottom: 56px;
	}

	.mh-project-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mh-project-card__content {
		padding: 16px;
	}

	.mh-project-card__title {
		font-size: 18px;
	}

	.mh-gallery-project-hero .mh-gallery-container {
		gap: 10px;
		min-height: 220px;
		padding: 36px 0;
	}

	.mh-gallery-project-hero__title {
		font-size: 34px;
		letter-spacing: -1px;
	}

	.mh-gallery-project-hero__subtitle {
		font-size: 16px;
		max-width: 640px;
	}

	.mh-gallery-project-meta {
		display: none;
	}

	.mh-gallery-project-content {
		padding: 32px 0 56px;
	}

	.mh-gallery-project-content .mh-gallery-container {
		gap: 20px;
	}

	.mh-gallery-project-overview {
		padding: 18px;
		border-radius: 12px;
	}

	.mh-gallery-project-overview__title,
	.mh-gallery-section__title {
		font-size: 24px;
	}

	.mh-gallery-section__title-text--desktop,
	.mh-gallery-section__title-text--mobile {
		display: none;
	}

	.mh-gallery-section__title-text--tablet {
		display: inline;
	}

	.mh-gallery-project-overview__text {
		font-size: 15px;
		line-height: 1.5;
	}

	.mh-gallery-image-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.mh-gallery-image-grid .mh-gallery-image-card:nth-child(n + 3) {
		display: none;
	}

	.mh-gallery-image-card img {
		height: 180px;
	}

	.mh-gallery-comparison-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.mh-gallery-comparison-grid .mh-gallery-comparison-card:nth-child(n + 2) {
		display: none;
	}

	.mh-gallery-comparison-card {
		padding: 0;
		border: none;
		background: transparent;
	}

	.mh-gallery-comparison-pair {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.mh-gallery-comparison-shot {
		gap: 0;
	}

	.mh-gallery-comparison-shot img {
		height: 170px;
	}

	.mh-gallery-comparison-shot__label,
	.mh-gallery-comparison-card__caption {
		display: none;
	}
}

@media (max-width: 767px) {
	.mh-gallery-container {
		width: calc(100% - 40px);
	}

	.mh-gallery-hero .mh-gallery-container {
		min-height: 180px;
		padding: 16px 0;
	}

	.mh-gallery-hero__eyebrow {
		font-size: 11px;
		letter-spacing: 1.6px;
	}

	.mh-gallery-hero__title {
		font-size: 26px;
		letter-spacing: -1px;
	}

	.mh-gallery-hero__subtitle {
		max-width: 335px;
		font-size: 14px;
		line-height: 1.45;
	}

	.mh-gallery-filter-wrap {
		padding: 20px 0 12px;
	}

	.mh-project-filter__button {
		font-size: 12px;
		padding: 7px 16px;
	}

	.mh-gallery-timeline {
		padding-bottom: 48px;
	}

	.mh-project-list {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.mh-project-card__content {
		padding: 14px;
	}

	.mh-project-card__eyebrow {
		font-size: 11px;
	}

	.mh-project-card__title {
		font-size: 18px;
	}

	.mh-project-card__action {
		font-size: 12px;
	}

	.mh-gallery-project-hero .mh-gallery-container {
		gap: 8px;
		min-height: 200px;
		padding: 28px 0;
	}

	.mh-gallery-project-hero__eyebrow {
		font-size: 10px;
		letter-spacing: 1.2px;
	}

	.mh-gallery-project-hero__title {
		font-size: 24px;
		letter-spacing: -0.4px;
	}

	.mh-gallery-project-hero__subtitle {
		font-size: 14px;
		line-height: 1.45;
	}

	.mh-gallery-project-meta {
		gap: 8px;
		margin-top: 16px;
	}

	.mh-gallery-project-meta__chip {
		font-size: 12px;
		padding: 7px 12px;
	}

	.mh-gallery-project-content {
		padding: 24px 0 40px;
	}

	.mh-gallery-project-content .mh-gallery-container {
		gap: 16px;
	}

	.mh-gallery-project-overview {
		gap: 8px;
		padding: 14px;
		border-radius: 10px;
	}

	.mh-gallery-project-overview__title {
		font-size: 19px;
	}

	.mh-gallery-section__title-text--desktop,
	.mh-gallery-section__title-text--tablet {
		display: none;
	}

	.mh-gallery-section__title-text--mobile {
		display: inline;
	}

	.mh-gallery-section {
		gap: 8px;
	}

	.mh-gallery-section__title {
		font-size: 21px;
	}

	.mh-gallery-project-overview__text,
	.mh-gallery-comparison-card__caption {
		font-size: 14px;
		line-height: 1.5;
	}

	.mh-gallery-image-grid {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.mh-gallery-image-grid .mh-gallery-image-card:nth-child(n + 3) {
		display: none;
	}

	.mh-gallery-image-card img {
		height: 170px;
		border-radius: 10px;
	}

	.mh-gallery-comparison-pair {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.mh-gallery-comparison-shot {
		gap: 0;
	}

	.mh-gallery-comparison-shot img {
		height: 170px;
		border-radius: 10px;
	}

	.mh-gallery-comparison-shot__label,
	.mh-gallery-comparison-card__caption {
		display: none;
	}
}
