/**
 * CDT Bcons — Hero trang chủ (mockup)
 */

.hero--home {
	background: #ffffff;
	padding-bottom: 48px;
}

.hero--home .hero__main {
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
	padding-top: 40px;
	padding-bottom: 28px;
	gap: 36px 40px;
}

.hero--home .hero__visual::before {
	display: none;
}

/* Eyebrow: TẬP ĐOÀN BCONS — */
.hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 18px;
}

.hero__eyebrow-text {
	font-size: clamp(16px, 2.2vw, 24px);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bc-primary);
	line-height: 1.3;
}

.hero__eyebrow-line {
	flex: 1;
	max-width: 120px;
	height: 2px;
	background: linear-gradient(90deg, var(--bc-primary), rgba(245, 166, 35, .15));
	border-radius: 2px;
}

.hero--home .hero__title {
	margin-bottom: 18px;
	font-size: clamp(32px, 4.2vw, 52px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.6px;
	text-wrap: balance;
}

.hero--home .hero__title-accent {
	display: inline;
	margin: 0;
	font-size: inherit;
	font-weight: 800;
	font-style: normal;
	color: var(--bc-primary);
	white-space: nowrap;
}

.hero--home .hero__lead {
	margin-bottom: 28px;
	font-size: 15px;
	line-height: 1.7;
	max-width: 540px;
	text-align: justify;
	text-wrap: pretty;
}

.hero--home .hero__actions .btn--lg {
	border-radius: 10px;
	padding: 14px 22px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
}

.hero--home .btn--primary .btn__icon {
	color: #fff;
}

.btn--hero-secondary {
	background: #fff;
	color: var(--bc-text);
	border: 1.5px solid #d1d5db;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.btn--hero-secondary:hover {
	background: #fff;
	color: var(--bc-text);
	border-color: #9ca3af;
	box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
}

.hero--home .hero__visual {
	width: 100%;
	min-width: 0;
}

/* Slider ảnh hero */
.hero-slider {
	position: relative;
	width: 100%;
}

.hero-slider__frame {
	position: relative;
	border-radius: 24px;
	aspect-ratio: 16 / 10;
	box-shadow: 0 20px 50px -18px rgba(15, 23, 42, .28);
	overflow: hidden;
}

.hero-slider__track {
	position: relative;
	width: 100%;
	height: 100%;
}

.hero-slider__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .55s ease, visibility .55s ease;
	z-index: 0;
}

.hero-slider__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.hero-slider__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero-slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--bc-text);
	box-shadow: 0 6px 20px rgba(15, 23, 42, .18);
	cursor: pointer;
	transition: color .2s var(--bc-ease), background .2s var(--bc-ease), box-shadow .2s var(--bc-ease);
}

.hero-slider__nav:hover {
	color: var(--bc-primary);
	background: #fff;
	box-shadow: 0 8px 24px rgba(245, 166, 35, .28);
}

.hero-slider__prev {
	left: -10px;
}

.hero-slider__next {
	right: -10px;
}

@media (max-width: 1024px) {
	.hero-slider__prev {
		left: 6px;
	}

	.hero-slider__next {
		right: 6px;
	}

	.hero-slider__nav {
		width: 40px;
		height: 40px;
	}
}

/* Hàng thống kê dưới hero */
.hero-stats-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	margin-top: 8px;
}

.hero-stat-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 14px;
	padding: 26px 18px;
	background: #fff;
	border: 1px solid var(--bc-border-light);
	border-radius: 16px;
	box-shadow: 0 10px 28px -14px rgba(15, 23, 42, .12);
	min-height: 0;
}

.hero-stat-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	color: var(--bc-primary);
	background: var(--bc-primary-50);
	border-radius: 14px;
}

.hero-stat-card__icon svg {
	width: 28px;
	height: 28px;
}

.hero-stat-card__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 0;
	width: 100%;
}

.hero-stat-card__value {
	font-size: clamp(22px, 2.1vw, 30px);
	font-weight: 800;
	line-height: 1.15;
	color: var(--bc-primary);
	letter-spacing: -.3px;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.hero-stat-card__value--text {
	font-size: clamp(15px, 1.25vw, 18px);
	line-height: 1.3;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.hero-stat-card__label {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--bc-text-soft);
	overflow-wrap: break-word;
	word-wrap: break-word;
	max-width: 16em;
	margin-inline: auto;
	text-wrap: pretty;
}

@media (max-width: 1180px) {
	.hero-stats-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.hero--home .hero__main {
		grid-template-columns: 1fr;
		padding-top: 24px;
		padding-bottom: 20px;
		gap: 20px;
	}

	.hero--home .hero__visual {
		order: -1;
		width: 100%;
	}

	.hero--home .hero-slider__frame {
		aspect-ratio: 16 / 10;
		border-radius: 18px;
	}

	.hero-stats-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.hero--home {
		padding-bottom: 28px;
	}

	.hero--home .hero__main {
		padding-top: 20px;
		padding-bottom: 18px;
		gap: 18px;
	}

	.hero--home .hero__title {
		margin-bottom: 12px;
		font-size: clamp(22px, 6.4vw, 30px);
		line-height: 1.2;
		text-wrap: balance;
	}

	.hero__eyebrow {
		margin-bottom: 12px;
		gap: 10px;
	}

	.hero__eyebrow-text {
		font-size: 14px;
	}

	.hero--home .hero__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.hero--home .hero__actions .btn--lg {
		width: 100%;
		justify-content: center;
		min-height: 48px;
	}

	.hero-stats-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-top: 2px;
	}

	.hero-stat-card {
		flex-direction: row;
		align-items: center;
		text-align: left;
		gap: 10px;
		min-height: 0;
		padding: 12px 10px;
		border-radius: 12px;
	}

	.hero-stat-card:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.hero-stat-card__icon {
		width: 36px;
		height: 36px;
		border-radius: 10px;
	}

	.hero-stat-card__icon svg {
		width: 18px;
		height: 18px;
	}

	.hero-stat-card__body {
		align-items: flex-start;
		gap: 2px;
	}

	.hero-stat-card__value {
		font-size: 18px;
	}

	.hero-stat-card__value--text {
		font-size: 12px;
	}

	.hero-stat-card__label {
		font-size: 11px;
		line-height: 1.35;
	}
}
