/**
 * Section: Homepage Slider
 */

.homepage-slider {
	padding: 0;
}

.homepage-slider__inner {
	position: relative;
}

/* Khung ảnh bo góc */
.homepage-slider__frame {
	position: relative;
	border-radius: 40px;
	overflow: hidden;
	background: #1a1a1a;
	aspect-ratio: 1320 / 875;
	max-height: 875px;
}

.homepage-slider__carousel,
.homepage-slider__carousel .slick-list,
.homepage-slider__carousel .slick-track {
	height: 100%;
}

.homepage-slider__carousel:not(.slick-initialized) .homepage-slider__slide:not(:first-child) {
	display: none;
}

.homepage-slider__carousel.slick-initialized .slick-slide {
	height: 100%;
}

.homepage-slider__carousel.slick-initialized .slick-slide > div {
	height: 100%;
}

.homepage-slider__slide {
	position: relative;
	outline: none;
}

.homepage-slider__media {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 320px;
}

.homepage-slider__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.homepage-slider__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(28, 28, 27, 0.40) -6.81%, rgba(28, 28, 27, 0.00) 100%);
	pointer-events: none;
}

/* Nội dung góc dưới trái */
.homepage-slider__content {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 576px;
    max-width: 90%;
    padding: 0 0 80px 60px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    height: auto !important;
    flex-direction: column;
}

.homepage-slider__title {
	color: #FFF;
	text-shadow: 0 4px 30px rgba(0, 0, 0, 0.10);
	font-size: 68px;
	font-style: normal;
	font-weight: 400;
	line-height: 87px; /* 127.941% */
	letter-spacing: -2px;
	margin-bottom: 24px;
	margin-top: 0;
}

.homepage-slider__desc {
	margin: 0;
	color: rgba(255, 255, 255, 0.90);
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px; /* 120% */
}

/* Bullets dưới khung slider */
.homepage-slider__dots-wrap {
	margin-top: 8px;
}

.homepage-slider__dots ul {
	display: flex !important;
	justify-content: center;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.homepage-slider__dots li {
	margin: 0;
	padding: 0;
	line-height: 0;
	list-style: none;
}

.homepage-slider__dots .homepage-slider__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	margin: 0 6px;
	border: none;
	border-radius: 50%;
	background: #AEACA7;
	cursor: pointer;
	font-size: 0;
	line-height: 0;
	transition: background-color 0.25s ease, transform 0.25s ease;
	margin: 0;
}

.homepage-slider__dots .homepage-slider__dot:hover {
	background: #a8a8a8;
}

.homepage-slider__dots .slick-active .homepage-slider__dot {
	background: var(--vl-red);
}

.homepage-slider__dots .homepage-slider__dot:focus-visible {
	outline: 2px solid var(--vl-red);
	outline-offset: 3px;
}

/* Slick — ẩn mũi tên mặc định */
.homepage-slider .slick-arrow {
	display: none !important;
}

@media (max-width: 992px) {
	.homepage-slider__frame {
		
	}

	.homepage-slider__content {
		padding: 0 28px 40px;
		max-width: 92%;
	}
}

@media (max-width: 640px) {
	.homepage-slider {
		padding-top: 4px;
	}

	.homepage-slider__frame {
		
	}

	.homepage-slider__media {
		aspect-ratio: 4 / 3;
		min-height: 260px;
		max-height: none;
	}

	.homepage-slider__content {
		padding: 0 20px 28px;
	}

	.homepage-slider__title {
		margin-bottom: 10px;
	}

	.homepage-slider__dots-wrap {
		margin-top: 14px;
	}
}

/**
 * Section: Giới thiệu
 */
.home-intro {
	padding: 128px 0;
}

.home-intro__media {
	border-radius: 40px;
	overflow: hidden;
}

.home-intro__image {
    width: 100%;
    aspect-ratio: 636 / 450;
    object-fit: cover;
    object-position: center;
}

.home-intro__content {
	max-width: 560px;
}

.home-intro__title {
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
}

.home-intro__text {
	margin-bottom: 32px;
}

