/**
 * Homepage intro banner — styles from test3.ant elementor-element-7b33a8b.
 */

:root {
	--hq-intro-wave: #efe9dc;
	--hq-intro-bg: #ebe2cf;
	--hq-kit-widget-spacing: 0px;
}

/* Hero wave — matches Elementor .elementor-shape-bottom[data-negative="false"] */
.home-hero__wave {
	position: absolute;
	bottom: -1px;
	left: 0;
	z-index: 3;
	width: 100%;
	line-height: 0;
	pointer-events: none;
	overflow: hidden;
	transform: rotate(180deg);
}

.home-hero__wave svg {
	display: block;
	position: relative;
	left: 50%;
	width: calc(100% + 1.3px);
	height: 50px;
	transform: translateX(-50%);
}

.home-hero__wave-fill {
	fill: var(--hq-intro-wave);
}

.home-hero__wave-fill--1 {
	opacity: 0.33;
}

.home-hero__wave-fill--2 {
	opacity: 0.66;
}

.home-hero__wave-fill--3 {
	opacity: 1;
}

/* Parent container: .elementor-element-7b33a8b.e-con-full.e-flex.e-con.e-parent */
.home-intro {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	width: 100%;
	max-width: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	background-color: var(--hq-intro-bg);
}

/* Child container: .elementor-element-d2e51cc.e-con-full.e-flex.e-con.e-child */
.home-intro__container {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	max-width: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
}

/* Image widget: .elementor-element-babd35a */
.home-intro__widget {
	align-self: center;
	margin: -37px 0 calc(var(--hq-kit-widget-spacing) + -29px);
	text-align: center;
}

.home-intro__figure {
	margin: 0;
	padding: 0;
	line-height: 0;
}

.home-intro__signature {
	display: inline-block;
	width: 515px;
	max-width: 66%;
	height: 167px;
	object-fit: cover;
	object-position: center center;
	opacity: 0;
	transform: scale(0.55);
	vertical-align: middle;
}

/* Bounce on appearance (matches page-loader logo) */
@keyframes hq-signature-bounce {
	0% {
		opacity: 0;
		transform: scale(0.55);
	}

	55% {
		opacity: 1;
		transform: scale(1.1);
	}

	75% {
		transform: scale(0.94);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

.home-intro__widget.is-signature-in .home-intro__signature {
	animation: hq-signature-bounce 0.9s cubic-bezier(0.34, 1.45, 0.64, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
	.home-intro__signature {
		opacity: 1;
		transform: none;
	}

	.home-intro__widget.is-signature-in .home-intro__signature {
		animation: none;
	}
}

@media (max-width: 767px) {
	.home-hero__wave svg {
		width: calc(127% + 1.3px);
		height: 34px;
	}

	.home-intro {
		width: 100%;
		max-width: 100%;
		margin-inline: 0;
	}

	.home-intro__widget {
		margin: 0 0 var(--hq-kit-widget-spacing);
	}

	.home-intro__signature {
		width: 117px;
		max-width: 547px;
		height: 38px;
		object-fit: cover;
	}
}
