/* Pearl Island — CTA Banner with animated moving waves */
.pi-widget .pi-cta {
	position: relative;
	background: #D5EBF2;
	padding: 0;
	overflow: hidden;
}

.pi-widget .pi-cta-inner {
	position: relative;
	z-index: 1;
	text-align: center;
	padding-top: 130px;
	padding-bottom: 96px;
}

.pi-widget .pi-cta h2 {
	font-size: clamp(2rem, 4.4vw, 3rem);
}

.pi-widget .pi-cta-sub {
	margin: 14px auto 0;
	max-width: 56ch;
	color: var(--pi-text, var(--hx-body, #56606E));
	font-weight: 600;
}

.pi-widget .pi-cta-btns {
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 30px;
}

.pi-widget .pi-cta-btn-white {
	background: #fff;
	color: var(--hx-teal-dark, #062C2F);
	box-shadow: 0 8px 24px rgba(6, 44, 47, .1);
}

.pi-widget .pi-cta-btn-white:hover {
	background: var(--hx-teal-dark, #062C2F);
	color: #fff;
	transform: translateY(-3px);
}

/* Moving waves (top/bottom) */
.pi-widget .pi-cta .wave-wrap {
	position: absolute;
	left: 0;
	width: 100%;
	height: 80px;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.pi-widget .pi-cta .wave-wrap--top { top: -1px; }
.pi-widget .pi-cta .wave-wrap--bottom { bottom: -1px; transform: scaleY(-1); }

.pi-widget .pi-cta .wave-track {
	display: flex;
	width: 200%;
	height: 100%;
	animation: pi-cta-wave 14s linear infinite;
	will-change: transform;
}

.pi-widget .pi-cta .wave-track svg {
	width: 50%;
	height: 100%;
	flex: 0 0 50%;
	display: block;
	transform: scaleY(-1);
}

.pi-widget .pi-cta .wave path { fill: #fff; }

@keyframes pi-cta-wave {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.pi-widget .pi-cta .wave-track { animation: none; }
}

@media (max-width: 700px) {
	.pi-widget .pi-cta-inner { padding-top: 104px; padding-bottom: 72px; }
	.pi-widget .pi-cta .wave-wrap { height: 54px; }
	.pi-widget .pi-cta-btns .btn { width: 100%; max-width: 340px; }
}
