/*
 * ls-pro.css — pro polish: full screen mobile hero, gallery popup,
 * Elementor widget containers and the reveal safety net.
 */

html.ls-loading { overflow: hidden; }
.preloader { transition: opacity .6s ease, visibility .6s ease; }
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
body.ls-preloader-done .preloader { pointer-events: none; }

body.loaded .reveal, .reveal.in, body.ls-reveal-all .reveal,
body.ls-reveal-all .blurin, body.ls-reveal-all .stagger > * {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

.ls-w, .ls-sec-in { width: 100%; }
.ls-w > * { margin: 0; }
.elementor-widget-container > .ls-w { margin: 0; }
.ls-w .section, .ls-w .hero { width: 100%; }
.elementor-section-boxed .ls-w .hero { border-radius: inherit; }

body.ls-builder .preloader,
body.ls-builder .cursor,
body.ls-builder .cursor-label,
body.ls-builder .menu,
body.ls-builder .ls-lb { display: none !important; }
body.ls-builder * { cursor: auto !important; }
body.ls-builder .reveal, body.ls-builder .blurin, body.ls-builder .stagger > * {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}
body.ls-builder .hslide { opacity: 1; }
body.ls-builder .hslide:not(.active) { opacity: 0; }

.hero { min-height: 100svh; }
.hslider, .hslide { position: absolute; inset: 0; }
.hslide img.hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.hprogress { position: relative; height: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.hprogress i { display: block; height: 100%; width: 0; background: var(--gold-soft); }
.hdot { cursor: pointer; }
.hdot.active { background: var(--gold-soft); }

@media ( max-width: 820px ) {
	.hero {
		min-height: calc( var( --ls-vh, 1vh ) * 100 );
		height: calc( var( --ls-vh, 1vh ) * 100 );
	}
	.hero .hslide .field { display: none; }
	.hslide img.hero-img { object-position: center 35%; }
	.hero-overlay {
		background: linear-gradient( 180deg, rgba(3,15,25,.45) 0%, rgba(3,15,25,.22) 38%, rgba(3,15,25,.88) 100% );
	}
	.hero-content { padding-bottom: 92px; }
	.hero-trust { display: none; }
	.harrows { display: flex !important; gap: 10px; }
	.harrows button {
		width: 42px;
		height: 42px;
		border-radius: 50%;
		border: 1px solid rgba(255,255,255,.34);
		color: #fff;
		background: rgba(4,19,30,.34);
		backdrop-filter: blur(6px);
	}
}

@media ( max-width: 520px ) {
	.htext h1 { font-size: clamp( 30px, 9vw, 46px ); }
	.htext p { font-size: 15px; max-width: 34ch; }
	.hero-actions .btn { width: 100%; justify-content: center; }
}

.ls-zoomable { cursor: zoom-in; }
.lsg-item .lsg-frame { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.lsg-item:hover .lsg-frame { transform: translateY(-4px) scale(1.012); }
.lsg-item:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; }

body.ls-lb-lock { overflow: hidden; }
.ls-lb {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp( 14px, 4vw, 48px );
	background: rgba(4,19,30,.92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .35s ease, visibility .35s ease;
}
.ls-lb.is-open { opacity: 1; visibility: visible; }
.ls-lb-box {
	margin: 0;
	max-width: min( 1180px, 94vw );
	transform: scale(.96);
	transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.ls-lb.is-open .ls-lb-box { transform: none; }
.ls-lb-box img {
	display: block;
	max-width: 100%;
	max-height: 78vh;
	margin: 0 auto;
	border-radius: 16px;
	box-shadow: 0 30px 80px rgba(0,0,0,.5);
	background: #04131e;
}
.ls-lb-box figcaption {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 14px;
	color: #EEF4F9;
	font-size: 14px;
}
.ls-lb-box figcaption b { color: var( --gold-soft, #27AAE1 ); font-weight: 600; }
.ls-lb-box figcaption span { opacity: .65; font-variant-numeric: tabular-nums; }
.ls-lb-close, .ls-lb-nav {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(233,242,249,.28);
	background: rgba(4,19,30,.5);
	color: #EEF4F9;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background .3s ease, transform .3s ease;
}
.ls-lb-close:hover, .ls-lb-nav:hover { background: rgba(39,170,225,.3); }
.ls-lb-close { top: 18px; right: 18px; font-size: 26px; }
.ls-lb-nav { top: 50%; transform: translateY(-50%); }
.ls-lb-prev { left: 16px; }
.ls-lb-next { right: 16px; }

@media ( max-width: 640px ) {
	.ls-lb-nav { width: 42px; height: 42px; }
	.ls-lb-prev { left: 8px; }
	.ls-lb-next { right: 8px; }
	.ls-lb-box img { max-height: 66vh; }
}

.ls-form-msg { display: none; margin-top: 14px; font-size: 14px; border-radius: 10px; padding: 10px 14px; }
.ls-form-msg.show { display: block; }
.ls-form-msg.ok { background: rgba(9,115,186,.12); color: #0973BA; }
.ls-form-msg.err { background: rgba(214,69,69,.12); color: #C0392B; }
form.is-sending { opacity: .7; pointer-events: none; }
.ls-invalid { border-color: #C0392B !important; }

.ls-page-wrap { max-width: 860px; margin: 0 auto; padding: clamp(120px,16vh,190px) var(--gutter) clamp(60px,9vh,110px); }
.ls-page-wrap.wide { max-width: var(--maxw); }
.ls-page-title { font-size: clamp(32px,5vw,62px); line-height: 1.04; letter-spacing: -.03em; }
.ls-meta { display: block; margin-bottom: 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); }
.ls-entry { margin-top: 26px; line-height: 1.75; }
.ls-entry > * + * { margin-top: 18px; }
.ls-post-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 28px; margin-top: 36px; }
.ls-post-card { background: var(--sand); border-radius: 18px; padding: 22px; }
.ls-post-card img { border-radius: 12px; margin-bottom: 14px; width: 100%; height: auto; }
.ls-post-card h2 { font-size: 22px; line-height: 1.25; margin-bottom: 8px; }
.ls-more { display: inline-block; margin-top: 12px; color: var(--gold); font-weight: 500; }
.ls-pagination { margin-top: 40px; display: flex; gap: 10px; }
.ls-searchform { display: flex; gap: 10px; margin: 20px 0 10px; flex-wrap: wrap; }
.ls-searchform input { flex: 1 1 220px; padding: 12px 16px; border: 1px solid var(--beige); border-radius: 10px; }
.ls-comments { margin-top: 48px; }
.ls-comment-list { list-style: none; padding: 0; }
.ls-sidebar { margin-top: 40px; }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 100000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; }

@media ( prefers-reduced-motion: reduce ) {
	* { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
