﻿/**
 * Thuáº­n Háº£i-style homepage hero contract.
 * Custom two-block full-banner slider with shared foreground shell.
 */

.banner.banner-home,
.section-01-hero.banner-home {
	--hero-green: #2ec205;
	--hero-green-deep: #168f08;
	--hero-green-panel: #24b404;
	--hero-green-panel-deep: #168f08;
	--hero-lime: #d7ff70;
	--hero-overlay: rgba(5, 31, 12, 0.5);
	--hero-left-block: 500px;
	position: relative;
	height: calc(100svh - 80px);
	min-height: 601px;
	max-height: 760px;
	margin: 0;
	padding: 0;
	color: var(--color-white, #fff);
	background: var(--hero-green-deep);
	overflow: hidden;
	isolation: isolate;
	opacity: 0;
}

.banner.banner-home.is-show {
	animation: thuanhaiHeroFadeIn 1s ease forwards;
}

.banner-home .hero-split-shell {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: var(--hero-left-block) minmax(0, 1fr);
	width: 100%;
	height: 100%;
	min-height: 100%;
	background: linear-gradient(180deg, var(--hero-green-panel) 0%, var(--hero-green-panel-deep) 100%);
}

.banner-home .full-banner {
	position: relative;
	grid-column: 2;
	z-index: 1;
	width: 100%;
	height: 100%;
	min-width: 0;
	overflow: hidden;
	visibility: visible;
}

.banner-home .slidebox-list,
.banner-home .slidebox-item {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.banner-home .bg-home,
.banner-home .bg-home__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.banner-home .slidebox-item {
	z-index: 0;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1200ms ease, visibility 1200ms ease;
}

.banner-home .slidebox-item.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.banner-home .bg-home {
	margin: 0;
	overflow: hidden;
	background: var(--hero-green-deep);
}

.banner-home .bg-home::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(90deg, rgba(4, 31, 10, 0.14) 0%, rgba(8, 43, 14, 0.08) 26%, rgba(22, 143, 8, 0.02) 62%, rgba(22, 143, 8, 0) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.1));
	pointer-events: none;
}

.banner-home .bg-home__image {
	z-index: 1;
	display: block;
	object-fit: cover;
	transform: none;
	transition: none;
}

.banner-home .slidebox-item.is-active .bg-home__image {
	transform: none;
}

.banner-home .left-banner {
	position: relative;
	grid-column: 1;
	z-index: 5;
	display: flex;
	align-items: stretch;
	height: 100%;
	min-height: 100%;
	width: 100%;
	padding: 60px 60px 0 60px;
	background:
		linear-gradient(180deg, rgba(46, 194, 5, 0.24), rgba(22, 143, 8, 0.34)),
		linear-gradient(180deg, var(--hero-green-panel) 0%, var(--hero-green-panel-deep) 100%);
	pointer-events: none;
}

.banner-home .left-banner-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	width: 340px;
	height: 100%;
	min-height: 100%;
	padding-bottom: 42px;
}

.banner-home .left-banner__brand {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-bottom: 18px;
}

.banner-home .left-banner__brand-icon {
	display: inline-flex;
	width: 68px;
	height: 68px;
	color: var(--hero-lime);
}

.banner-home .left-banner__brand-icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.banner-home .left-banner__divider {
	display: block;
	width: 100%;
	height: 1px;
	margin-bottom: 22px;
	background: rgba(255, 255, 255, 0.22);
}

.banner-home .left-banner__headline-wrap {
	flex: 1 1 auto;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding-top: 18px;
}

.banner-home .left-banner h2,
.banner-home .left-banner__intro,
.banner-home .left-banner .input-but {
	opacity: 0;
	transform: translate3d(0, 100px, 0);
}

.banner-home .left-banner h2 {
	margin: 0;
	color: var(--hero-lime);
	font-family: var(--font-primary);
	font-size: var(--text-display);
	font-weight: var(--weight-bold);
	line-height: 1.06;
	letter-spacing: -0.02em;
	white-space: normal;
	text-wrap: balance;
	width: 100%;
	text-align: left;
}

.banner-home .left-banner__intro {
	max-width: 500px;
	margin: clamp(18px, 2vw, 26px) 0 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(15px, 0.98vw, 18px);
	font-weight: var(--weight-semibold);
	line-height: 1.58;
}

