/* Legal Support — PDF review fixes */

:root {
	--ls-header-offset: 110px;
}

@media (max-width: 1024px) {
	:root {
		--ls-header-offset: 90px;
	}
}

/* Anchor scroll offset under fixed header */
#pronas,
#poslugi,
#etapi,
#etapinew,
#FAQ,
#kontakti,
.elementor-element-28e8dfe2,
.elementor-location-footer {
	scroll-margin-top: var(--ls-header-offset);
}

/* Hero: keep title above people photo */
#hero32 .elementor-element-775bf89f,
#hero32 .elementor-element-ed265cd,
#hero32 .elementor-element-42b1c82c,
#hero32 .elementor-element-2a5143dd,
#hero32 .elementor-element-7b8d5f39 {
	position: relative;
	z-index: 5;
}

#hero32 .elementor-element-284235f,
#hero32 .elementor-element-79b110c {
	z-index: 1 !important;
	pointer-events: none;
}

#hero32 .elementor-element-775bf89f .wd-text-block,
#hero32 .elementor-element-ed265cd .wd-text-block {
	text-shadow: 0 2px 18px rgba(5, 17, 32, 0.45);
}

#hero32 .ls-hero-title-line {
	display: inline-block;
}

#hero32 .ls-hero-title-line--second {
	color: #fff !important;
	padding-left: 0;
}

/* Hero typography: -10% on title only (do not touch right column layout) */
@media (min-width: 768px) {
	#hero32 .elementor-element-775bf89f .wd-text-block {
		font-size: 105px !important;
		line-height: 0.9 !important;
		max-width: 10em;
	}

	#hero32 .elementor-element-42b1c82c .wd-text-block {
		font-size: 23px !important;
	}

	#hero32 .elementor-element-2a5143dd .wd-text-block {
		font-size: 16px !important;
	}
}

@media (max-width: 1490px) and (min-width: 768px) {
	#hero32 .elementor-element-775bf89f .wd-text-block {
		font-size: 72px !important;
		line-height: 0.9 !important;
		max-width: 9.5em;
	}
}

@media (max-width: 1024px) and (min-width: 768px) {
	#hero32 .elementor-element-775bf89f .wd-text-block {
		font-size: 54px !important;
		max-width: 9em;
	}

	#hero32 .elementor-element-42b1c82c .wd-text-block {
		font-size: 18px !important;
	}

	#hero32 .elementor-element-2a5143dd .wd-text-block {
		font-size: 14px !important;
	}
}

@media (max-width: 767px) {
	#hero32 .elementor-element-ed265cd .wd-text-block {
		font-size: 11.04vw !important;
		line-height: 0.9 !important;
	}

	#hero32 .elementor-element-42b1c82c .wd-text-block {
		font-size: 12.6px !important;
	}

	#hero32 .elementor-element-2a5143dd .wd-text-block {
		font-size: 12.6px !important;
	}
}

/* About block: keep «Факти» clear of sticky header */
#pronas {
	scroll-margin-top: calc(var(--ls-header-offset) + 12px);
}

/* Sticky header must stay above page content after Elementor popup close */
.elementor-location-header,
.elementor-location-header .elementor-sticky--active,
.elementor-element-06c4895.elementor-sticky--active {
	z-index: 990 !important;
}

/*
 * Stages carousel (#etapinew): no wheel hijack, native horizontal scroll.
 */
#etapinew .horizontal-scroll-section {
	scroll-behavior: auto !important;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	touch-action: pan-x pan-y;
}

#etapinew .scroll-track {
	scroll-snap-type: x proximity;
}

/* Stages carousel swipe hint */
.ls-stages-header-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
	margin-bottom: 8px;
}

.ls-stages-header-row .elementor-element-7d2d4640 {
	flex: 0 0 auto;
	min-width: 0;
	width: 100%;
}

.ls-stages-swipe-hint:not(.is-hidden) {
	display: inline-flex !important;
}

.ls-stages-swipe-hint {
	align-items: center;
	gap: 8px;
	margin: 6px 0 16px;
	color: rgba(255, 255, 255, 0.85);
	font-family: Onest, "Inter Tight", Arial, sans-serif;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.3;
	user-select: none;
	pointer-events: none;
	flex-shrink: 0;
	white-space: nowrap;
	animation: ls-stages-swipe-pulse 2.2s ease-in-out infinite;
}

.ls-stages-swipe-hint.is-hidden {
	display: none !important;
}

.ls-stages-swipe-hint__icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

@keyframes ls-stages-swipe-pulse {
	0%,
	100% {
		opacity: 0.72;
		transform: translateX(0);
	}
	50% {
		opacity: 1;
		transform: translateX(5px);
	}
}

/* Additional services: price under title (realty + mortgage) */
.elementor-element-20718105,
.elementor-element-60d8b29c {
	flex-direction: column !important;
	align-items: flex-start !important;
	flex-wrap: nowrap !important;
	gap: 8px !important;
	width: 100% !important;
}

.elementor-element-20718105 > .e-con,
.elementor-element-60d8b29c > .e-con {
	width: 100% !important;
}

.elementor-element-7f1785d2,
.elementor-element-5036257d {
	width: auto !important;
	max-width: 100% !important;
	align-self: flex-start !important;
	margin-top: 0 !important;
}

.elementor-element-7f1785d2 .wd-text-block,
.elementor-element-7f1785d2 .wd-text-block p,
.elementor-element-5036257d .wd-text-block,
.elementor-element-5036257d .wd-text-block p {
	text-align: left !important;
	white-space: nowrap;
}

.elementor-element-a9f0e03,
.elementor-element-52b1bd2 {
	justify-content: space-between !important;
	align-items: center !important;
}

.elementor-element-c40pric .wd-text-block p,
.elementor-element-c50pric .wd-text-block p,
.ls-courses-price .wd-text-block p {
	white-space: nowrap;
}

/* Translation service price: narrower text block */
.elementor-element-7810c65e {
	max-width: 144px !important;
	width: 144px !important;
	align-self: flex-start !important;
}

.elementor-element-7810c65e .wd-text-block p {
	white-space: normal !important;
	line-height: 1.35;
}

/* FAQ accordion */
.ls-faq {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 10px;
}

.ls-faq__item {
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	overflow: hidden;
}

.ls-faq__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	border: 0;
	background: transparent;
	color: #fff;
	font-family: Onest, Arial, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
}

.ls-faq__q::after {
	content: "";
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	border-right: 2px solid #c9a25d;
	border-bottom: 2px solid #c9a25d;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	margin-top: -4px;
}

.ls-faq__item.is-open .ls-faq__q::after {
	transform: rotate(-135deg);
	margin-top: 4px;
}

.ls-faq__a {
	display: none;
	padding: 0 20px 18px;
	color: rgba(255, 255, 255, 0.78);
	font-family: Onest, Arial, sans-serif;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.45;
}

.ls-faq__item.is-open .ls-faq__a {
	display: block;
}

.ls-faq__a p {
	margin: 0 0 12px;
}

.ls-faq__a p:last-child {
	margin-bottom: 0;
}

.ls-faq__a ul {
	margin: 0 0 12px;
	padding-left: 20px;
}

.ls-faq__a li {
	margin-bottom: 6px;
}

@media (max-width: 767px) {
	.ls-faq__q {
		font-size: 15px;
		padding: 16px;
	}

	.ls-faq__a {
		padding: 0 16px 16px;
		font-size: 14px;
	}

}
