/*!
 * Little Ayub Hero – Elementor widget styles
 * Namespace: .lah-  (every rule is scoped to .lah-hero so nothing leaks into the theme)
 *
 * How sizing works
 * ----------------
 * Each per-device control in Elementor writes a CSS variable such as
 *   --lah-d-minh (desktop), --lah-t-minh (tablet), --lah-m-minh (mobile)
 * on the widget wrapper. The small responsive block that the plugin prints
 * (it uses your real Elementor breakpoints) resolves those into the "--_minh"
 * style variables used below. Empty controls fall back to the design defaults.
 */

/* ------------------------------------------------------------------ */
/*  Section                                                           */
/* ------------------------------------------------------------------ */
.lah-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: var(--_minh);
	overflow: var(--lah-overflow, hidden);
	background-color: #FDF5E9;
	isolation: isolate;
	box-sizing: border-box;
	font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}

.lah-hero *,
.lah-hero *::before,
.lah-hero *::after {
	box-sizing: border-box;
}

.lah-hero .lah-inner {
	position: relative;
	z-index: var(--lah-content-z, 4);
	flex: 1 0 auto;
	display: flex;
	align-items: var(--_valign);
	justify-content: var(--_cjust);
	width: 100%;
	max-width: var(--_maxw);
	margin: 0 auto;
	padding: var(--_pad);
	pointer-events: none;
}

.lah-hero .lah-content {
	width: var(--_cw);
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: var(--_items);
	text-align: var(--_talign);
	pointer-events: auto;
}

/* ------------------------------------------------------------------ */
/*  Text                                                              */
/* ------------------------------------------------------------------ */
.lah-hero .lah-eyebrow {
	display: block;
	margin: 0 0 var(--_egap);
	padding: 0;
	color: #1B4019;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: var(--_efs);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.lah-hero .lah-title {
	margin: 0 0 var(--_tgap);
	padding: 0;
	max-width: var(--_tmaxw);
	color: #123D12;
	font-family: "Fredoka", "Baloo 2", system-ui, sans-serif;
	font-size: var(--_tfs);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.018em;
	-webkit-text-stroke: var(--lah-title-stroke, 1px) currentColor;
	paint-order: stroke fill;
	text-wrap: balance;
	overflow-wrap: break-word;
}

.lah-hero .lah-desc {
	margin: 0 0 var(--_dgap);
	padding: 0;
	max-width: var(--_dmaxw);
	color: #1C3D19;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: var(--_dfs);
	font-weight: 500;
	line-height: 1.38;
}

.lah-hero .lah-desc p { margin: 0 0 0.6em; }
.lah-hero .lah-desc p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ */
/*  Button                                                            */
/* ------------------------------------------------------------------ */
.lah-hero .lah-btn-wrap {
	display: flex;
	align-self: var(--lah-btn-align, auto);
	transform: translate(var(--lah-btn-x, 0px), var(--lah-btn-y, 0px));
}

.lah-hero .lah-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--lah-btn-gap, 0.4em);
	min-width: var(--_btnw);
	min-height: var(--_btnh);
	padding: var(--_btnpad);
	border: 0 solid transparent;
	border-radius: 999px;
	background-color: #FF7E1B;
	color: #13360F;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: var(--_bfs);
	font-weight: 600;
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	isolation: isolate;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition:
		transform var(--lah-btn-tr, 0.35s) cubic-bezier(0.2, 0.8, 0.2, 1),
		background-color var(--lah-btn-tr, 0.35s) ease,
		color var(--lah-btn-tr, 0.35s) ease,
		border-color var(--lah-btn-tr, 0.35s) ease,
		box-shadow var(--lah-btn-tr, 0.35s) ease;
}

.lah-hero .lah-btn:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.lah-hero .lah-btn__text,
.lah-hero .lah-btn__icon {
	position: relative;
	z-index: 2;
}

