/* LIGL site helpers — only behaviour Elementor (free) has no control for.
   Scoped to the LIGL landing pages (.ligl-lp). All layout, typography and colours live in Elementor widget settings. */

.ligl-lp { overflow-x: clip; }
.ligl-lp a { text-decoration: none; }
.ligl-lp [id] { scroll-margin-top: 76px; }

/* Header: fixed (set in Elementor), dark background once the page is scrolled */
.ligl-lp .ligl-header { transition: background-color .3s ease, box-shadow .3s ease; }
.ligl-lp .ligl-header.is-scrolled { background-color: rgba(11, 11, 11, .94) !important; box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.admin-bar .ligl-lp .ligl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ligl-lp .ligl-header { top: 46px; } }

/* Mobile menu: the burger is an Elementor Icon widget, the menu is an Elementor Icon List widget */
.ligl-lp .ligl-burger { display: none; cursor: pointer; }
@media (max-width: 1280px) {
	.ligl-lp .ligl-burger { display: block; position: relative; z-index: 3; }
	.ligl-lp .ligl-nav { position: fixed !important; inset: 0; width: auto !important; max-width: none !important; margin: 0 !important; z-index: 2; background: #0b0b0b; display: flex; align-items: center; padding: 0 40px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
	.ligl-lp .ligl-header.is-menu-open .ligl-nav { opacity: 1; visibility: visible; }
	.ligl-lp .ligl-nav .elementor-icon-list-items { flex-direction: column; align-items: flex-start !important; gap: 22px; }
	.ligl-lp .ligl-nav .elementor-icon-list-item { margin: 0 !important; padding: 8px 0 !important; }
	.ligl-lp .ligl-nav .elementor-icon-list-text { font-family: 'Playfair Display', Georgia, serif !important; font-size: 36px !important; letter-spacing: -.02em !important; color: #fff !important; }
	.ligl-lp .ligl-nav .elementor-icon-list-item::after { display: none !important; }
}

/* Language switcher (shortcode output) */
.ligl-lp .ligl-lang { position: relative; display: inline-block; font-family: 'Inter', sans-serif; color: inherit; }
.ligl-lp .ligl-lang__current, .ligl-lp .ligl-lang__menu a { display: flex; align-items: center; gap: 13px; background: none; border: 0; padding: 6px 0; margin: 0; font: inherit; font-size: 15px; color: inherit; cursor: pointer; line-height: 1; box-shadow: none; border-radius: 0; text-transform: none; letter-spacing: 0; }
.ligl-lp .ligl-lang__current:hover, .ligl-lp .ligl-lang__current:focus { background: none; color: inherit; }
.ligl-lp .ligl-lang__flag { width: 24px; height: 24px; flex: 0 0 24px; display: block; }
.ligl-lp .ligl-lang__menu { list-style: none; margin: 0; padding: 6px 12px; position: absolute; top: 100%; right: -12px; min-width: 100%; background: #fff; color: #111; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); opacity: 0; visibility: hidden; transform: translateY(4px); transition: .18s; z-index: 30; }
.ligl-lp .ligl-lang:hover .ligl-lang__menu, .ligl-lp .ligl-lang.is-open .ligl-lang__menu, .ligl-lp .ligl-lang:focus-within .ligl-lang__menu { opacity: 1; visibility: visible; transform: none; }
.ligl-lp .ligl-lang--up .ligl-lang__menu { top: auto; bottom: 100%; right: auto; left: 50%; transform: translate(-50%, -4px); }
.ligl-lp .ligl-lang--up:hover .ligl-lang__menu, .ligl-lp .ligl-lang--up.is-open .ligl-lang__menu, .ligl-lp .ligl-lang--up:focus-within .ligl-lang__menu { transform: translate(-50%, 0); }
.ligl-lp .ligl-lang--sm .ligl-lang__current, .ligl-lp .ligl-lang--sm .ligl-lang__menu a { font-size: 13px; gap: 10px; }
.ligl-lp .ligl-lang--sm .ligl-lang__flag { width: 20px; height: 20px; flex-basis: 20px; }
.ligl-lp .ligl-header .ligl-lang { color: #fff; }
.ligl-lp .ligl-lang-foot .ligl-lang { color: #fff; }
.ligl-lp .ligl-lang-foot .elementor-shortcode { display: flex; justify-content: center; }
/* Theme adds a top margin to paragraphs; spacing on these pages is set per widget in Elementor */
.ligl-lp .elementor-widget-text-editor p { margin: 0; }
@media (max-width: 1280px) { .ligl-lp .ligl-header .ligl-lang-w { margin-left: auto !important; } }

/* "How we work" click-to-stack layers. Each layer is an Elementor container (.ligl-plate) holding an Image (icon) and a Heading (label). */
.ligl-lp .ligl-stack { position: relative !important; display: block !important; cursor: pointer; counter-reset: plate; --s: 440px; --ligl-step: 20px; user-select: none; -webkit-tap-highlight-color: transparent; outline: none; }
.ligl-lp .ligl-stack:focus-visible { outline: 1px dashed rgba(255, 255, 255, .35); outline-offset: 6px; }
@media (max-width: 1024px) { .ligl-lp .ligl-stack { --s: 360px; --ligl-step: 18px; } }
@media (max-width: 767px) { .ligl-lp .ligl-stack { --s: 215px; --ligl-step: 12px; } }
.ligl-lp .ligl-plate {
	position: absolute !important; left: 50% !important; top: calc(50% + 2 * var(--ligl-step)) !important; width: var(--s) !important; height: var(--s); max-width: none !important;
	margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2) !important; padding: 0 !important; border-radius: calc(var(--s) * .065);
	display: flex !important; align-items: center; justify-content: center; counter-increment: plate; pointer-events: none;
	background: linear-gradient(135deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .07)); border: 1px solid rgba(255, 255, 255, .5);
	box-shadow: 4px 4px 0 rgba(255, 255, 255, .10), 10px 10px 22px rgba(0, 0, 0, .45);
	-webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
	opacity: 0; transform: translateY(calc(var(--i, 0) * -1 * var(--ligl-step) - 240px)) rotateX(55deg) rotateZ(45deg) !important;
}
.ligl-lp .ligl-stack.is-ready .ligl-plate { transition: transform .7s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
}
.ligl-lp .ligl-plate.is-on { opacity: 1; transform: translateY(calc(var(--i, 0) * -1 * var(--ligl-step))) rotateX(55deg) rotateZ(45deg) !important; }
.ligl-lp .ligl-plate.is-base { background: linear-gradient(135deg, #353535 0%, #272727 55%, #202020 100%); border-color: rgba(255, 255, 255, .08); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 4px 4px 0 rgba(255, 255, 255, .05), 0 40px 60px rgba(0, 0, 0, .6); }
.ligl-lp .ligl-plate::after { content: "0" counter(plate); position: absolute; right: 9%; top: 9%; font: 500 12px/1 'Inter', sans-serif; color: rgba(255, 255, 255, .6); }
.ligl-lp .ligl-plate .ligl-plate-icon { width: 30% !important; max-width: none !important; margin: 0 !important; }
.ligl-lp .ligl-plate .ligl-plate-icon img { width: 100%; height: auto; }
.ligl-lp .ligl-plate .ligl-plate-label { display: none !important; }
.ligl-lp .ligl-stack-label .elementor-heading-title { transition: opacity .25s ease; }
.ligl-lp .ligl-stack-label.is-swapping .elementor-heading-title { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .ligl-lp .ligl-stack.is-ready .ligl-plate { transition: opacity .2s ease; } }