.banner-home .left-banner .input-but {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 200px;
	min-height: 50px;
	margin-top: 0;
	align-self: center;
	padding: 10px 14px 10px 24px;
	border-radius: 999px;
	border: 1px solid rgba(215, 255, 112, 0.72);
	color: var(--hero-lime);
	background: transparent;
	font-family: var(--font-primary);
	font-size: var(--text-button, 16px);
	font-weight: var(--weight-bold);
	line-height: 1;
	text-decoration: none;
	box-shadow: none;
	pointer-events: auto;
	transition: transform var(--motion-fast, 160ms) var(--ease-standard, ease), border-color var(--motion-fast, 160ms) var(--ease-standard, ease), background var(--motion-fast, 160ms) var(--ease-standard, ease), color var(--motion-fast, 160ms) var(--ease-standard, ease);
}

.banner-home .left-banner__cta-group {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: auto;
}

.banner-home .left-banner__divider--cta {
	margin-top: 18px;
	margin-bottom: 26px;
}

.banner-home .left-banner .input-but:hover,
.banner-home .left-banner .input-but:focus-visible {
	transform: translateY(-2px);
	border-color: var(--hero-lime);
	background: rgba(215, 255, 112, 0.08);
}

.banner-home .left-banner.ani-show h2,
.banner-home .left-banner.ani-show .left-banner__intro,
.banner-home .left-banner.ani-show .input-but {
	animation: thuanhaiHeroFadeInUp 1s ease forwards;
}

.banner-home .left-banner.ani-show h2 { animation-delay: 0.6s; }
.banner-home .left-banner.ani-show .left-banner__intro { animation-delay: 0.6s; }
.banner-home .left-banner.ani-show .input-but {
	animation-delay: 0.9s;
}

.banner-home .slidebox-arrows {
	position: absolute;
	right: clamp(22px, 2.1vw, 34px);
	bottom: clamp(22px, 2vw, 32px);
	z-index: 7;
	display: flex;
	align-items: center;
	gap: 10px;
	pointer-events: auto;
}

