/* ==========================================================================
   Legit Web Solutions - 1.0.3 layout fixes
   Loaded after the original stylesheet so all original transitions,
   counters, filters, sliders and reveal animations remain intact.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Reliable vertical scrolling
   overflow-x:hidden on the body can make the body a scroll container in some
   browsers and leave inline overflow:hidden behind after a mobile-menu close.
   clip avoids that without affecting normal document scrolling.
   -------------------------------------------------------------------------- */
html,
body {
	height: auto !important;
	min-height: 100%;
}

html {
	overflow-y: auto !important;
	overflow-x: hidden;
	overscroll-behavior-y: auto;
	scroll-padding-top: 92px;
}

body {
	overflow-x: clip;
	overflow-y: visible;
}

@supports not (overflow-x: clip) {
	body {
		overflow-x: hidden;
		overflow-y: auto;
	}
}

body:not(.elementor-editor-active) .lws-main {
	min-height: 0;
	overflow: visible;
}

/* --------------------------------------------------------------------------
   Non-sticky header
   The compact header stays in normal document flow on every viewport.
   -------------------------------------------------------------------------- */
.lws-header {
	position: relative !important;
	top: auto !important;
	z-index: 1000 !important;
}

.admin-bar .lws-header { top: auto !important; }

@media (max-width: 782px) {
	.admin-bar .lws-header { top: auto !important; }
}

/* --------------------------------------------------------------------------
   Shorter heroes on desktop, tablet and mobile
   -------------------------------------------------------------------------- */
@media (min-width: 901px) {
	.lws-hero {
		min-height: min(58vh, 560px) !important;
		padding: 58px 0 64px !important;
	}

	.lws-hero--page {
		min-height: 0 !important;
		padding: 58px 0 52px !important;
	}

	.lws-hero__stats {
		margin-top: 28px;
		padding-top: 18px;
	}
}

@media (max-width: 900px) {
	.lws-hero {
		min-height: 0 !important;
		padding: 58px 0 64px !important;
	}

	.lws-hero--page {
		min-height: 0 !important;
		padding: 46px 0 42px !important;
	}

	.lws-badge { margin-bottom: 16px; }
	.lws-hero__title { font-size: clamp(32px, 8vw, 46px); }
	.lws-hero__text { margin-bottom: 24px; }
	.lws-hero__stats {
		margin-top: 28px !important;
		padding-top: 18px !important;
		gap: 12px 24px;
	}
	.lws-hero__stats strong { font-size: 24px; }
}

@media (max-width: 520px) {
	.lws-hero {
		padding: 46px 0 50px !important;
	}

	.lws-hero--page {
		padding: 36px 0 34px !important;
	}

	.lws-badge { margin-bottom: 14px; padding: 7px 14px; }
	.lws-hero__title { font-size: clamp(30px, 9vw, 40px); line-height: 1.1; }
	.lws-hero__text { font-size: 15px; margin-bottom: 22px; }
	.lws-hero__btns { gap: 10px; }
	.lws-hero__stats {
		margin-top: 22px !important;
		padding-top: 16px !important;
		gap: 10px 20px;
	}
	.lws-hero__stats strong { font-size: 22px; }
	.lws-hero__stats span { font-size: 12px; }
}

/* --------------------------------------------------------------------------
   Elementor page data: keep the exact full-width section geometry.
   Editor styling is left untouched.
   -------------------------------------------------------------------------- */
body:not(.elementor-editor-active) .lws-main .elementor,
body:not(.elementor-editor-active) .lws-main .elementor-section,
body:not(.elementor-editor-active) .lws-main .elementor-container {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body:not(.elementor-editor-active) .lws-main .elementor-section {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	overflow: visible;
}

body:not(.elementor-editor-active) .lws-main .elementor-column > .elementor-widget-wrap {
	padding: 0 !important;
}

body:not(.elementor-editor-active) .lws-main .elementor-widget {
	margin-bottom: 0 !important;
}

body:not(.elementor-editor-active) .lws-main .elementor-widget-html {
	width: 100%;
}