.lah-hero .lah-btn__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--lah-btn-icon, 1.15em);
	height: var(--lah-btn-icon, 1.15em);
	font-size: var(--lah-btn-icon, 1.15em);
	line-height: 1;
	transition: transform var(--lah-btn-tr, 0.35s) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lah-hero .lah-btn__icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.lah-hero .lah-btn__icon i { font-size: inherit; line-height: 1; }
.lah-hero .lah-btn__icon svg:not(.lah-arrow) { fill: currentColor; }
.lah-hero .lah-btn--icon-before { flex-direction: row-reverse; }

.lah-hero .lah-btn:hover .lah-btn__icon,
.lah-hero .lah-btn:focus-visible .lah-btn__icon {
	transform: translateX(var(--lah-btn-icon-shift, 4px));
}

.lah-hero .lah-btn--icon-before:hover .lah-btn__icon {
	transform: translateX(calc(var(--lah-btn-icon-shift, 4px) * -1));
}

/* Hover animations */
.lah-hero .lah-hover-lift:hover,
.lah-hero .lah-hover-lift:focus-visible { transform: translateY(var(--lah-btn-lift, -3px)); }
.lah-hero .lah-hover-grow:hover,
.lah-hero .lah-hover-grow:focus-visible { transform: scale(var(--lah-btn-grow, 1.05)); }
.lah-hero .lah-hover-shrink:hover,
.lah-hero .lah-hover-shrink:focus-visible { transform: scale(0.96); }
.lah-hero .lah-hover-float:hover { animation: lah-btn-float 1.4s ease-in-out infinite; }
.lah-hero .lah-hover-pulse:hover { animation: lah-btn-pulse 1.1s ease-in-out infinite; }

@keyframes lah-btn-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(var(--lah-btn-lift, -3px)); }
}

@keyframes lah-btn-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(var(--lah-btn-grow, 1.05)); }
}

/* Button shine (keyframes are generated per widget instance) */
.lah-hero .lah-btn.lah-btn-shine::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: -20%;
	bottom: -20%;
	left: -80%;
	width: var(--lah-bshine-w, 32%);
	background: linear-gradient(90deg,
		rgba(255, 255, 255, 0) 0%,
		var(--lah-bshine-c, #fff) var(--lah-bshine-a, 42%),
		var(--lah-bshine-c, #fff) var(--lah-bshine-b, 58%),
		rgba(255, 255, 255, 0) 100%);
	opacity: var(--lah-bshine-o, 0.45);
	transform: skewX(var(--lah-bshine-skew, -20deg));
	pointer-events: none;
}

/* ------------------------------------------------------------------ */
/*  Baby image                                                        */
/* ------------------------------------------------------------------ */
.lah-hero .lah-media {
	position: var(--_mpos);
	z-index: var(--_mz);
	display: var(--_mdisp);
	right: calc(var(--_mright) * var(--_mon));
	bottom: calc(var(--_mbottom) * var(--_mon));
	width: var(--_mw);
	height: var(--_mh);
	max-width: none;
	aspect-ratio: var(--_ar);
	margin-top: var(--_mmt);
	align-self: var(--_malign);
	flex: 0 0 auto;
	transform: translate(var(--_mx), var(--_my)) scale(var(--_mscale));
	transform-origin: var(--_morigin);
	pointer-events: none;
}

.lah-hero .lah-media__anim,
.lah-hero .lah-media__frame,
.lah-hero .lah-media picture {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
}

.lah-hero .lah-media__frame {
	overflow: var(--lah-frame-overflow, visible);
	border-radius: var(--lah-img-radius, 0);
	filter: var(--lah-img-dshadow, none);
}

.lah-hero .lah-media__frame img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	border: 0;
	border-radius: inherit;
	box-shadow: none;
	object-fit: var(--_mfit);
	object-position: var(--_mfitpos);
}