.banner-home .slidebox-arrow {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 0 0 2px;
	border: 1.5px solid rgba(255, 255, 255, 0.68);
	border-radius: 50%;
	color: var(--color-white, #fff);
	background: transparent;
	backdrop-filter: none;
	font-family: var(--font-primary);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	transition: border-color var(--motion-fast, 160ms) ease, transform var(--motion-fast, 160ms) ease, color var(--motion-fast, 160ms) ease, box-shadow var(--motion-fast, 160ms) ease;
	opacity: 1;
	transform: none;
}

.banner-home .slidebox-arrow::before {
	content: '';
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	background: var(--hero-lime);
	opacity: 0;
	transform: scale(0.74);
	transition: opacity var(--motion-fast, 160ms) ease, transform var(--motion-fast, 160ms) ease;
	z-index: -1;
}

.banner-home .slidebox-arrow:hover,
.banner-home .slidebox-arrow:focus-visible {
	border-color: rgba(255, 255, 255, 0.92);
	background: transparent;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.banner-home .slidebox-arrow:hover::before,
.banner-home .slidebox-arrow:focus-visible::before {
	opacity: 1;
	transform: scale(1);
}

.banner-home .slidebox-arrow--prev {
	padding-right: 1px;
}

.banner-home .slidebox-arrow--next {
	padding-left: 1px;
}

.banner-home .slidebox-arrow,
.banner-home .slidebox-arrow:visited,
.banner-home .slidebox-arrow:hover,
.banner-home .slidebox-arrow:focus-visible,
.banner-home .slidebox-arrow:active {
	color: #fff;
	-webkit-text-fill-color: #fff;
}
.banner-home.single-banner .slidebox-arrows {
	display: none;
}

.fullscreen .banner-home .full-banner {
	width: 100vw;
}

.fullscreen .banner-home .hero-split-shell {
	grid-template-columns: 0 minmax(0, 1fr);
}

.fullscreen .banner-home .left-banner {
	width: 0;
	padding-inline: 0;
	overflow: hidden;
}

.fullscreen .banner-home .slidebox-arrows {
	position: absolute;
	right: clamp(22px, 2.1vw, 34px);
	bottom: clamp(22px, 2vw, 32px);
	z-index: 7;
	display: flex;
	align-items: center;
	gap: 10px;
	pointer-events: auto;
}

.fullscreen .banner-home .bg-home__image {
	height: 100vh;
}

@keyframes thuanhaiHeroFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes thuanhaiHeroFadeInUp {
	from { opacity: 0; transform: translate3d(0, 30px, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 1100px) {
	.banner.banner-home,
	.section-01-hero.banner-home {
		height: var(--hero-mobile-height, auto);
		min-height: 620px;
		max-height: none;
	}

	.banner-home .hero-split-shell {
		display: block;
		min-height: inherit;
	}

	.banner-home .full-banner {
		position: absolute;
		inset: 0;
	}

	.banner-home .left-banner {
		align-items: flex-end;
		width: min(720px, 100%);
		padding: clamp(92px, 11vh, 128px) var(--gutter-tablet, 32px) clamp(82px, 10vh, 110px);
		background: transparent;
	}

	.banner-home .left-banner-content {
		width: min(460px, 100%);
		height: auto;
		min-height: 0;
		padding-bottom: 0;
	}

	.banner-home .left-banner__brand-icon {
		width: 60px;
		height: 60px;
	}

	.banner-home .left-banner__headline-wrap {
		flex: 0 0 auto;
		justify-content: flex-start;
		padding-top: 0;
		align-items: flex-start;
	}

}

@media (max-width: 1280px) and (min-width: 1101px) {
	.banner-home .hero-split-shell {
		grid-template-columns: 470px minmax(0, 1fr);
	}

	.banner-home .left-banner {
		padding-right: 44px;
	}
}

@media (max-width: 767px) {
	.banner.banner-home,
	.section-01-hero.banner-home {
		min-height: max(580px, 88svh);
	}

	.banner-home .bg-home::after {
		background:
			linear-gradient(180deg, rgba(9, 42, 16, 0.82) 0%, rgba(18, 78, 17, 0.62) 50%, rgba(0, 0, 0, 0.5) 100%);
	}

	.banner-home .left-banner {
		align-items: flex-end;
		padding: 112px var(--gutter-mobile, 20px) 86px;
	}

	.banner-home .left-banner-content {
		width: 100%;
	}

	.banner-home .left-banner h2 {
	margin: 0;
	color: var(--hero-lime);
	font-family: var(--font-primary);
	font-size: var(--text-display);
	font-weight: var(--weight-bold);
	line-height: 1.06;
	letter-spacing: -0.02em;
	white-space: normal;
	text-wrap: balance;
	width: 100%;
	text-align: left;
}

	.banner-home .left-banner__brand-icon {
		width: 54px;
		height: 54px;
	}

	.banner-home .left-banner__brand {
		margin-bottom: 20px;
	}

	.banner-home .left-banner__divider {
		margin-bottom: 20px;
	}

	.banner-home .left-banner__headline-wrap {
		justify-content: flex-start;
	}

	.banner-home .left-banner__intro {
	max-width: 500px;
	margin: clamp(18px, 2vw, 26px) 0 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(15px, 0.98vw, 18px);
	font-weight: var(--weight-semibold);
	line-height: 1.58;
}

	.banner-home .left-banner .input-but {
		width: 100%;
		align-self: stretch;
	}

	.banner-home .left-banner__cta-group {
		align-items: stretch;
		margin-top: 0;
	}

	.banner-home .left-banner__divider--cta {
		margin-top: 26px;
		margin-bottom: 20px;
	}

	.banner-home .slidebox-arrows {
		position: absolute;
		right: clamp(22px, 2.1vw, 34px);
		bottom: clamp(22px, 2vw, 32px);
		z-index: 7;
		display: flex;
		align-items: center;
		gap: 10px;
		pointer-events: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.banner.banner-home,
	.banner-home .slidebox-item,
	.banner-home .bg-home__image,
	.banner-home .left-banner.ani-show h2,
	.banner-home .left-banner.ani-show .left-banner__intro,
	.banner-home .left-banner.ani-show .input-but {
		animation: none !important;
		transition: none !important;
	}

	.banner.banner-home,
	.banner-home .left-banner h2,
	.banner-home .left-banner__intro,
	.banner-home .left-banner .input-but {
		opacity: 1 !important;
		transform: none !important;
	}
}


.banner-home .slidebox-arrow--prev {
	padding-right: 1px;
}

.banner-home .slidebox-arrow--next {
	padding-left: 1px;
}









