/* HK CTA Banner */
.hk-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 457px;
	padding: 80px 24px;
	overflow: hidden;
	border-radius: 64px 64px 0 0;
	background-color: var(--hk-beige);
	isolation: isolate;
}

.hk-cta__swirl {
	position: absolute;
	z-index: -1;
	max-width: none;
	pointer-events: none;
	user-select: none;
}

.hk-cta__swirl--left {
	top: -12%;
	left: -6%;
	width: 36%;
	height: auto;
}

.hk-cta__swirl--right {
	top: -7%;
	right: -5%;
	width: 53%;
	height: auto;
}

.hk-cta__inner {
	position: relative;
	max-width: 760px;
	text-align: center;
}

.hk-cta__title {
	margin: 0;
	color: var(--hk-ink);
	font-family: var(--hk-font-alt);
	font-weight: 500;
	letter-spacing: -.056em;
}

.hk-cta__line {
	display: block;
}

.hk-cta__line--1 {
	font-size: clamp(30px, 4.45vw, 64px);
	line-height: 1.16;
}

.hk-cta__line--2 {
	margin-top: 8px;
	font-size: clamp(26px, 3.5vw, 50px);
	line-height: 1.3;
}

.hk-cta__title .hk-serif {
	letter-spacing: -.04em;
}

.hk-cta .hk-inline-icon {
	--hk-anim-w: clamp(48px, 5.8vw, 84px);

	margin: -.25em .1em 0;
}

.hk-cta__desc {
	max-width: 565px;
	margin: 22px auto 0;
	color: var(--hk-ink);
	font-family: var(--hk-font-alt);
	font-size: 18px;
	font-weight: 500;
	line-height: 22px;
}

.hk-cta__action {
	display: flex;
	justify-content: center;
	margin-top: 43px;
}

/* Hiệu ứng hiện dần: chỉ ẩn khi JS đã sẵn sàng (is-ready), không ẩn trong editor. */
.hk-cta--reveal.is-ready:not(.is-revealed) .hk-cta__line,
.hk-cta--reveal.is-ready:not(.is-revealed) .hk-cta__desc,
.hk-cta--reveal.is-ready:not(.is-revealed) .hk-cta__action {
	opacity: 0;
	transform: translateY(28px);
}

.hk-cta--reveal .hk-cta__line,
.hk-cta--reveal .hk-cta__desc,
.hk-cta--reveal .hk-cta__action {
	transition: opacity .8s var(--hk-ease), transform .8s var(--hk-ease);
}

.hk-cta--reveal .hk-cta__line--2 { transition-delay: .12s; }
.hk-cta--reveal .hk-cta__desc { transition-delay: .24s; }
.hk-cta--reveal .hk-cta__action { transition-delay: .36s; }

@media (max-width: 1024px) {
	.hk-cta {
		min-height: 380px;
		border-radius: 48px 48px 0 0;
	}
}

@media (max-width: 767px) {
	.hk-cta {
		min-height: 0;
		padding: 64px 18px;
		border-radius: 32px 32px 0 0;
	}

	.hk-cta__swirl--left {
		width: 70%;
		left: -25%;
	}

	.hk-cta__swirl--right {
		width: 90%;
		right: -35%;
	}

	.hk-cta__desc {
		font-size: 16px;
	}

	.hk-cta__action {
		margin-top: 30px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hk-cta--reveal .hk-cta__line,
	.hk-cta--reveal .hk-cta__desc,
	.hk-cta--reveal .hk-cta__action {
		opacity: 1 !important;
		transform: none !important;
		transition: none;
	}
}

/* Mobile: giữ cụm chữ + hình động trên cùng một dòng khi đủ chỗ */
@media (max-width: 480px) {
	.hk-cta__line .hk-inline-icon {
		--hk-anim-w: 1.1em;

		margin-inline: .05em;
	}
}
