/* Landing trang trống. Token lấy từ theme.json, không gắn hex riêng. */

.tri-sales {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--navy);
}

.tri-sales__method-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.tri-sales .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tri-sales__ribbons {
	position: fixed;
	top: calc(var(--tri-adminbar) + var(--tri-header-h));
	right: 0;
	z-index: 40;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

.tri-sales__ribbon {
	display: flex;
	justify-content: flex-end;
}

.tri-sales__ribbon-tab {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-shrink: 0;
	height: 64px;
	padding: 0 14px 6px 16px;
	border: 0;
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--white);
	cursor: pointer;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 88%, 0 100%);
}

.tri-sales__ribbon-tab img {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	filter: brightness(0) invert(1);
}

.tri-sales__ribbon-label {
	max-width: 0;
	opacity: 0;
	overflow: hidden;
	white-space: nowrap;
	font-weight: 700;
	transition: max-width 0.35s ease, opacity 0.25s ease;
}

.tri-sales__ribbon:hover .tri-sales__ribbon-label,
.tri-sales__ribbon:focus-within .tri-sales__ribbon-label,
.tri-sales__ribbon.is-open .tri-sales__ribbon-label {
	max-width: 9em;
	opacity: 1;
}

.tri-sales__zalo {
	position: fixed;
	right: 16px;
	bottom: calc(var(--tri-bottombar-h) + 16px + 48px + 12px);
	z-index: 56;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--wp--preset--color--action);
	color: var(--wp--preset--color--white);
	box-shadow: 0 8px 20px color-mix(in srgb, var(--wp--preset--color--navy) 28%, transparent);
	text-decoration: none;
	animation: tri-zalo-shake 2.4s ease-in-out infinite;
}

.tri-sales__zalo img {
	width: 28px;
	height: 28px;
}

.tri-sales__zalo::before,
.tri-sales__zalo::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid var(--wp--preset--color--action);
	animation: tri-zalo-wave 2.4s ease-out infinite;
	pointer-events: none;
}

.tri-sales__zalo::after {
	animation-delay: 1.2s;
}

.tri-sales__zalo:hover,
.tri-sales__zalo:focus-visible {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
}

@keyframes tri-zalo-shake {
	0%, 70%, 100% { transform: rotate(0deg); }
	75% { transform: rotate(-8deg); }
	80% { transform: rotate(8deg); }
	85% { transform: rotate(-5deg); }
	90% { transform: rotate(0deg); }
}

@keyframes tri-zalo-wave {
	0% { transform: scale(1); opacity: 0.55; }
	100% { transform: scale(1.6); opacity: 0; }
}

@media (min-width: 768px) {
	.tri-sales__zalo {
		right: 24px;
		bottom: calc(var(--tri-bottombar-h) + 24px + 48px + 12px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tri-sales__zalo,
	.tri-sales__zalo::before,
	.tri-sales__zalo::after,
	.tri-sales__ribbon-label {
		animation: none;
		transition: none;
	}
}

.tri-sales__hero {
	background:
		linear-gradient(160deg, var(--wp--preset--color--navy) 0%, var(--wp--preset--color--royal) 68%, var(--wp--preset--color--sky) 100%);
	color: var(--wp--preset--color--white);
}

.tri-sales__hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
	gap: 32px;
	align-items: start;
	padding-top: 40px;
	padding-bottom: 48px;
}

.tri-sales__kicker {
	margin: 0 0 12px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ice);
}

.tri-sales__h {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 1.05;
	color: var(--wp--preset--color--white);
}

.tri-sales__band {
	display: inline-block;
	margin: 16px 0 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--white);
	font-weight: 700;
}

.tri-sales__lead {
	margin: 18px 0 0;
	max-width: 36rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--wp--preset--color--ice);
}

.tri-sales__form .tri-consult {
	margin: 0;
	padding: 0;
	background: transparent;
}

.tri-sales__form .tri-consult__card {
	display: block;
	width: 100%;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
	border-radius: 20px;
	box-shadow: 0 18px 40px color-mix(in srgb, var(--wp--preset--color--navy) 28%, transparent);
}

/* Form gốc là thẻ navy, chữ màu surface. Đặt lên thẻ trắng mà không đổi
   màu chữ thì label thành #F6F6F6 trên trắng — không đọc được. */
.tri-sales__form .tri-consult label,
.tri-sales__form .tri-consult legend {
	color: var(--wp--preset--color--navy);
}

.tri-sales__form .tri-consult input[type="text"],
.tri-sales__form .tri-consult input[type="tel"],
.tri-sales__form .tri-consult input[type="email"],
.tri-sales__form .tri-consult textarea {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--ice);
	color: var(--wp--preset--color--navy);
}

.tri-sales__form .tri-consult__mascot {
	display: none;
}

.tri-sales__form .tri-consult__aside {
	padding-bottom: 0;
}

.tri-sales__form .tri-consult__aside h2 {
	color: var(--wp--preset--color--navy);
}

.tri-sales__points {
	padding: 48px 0;
}

.tri-sales__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tri-sales__card {
	padding: 24px;
	background: var(--wp--preset--color--white);
	border-radius: 16px;
	border-top: 4px solid var(--wp--preset--color--orange);
}

.tri-sales__card img {
	display: block;
	width: 28px;
	height: 28px;
}

.tri-sales__card-n {
	margin: 12px 0 0;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--wp--preset--color--royal);
}

.tri-sales__card h2 {
	margin: 8px 0 8px;
	font-size: 1.15rem;
}

.tri-sales__card p:last-child {
	margin: 0;
	line-height: 1.5;
}

.tri-sales__method {
	background: var(--wp--preset--color--ice);
	padding: 8px 0 28px;
}

.tri-sales__method h2 {
	margin: 0 0 8px;
	font-size: 1.6rem;
}

.tri-sales__method p {
	margin: 0;
	max-width: 40rem;
	line-height: 1.55;
}

@media (max-width: 900px) {
	.tri-sales__method-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.tri-sales__hero-grid,
	.tri-sales__grid {
		grid-template-columns: 1fr;
	}

}