/* Optional soft edge fade (great for photos that are not cut out) */
.lah-hero .lah-fade .lah-media__frame {
	-webkit-mask-image:
		linear-gradient(to bottom, transparent 0, #000 var(--lah-fade-t, 0%), #000 calc(100% - var(--lah-fade-b, 0%)), transparent 100%),
		linear-gradient(to right, transparent 0, #000 var(--lah-fade-l, 0%), #000 calc(100% - var(--lah-fade-r, 0%)), transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image:
		linear-gradient(to bottom, transparent 0, #000 var(--lah-fade-t, 0%), #000 calc(100% - var(--lah-fade-b, 0%)), transparent 100%),
		linear-gradient(to right, transparent 0, #000 var(--lah-fade-l, 0%), #000 calc(100% - var(--lah-fade-r, 0%)), transparent 100%);
	mask-composite: intersect;
}

/* Image shine layer – masked to the image's own shape when possible */
.lah-hero .lah-shine {
	position: absolute;
	inset: 0;
	z-index: 2;
	overflow: hidden;
	border-radius: inherit;
	pointer-events: none;
	mix-blend-mode: var(--lah-ishine-blend, normal);
	-webkit-mask-image: var(--lah-mask, none);
	mask-image: var(--lah-mask, none);
	-webkit-mask-size: var(--_mmask);
	mask-size: var(--_mmask);
	-webkit-mask-position: var(--_mfitpos);
	mask-position: var(--_mfitpos);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

.lah-hero .lah-shine::after {
	content: "";
	position: absolute;
	top: -15%;
	bottom: -15%;
	left: -80%;
	width: var(--lah-ishine-w, 26%);
	background: linear-gradient(90deg,
		rgba(255, 255, 255, 0) 0%,
		var(--lah-ishine-c, #fff) var(--lah-ishine-a, 44%),
		var(--lah-ishine-c, #fff) var(--lah-ishine-b, 56%),
		rgba(255, 255, 255, 0) 100%);
	opacity: var(--lah-ishine-o, 0.42);
	transform: skewX(var(--lah-ishine-skew, -18deg));
}

/* Entrance animation */
.lah-hero.lah-entrance .lah-media__anim {
	opacity: var(--lah-in-op, 0);
	transform:
		translate3d(
			calc(var(--lah-in-dx, 0) * var(--lah-in-dist, 90px) * var(--lah-in-move, 1)),
			calc(var(--lah-in-dy, 1) * var(--lah-in-dist, 90px) * var(--lah-in-move, 1)),
			0)
		scale(var(--lah-in-scale, 1));
	filter: blur(var(--lah-in-blur, 0px));
	transition:
		opacity var(--lah-in-dur, 1.2s) var(--lah-in-ease, cubic-bezier(0.16, 1, 0.3, 1)) var(--lah-in-delay, 0.15s),
		transform var(--lah-in-dur, 1.2s) var(--lah-in-ease, cubic-bezier(0.16, 1, 0.3, 1)) var(--lah-in-delay, 0.15s),
		filter var(--lah-in-dur, 1.2s) ease var(--lah-in-delay, 0.15s);
	will-change: transform, opacity;
}

.lah-hero.lah-entrance .lah-media__anim.is-in {
	opacity: 1;
	transform: none;
	filter: none;
}

/* If JavaScript never runs, still show the image */
html:not(.lah-js) .lah-hero.lah-entrance .lah-media__anim {
	animation: lah-failsafe 0.6s ease 2.5s forwards;
}

@keyframes lah-failsafe {
	to { opacity: 1; transform: none; filter: none; }
}

/* ------------------------------------------------------------------ */
/*  Landscape                                                         */
/* ------------------------------------------------------------------ */
.lah-hero .lah-landscape {
	position: absolute;
	left: 50%;
	bottom: var(--lah-l-bottom, 0px);
	width: var(--lah-l-w, 100%);
	height: var(--_lh);
	z-index: var(--lah-l-z, 1);
	display: var(--_ldisp);
	transform: translateX(-50%) scaleX(var(--lah-l-flip, 1));
	opacity: var(--lah-l-op, 1);
	pointer-events: none;
}

.lah-hero .lah-landscape svg,
.lah-hero .lah-landscape img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	display: block;
}

.lah-hero .lah-landscape img {
	object-fit: var(--lah-l-fit, fill);
	object-position: center bottom;
}

.lah-hero .lah-ls--wide { display: var(--_lsw); }
.lah-hero .lah-ls--side { display: var(--_lss); }
.lah-hero .lah-l-has-m .lah-l-img--d { display: var(--_lid, block); }
.lah-hero .lah-l-img--m { display: var(--_lim, none); }
.lah-hero .lah-l-back { fill: var(--lah-l-back, #CBDAA8); }
.lah-hero .lah-l-front { fill: var(--lah-l-front, #B0C98C); }
.lah-hero .lah-l-hide-back .lah-l-back { display: none; }

/* ------------------------------------------------------------------ */
/*  Decorations (heart, sun, trees, sparkles, custom icons)           */
/* ------------------------------------------------------------------ */
.lah-hero .lah-deco {
	position: absolute;
	z-index: var(--lah-deco-z, 2);
	left: var(--_x);
	top: var(--_y);
	width: var(--_size);
	font-size: var(--_size);
	line-height: 0;
	display: var(--_disp);
	color: var(--lah-deco-color, #F9C21A);
	opacity: var(--lah-deco-op, 1);
	transform: translate(-50%, -50%) rotate(var(--lah-deco-rot, 0deg)) scaleX(var(--lah-deco-flip, 1));
	pointer-events: none;
}

.lah-hero .lah-deco__pulse,
.lah-hero .lah-deco__motion {
	display: block;
	width: 100%;
	transform-origin: var(--lah-deco-origin, center);
}

.lah-hero .lah-deco svg,
.lah-hero .lah-deco img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	overflow: visible;
}

.lah-hero .lah-deco i {
	display: block;
	font-size: 1em;
	line-height: 1;
	text-align: center;
	color: inherit;
}

.lah-hero .lah-deco .lah-icon-custom svg { fill: currentColor; }

/* Grow / shrink */
.lah-hero .lah-pulse-on > .lah-deco__pulse {
	animation: lah-pulse calc(var(--lah-pdur, 2.6s) / var(--lah-pspeed, 1)) var(--lah-pease, ease-in-out) var(--lah-pdelay, 0s) infinite alternate;
}

@keyframes lah-pulse {
	from { transform: scale(var(--lah-pmin, 0.92)); }
	to   { transform: scale(var(--lah-pmax, 1.08)); }
}

/* Rotation (sun or any decoration) */
.lah-hero .lah-spin-on .lah-deco__motion {
	animation: lah-spin calc(var(--lah-sdur, 18s) / var(--lah-sspeed, 1)) var(--lah-sease, linear) var(--lah-sdelay, 0s) infinite var(--lah-sdir, normal);
}

@keyframes lah-spin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

.lah-hero .lah-float-on .lah-deco__motion {
	animation: lah-float calc(var(--lah-fdur, 3.2s) / var(--lah-fspeed, 1)) ease-in-out var(--lah-fdelay, 0s) infinite;
}

@keyframes lah-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(var(--lah-famp, -8px)); }
}

.lah-hero .lah-swing-on .lah-deco__motion {
	--lah-deco-origin: center bottom;
	animation: lah-swing calc(var(--lah-wdur, 3.4s) / var(--lah-wspeed, 1)) ease-in-out var(--lah-wdelay, 0s) infinite;
}

@keyframes lah-swing {
	0%, 100% { transform: rotate(calc(var(--lah-wamp, 5deg) * -1)); }
	50% { transform: rotate(var(--lah-wamp, 5deg)); }
}

.lah-hero.lah-decos-paused .lah-deco * { animation-play-state: paused !important; }

/* ------------------------------------------------------------------ */
/*  Accessibility – reduced motion                                    */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	.lah-hero.lah-rm *,
	.lah-hero.lah-rm *::before,
	.lah-hero.lah-rm *::after {
		animation: none !important;
		transition: none !important;
	}

	.lah-hero.lah-rm .lah-media__anim {
		opacity: 1 !important;
		transform: none !important;
		filter: none !important;
	}

	.lah-hero.lah-rm .lah-shine,
	.lah-hero.lah-rm .lah-btn::before {
		display: none !important;
	}
}

.lah-hero .lah-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}