.home-intro__text p {
    margin: 0 0 16px;
    color: var(--colors-text-500, #292B2F);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.home-intro__text p:last-child {
	margin-bottom: 0;
}

.home-intro__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 26px;
    border: 1px solid #8F9AA3;
    border-radius: 999px;
    background: transparent;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    color: var(--colors-text-500, #292B2F);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.home-intro__btn:hover {
	border-color: var(--vl-red);
	color: var(--vl-red);
}

/**
 * Section: Dự án tiêu biểu
 */
.home-projects {
	padding: 128px 0;
	background: #fff;
}

.home-projects__header {
	
}

.home-projects__title {
    margin: 0;
    letter-spacing: -0.02em;
    color: var(--colors-text-500, #292B2F);
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
}

.home-projects__desc {
    margin: 0;
    max-width: 653px;
    margin-left: auto;
    color: var(--colors-text-500, #292B2F);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.projects__toolbar__wrapper {
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid rgba(230, 189, 186, 0.10);
    border-bottom: 1px solid rgba(230, 189, 186, 0.10);
}

.home-projects__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.home-projects__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 32px;
}

.home-projects__filter {
    color: var(--colors-text-400, #626467);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    padding: 0;
    border: 0;
    background: none;
    padding-bottom: 4px;
}

.home-projects__filter.is-active {
    color: #D71920;
    border-bottom: 1px solid rgba(187, 0, 33, 0.40);
}

.home-projects__filter.is-active::after {
	opacity: 1;
}

.home-projects__filter:hover {
	color: var(--vl-text);
}

.home-projects__more {
    flex-shrink: 0;
    color: var(--colors-text-400, #626467);
    font-size: var(--Font-Size-Small, 12px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--Font-Line-height-Small, 16px);
    text-transform: uppercase;
    padding-bottom: 8px;
    border-bottom: 2px solid #000;
}

.home-projects__more:hover {
	color: var(--vl-red);
}

.home-projects__item.is-hidden {
	display: none;
}

.home-project-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.home-project-card__media {
	margin-bottom: 32px;
	border-radius: 24px;
	overflow: hidden;
}

.home-project-card__image {
	width: 100%;
	aspect-ratio: 424 / 280;
	object-fit: cover;
	object-position: center;
}

.home-project-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
	color: var(--vl-text-light);
	font-size: 13px;
	line-height: 1.4;
}

.home-project-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--colors-text-400, #626467);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.home-project-card__meta-item svg {
	flex-shrink: 0;
}

.home-project-card__title {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
}

.home-project-card__title a {
    color: var(--colors-text-500, #292B2F);
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
}

.home-project-card__title a:hover {
	color: var(--vl-red);
}

.home-project-card__desc {
    flex: 1;
    margin: 0 0 16px;
    overflow: hidden;
    color: var(--colors-text-500, #292B2F);
    text-overflow: ellipsis;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.home-project-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 40px;
    padding: 7px 23px;
    border: 1px solid #8F9AA3;
    border-radius: 999px;
    background: transparent;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    color: var(--colors-text-500, #292B2F);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.home-project-card__btn:hover {
	border-color: var(--vl-red);
	color: var(--vl-red);
}

.home-project-card__btn:hover {
	border-color: var(--vl-red);
	background: var(--vl-red);
	color: var(--vl-white);
}

@media (max-width: 992px) {
	.home-intro {
		padding: 56px 0 64px;
	}

	.home-intro__title,
	.home-projects__title,
	.home-highlights__title {
		font-size: 32px;
		line-height: 1.25;
	}

	.home-highlights {
		padding: 72px 0;
	}

	.home-highlights__header {
		margin-bottom: 32px;
	}

	.home-highlights__intro {
		margin-left: 0;
		max-width: none;
	}

	.home-highlights__card-value {
		font-size: 40px;
	}

	.home-projects__desc {
		margin-left: 0;
	}

	.home-projects {
		padding-bottom: 72px;
	}
}

@media (max-width: 640px) {
	.home-intro {
		padding: 40px 0 48px;
	}

	.home-intro__title,
	.home-projects__title,
	.home-highlights__title {
		font-size: 28px;
	}

	.home-highlights {
		padding: 48px 0 64px;
	}

	.home-highlights__stats {
		grid-template-columns: 1fr;
	}

	.home-highlights__card {
		min-height: 140px;
	}

	.home-highlights__card-value {
		font-size: 36px;
	}

	.home-intro__content {
		max-width: none;
	}

	.home-projects__toolbar {
		flex-direction: column;
		align-items: flex-start;
	}

	.home-projects__filters {
		gap: 20px;
	}

	.home-project-card__meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}

/**
 * Section: Đặc điểm nổi bật
 */
.home-highlights {
	padding: 128px 0;
	background: var(--vl-bg-page);
}

.home-highlights__header {
	margin-bottom: 48px;
}

.home-highlights__title {
	margin: 0;
	letter-spacing: -0.02em;
	color: var(--colors-text-500, #292B2F);
	font-size: 48px;
	font-weight: 500;
	line-height: 60px;
}

.home-highlights__intro {
	max-width: 560px;
	margin-left: auto;
}

.home-highlights__desc {
	margin: 0 0 24px;
	color: var(--colors-text-400, #626467);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

.home-highlights__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--colors-text-500, #292B2F);
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 4px;
	transition: color 0.25s ease;
}

.home-highlights__link:hover {
	color: var(--vl-red);
}

.home-highlights__link-icon {
	display: inline-flex;
	color: #2d8a4e;
	transition: color 0.25s ease, transform 0.25s ease;
}

.home-highlights__link:hover .home-highlights__link-icon {
	color: var(--vl-red);
	transform: translateX(3px);
}

.home-highlights__media {
	border-radius: 40px;
	overflow: hidden;
}

.home-highlights__image {
	width: 100%;
	aspect-ratio: 636 / 450;
	object-fit: cover;
	object-position: center;
}

.home-highlights__stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
	height: 100%;
	position: relative;
}

.home-highlights__stats__line {
    width: 87.216px;
    height: 22px;
    transform: rotate(43.222deg);
    border-radius: 20px;
    background: var(--colors-primary-500, #fff);
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
	z-index: 1;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.home-highlights__stats__line.active {
    background: var(--colors-primary-500, #D71920);
}

.home-highlights__card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 224px;
	padding: 26px 15px;
	border-radius: 20px;
	background: var(--vl-white);
	color: var(--colors-text-500, #292B2F);
	transition: background-color 0.3s ease, color 0.3s ease;
	position: relative;
	z-index: 2;
}

.home-highlights__card:hover, .home-highlights__card.active {
	background: var(--vl-red);
	color: var(--vl-white);
}

.home-highlights__card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7.5px;
    justify-content: center;
}

.home-highlights__card-icon {
	display: inline-flex;
	flex-shrink: 0;
	color: var(--vl-red);
	transition: color 0.3s ease;
}

.home-highlights__card-icon img.hover {
    display: none;
}

.home-highlights__card:hover .home-highlights__card-icon, .home-highlights__card.active .home-highlights__card-icon {
	color: var(--vl-white);
}

.home-highlights__card:hover .home-highlights__card-icon img.hover, .home-highlights__card.active .home-highlights__card-icon img.hover {
    display: block;
}

.home-highlights__card:hover .home-highlights__card-icon img.normal, .home-highlights__card.active .home-highlights__card-icon img.normal {
    display: none;
}

.home-highlights__card-value {
    transition: color 0.3s ease;
    color: var(--colors-primary-500, #D71920);
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
}

.home-highlights__card:hover .home-highlights__card-value, .home-highlights__card.active .home-highlights__card-value {
	color: var(--vl-white);
}

.home-highlights__card-label {
    margin: 0;
    transition: color 0.3s ease;
    color: var(--colors-text-400, #626467);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
}

.home-highlights__card:hover .home-highlights__card-label, .home-highlights__card.active .home-highlights__card-label {
	color: rgba(255, 255, 255, 0.92);
}

/**
 * Section: Tin tức nổi bật
 */
.home-news {
	padding: 128px 0;
	background: #fff;
}

.home-news__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}

.home-news__title {
    margin: 0;
    letter-spacing: -0.02em;
    color: var(--colors-text-500, #292B2F);
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
}

.home-news__more {
	flex-shrink: 0;
	margin-top: 8px;
	color: var(--vl-text);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.home-news__more:hover {
	color: var(--vl-red);
}

.home-news-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.home-news-card__media {
	display: block;
	margin-bottom: 32px;
	border-radius: 24px;
	overflow: hidden;
}

.home-news-card__image {
	width: 100%;
	aspect-ratio: 312 / 203;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
}

.home-news-card__media:hover .home-news-card__image {
	transform: scale(1.03);
}

.home-news-card__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 16px;
    color: var(--colors-text-400, #626467);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.home-news-card__date svg {
	flex-shrink: 0;
}

.home-news-card__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.45;
}

.home-news-card__title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--colors-text-500, #292B2F);
    text-overflow: ellipsis;
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
}

.home-news-card__title a:hover {
	color: var(--vl-red);
}

/**
 * Section: Đăng ký nhận tư vấn
 */
.home-consultation {
	padding: 128px 0;
	background: #fff;
	position: relative;
	overflow: hidden;
}

.home-consultation__circle {
    width: 600px;
    height: 600px;
    border-radius: 9999px;
    opacity: 0.1;
    background: #4457B3;
    filter: blur(60px);
    position: absolute;
}

.home-consultation__circle_1 {
    left: -186.5px;
    top: -81px;
}

.home-consultation__circle_2 {
    right: -80px;
    bottom: -80.33px;
}


.home-consultation__box {
	padding: 60px;
	border-radius: 40px;
	background: var(--vl-white);
	position: relative;
}

.home-consultation__box_left {
    padding-right: 0;
}

.home-consultation__box_right {
    padding-left: 83px;
}

.home-consultation__title {
    color: var(--colors-text-500, #292B2F);
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
    margin: 0 0 40px;
}

.home-consultation__notice {
	margin: 0 0 20px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
}

.home-consultation__notice--success {
	background: #edf7ed;
	color: #1b5e20;
}

.home-consultation__notice--error {
	background: #fdecea;
	color: #b71c1c;
}

.home-consultation__form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.home-consultation__field {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.home-consultation__label {
    color: var(--colors-text-400, #626467);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.home-consultation__input {
    width: 100%;
    padding: 15px 24px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    border-radius: 12px;
    border: 1px solid var(--Border-1, rgba(0, 0, 0, 0.06));
    background: #FAFAFA;
    color: var(--colors-text-500, #292B2F);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    box-shadow: none;
	font-family: "Helvetica Neue";
}

.home-consultation__input::placeholder {
	color: var(--vl-text-light);
}

.home-consultation__input:focus {
	outline: none;
	border-color: var(--vl-red);
	background: var(--vl-white);
}

.home-consultation__textarea {
	min-height: 120px;
	resize: vertical;
}

.home-consultation__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 4px;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    background: var(--vl-red);
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: var(--colors-text-50, #FFFEFE);
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.home-consultation__submit:hover {
	background: var(--vl-red-dark);
}

.home-consultation__gallery {
	display: flex;
    gap: 24px;
	align-items: flex-start;
}

.home-consultation__gallery > div {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

.home-consultation__gallery__col1 {
    padding-top: 48px;
}

.home-consultation__gallery-item {
	border-radius: 24px;
	overflow: hidden;
	position: relative;
    padding-top: 100%;
    width: 100%;
}

.home-consultation__gallery-item img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    aspect-ratio: 1;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
	filter: grayscale(100%);
	transition: filter 0.3s ease;
}

.home-consultation__gallery-item:hover img {
	filter: grayscale(0%);
}

.home-consultation__gallery__col1 .home-consultation__gallery-item:last-child {
    position: relative;
    padding-top: 144%;
    width: 100%;
}

.home-consultation__gallery__col2 .home-consultation__gallery-item:first-child {
    position: relative;
    padding-top: 144%;
    width: 100%;
}

.home-consultation__gallery-item--logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid #DBDBDB;
    position: relative;
    padding-top: 100%;
}

.home-consultation__gallery-item--logo img {
    width: auto;
    max-width: 160px;
    height: auto;
    object-fit: contain;
    position: absolute;
    top: 0;
    bottom: 0;
	right: 0;
	left: 0;
    margin: auto;
}

@media (max-width: 992px) {
	.home-news__title,
	.home-consultation__title {
		font-size: 32px;
	}

	.home-consultation__box {
		padding: 36px;
	}

	.home-consultation__gallery {
		min-height: 360px;
	}
}

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

	.home-news__header {
		flex-direction: column;
		align-items: flex-start;
	}

	.home-news__title {
		font-size: 28px;
	}

	.home-news__more {
		margin-top: 0;
	}

	.home-consultation {
		padding-bottom: 72px;
	}

	.home-consultation__box {
		padding: 24px;
		border-radius: 24px;
	}

	.home-consultation__title {
		font-size: 26px;
	}

	.home-consultation__gallery {
		grid-template-rows: 120px 160px;
		min-height: 300px;
	}
}
