/* ==========================================================================
   QCTT - CSS rieng cho cac UX Block cua trang chu
   Moi selector deu bat dau bang class dinh danh cua block tuong ung.
   ========================================================================== */

/* --------------------------------------------------------------------------
   home-01-hero
   -------------------------------------------------------------------------- */
.qctt-hero .qctt-hero__title {
	max-width: 720px;
	margin: 0 auto 18px;
	color: #fff;
	font-size: 1rem;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
}

.qctt-hero .qctt-hero__eyebrow,
.qctt-hero .qctt-hero__brand,
.qctt-hero .qctt-hero__tagline {
	display: block;
	line-height: 1.15;
}

.qctt-hero .qctt-hero__eyebrow {
	color: #fff;
	font-size: clamp(1.05rem, 3vw, 1.55rem);
	font-weight: 700;
	letter-spacing: 0.08em;
}

.qctt-hero .qctt-hero__brand {
	margin: 6px auto 8px;
	color: var(--qctt-primary);
	font-size: clamp(2.75rem, 8vw, 4.2rem);
	font-weight: 900;
	letter-spacing: 0.035em;
	line-height: 0.95;
	text-shadow: 0 5px 24px rgba(220, 0, 18, 0.28);
}

.qctt-hero .qctt-hero__tagline {
	max-width: 640px;
	margin: 0 auto;
	color: rgba(255, 255, 255, 0.94);
	font-size: clamp(1rem, 2.2vw, 1.3rem);
	font-weight: 700;
	letter-spacing: 0.045em;
	line-height: 1.3;
}

.qctt-hero .qctt-hero__sub {
	max-width: 660px;
	margin: 0 auto 26px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.0625rem;
	line-height: 1.6;
	text-align: center;
}

.qctt-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-bottom: 34px;
}

.qctt-site .qctt-hero__actions .button {
	margin: 0;
	min-width: 190px;
}

.qctt-hero__stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.qctt-hero__stats li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 4px 26px;
	border-left: 1px solid rgba(255, 255, 255, 0.28);
	list-style: none;
}

.qctt-hero__stats li:first-child {
	padding-left: 0;
	border-left: 0;
}

.qctt-hero__stats i {
	color: var(--qctt-primary);
	font-size: 24px;
}

.qctt-hero__stats b {
	display: block;
	color: #fff;
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 1.1;
}

.qctt-hero__stats span {
	display: block;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   home-02-pillars  (In an - Tu van - Lap dat)
   Ba the noi de len phan duoi cua hero de nhan manh 3 dich vu chinh.
   -------------------------------------------------------------------------- */
.qctt-pillars .qctt-pillars__row {
	position: relative;
	z-index: 3;
	margin-top: -100px;
	margin-bottom: 56px;
}

/* Khung nhin 3D + mau nhan cua tung the */
.qctt-pillars .qctt-pillar {
	perspective: 1400px;
	perspective-origin: 50% 10%;
	--pillar: var(--qctt-red);
	--pillar-light: #ff5a63;
	--pillar-deep: #96050d;
}

.qctt-pillars .qctt-pillar--consult {
	--pillar: var(--qctt-blue);
	--pillar-light: #4aa3e8;
	--pillar-deep: #01406f;
}

.qctt-pillars .qctt-pillar--install {
	--pillar: #f0b400;
	--pillar-light: #ffd84d;
	--pillar-deep: #a37a00;
}

.qctt-pillars .qctt-pillar > .col-inner {
	position: relative;
	height: 100%;
	padding: 34px 28px 32px;
	background-image: linear-gradient(158deg, #ffffff 0%, #ffffff 52%, #eef3f9 100%);
	border-radius: 16px;
	transform-style: preserve-3d;
	transform: rotateX(2.2deg) translateY(0);
	/* Nhieu lop bong de tao khoi noi */
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		inset 0 -1px 0 rgba(6, 43, 79, 0.06),
		0 2px 0 rgba(6, 43, 79, 0.10),
		0 14px 22px -12px rgba(6, 43, 79, 0.45),
		0 34px 54px -26px rgba(6, 43, 79, 0.42);
	transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1),
		box-shadow 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* Canh duoi day mau - phan "be day" cua khoi */
.qctt-pillars .qctt-pillar > .col-inner::after {
	content: "";
	position: absolute;
	right: 10px;
	bottom: -9px;
	left: 10px;
	height: 12px;
	background-image: linear-gradient(180deg, var(--pillar) 0%, var(--pillar-deep) 100%);
	border-radius: 0 0 12px 12px;
	opacity: 0.9;
	transition: bottom 0.45s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.45s;
}

/* Vach sang chay doc canh tren, gop them cam giac vat lieu */
.qctt-pillars .qctt-pillar > .col-inner::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 5px;
	background-image: linear-gradient(90deg, var(--pillar) 0%, var(--pillar-light) 100%);
	border-radius: 16px 16px 0 0;
}

.qctt-pillars .qctt-pillar > .col-inner:hover,
.qctt-pillars .qctt-pillar > .col-inner:focus-within {
	transform: rotateX(0deg) translateY(-12px) scale(1.015);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		0 3px 0 rgba(6, 43, 79, 0.10),
		0 26px 34px -16px rgba(6, 43, 79, 0.42),
		0 54px 72px -30px rgba(6, 43, 79, 0.45);
}

.qctt-pillars .qctt-pillar > .col-inner:hover::after {
	bottom: -14px;
	opacity: 1;
}

/* Huy chuong icon: khoi cau noi voi highlight va bong do */
.qctt-pillars .qctt-pillar__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	margin-bottom: 20px;
	background-image: radial-gradient(circle at 32% 26%, var(--pillar-light) 0%, var(--pillar) 52%, var(--pillar-deep) 100%);
	border-radius: 50%;
	color: #fff;
	transform: translateZ(28px);
	box-shadow:
		inset 0 2px 3px rgba(255, 255, 255, 0.55),
		inset 0 -4px 8px rgba(0, 0, 0, 0.22),
		0 10px 18px -8px rgba(6, 43, 79, 0.55);
	transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.qctt-pillars .qctt-pillar > .col-inner:hover .qctt-pillar__icon {
	transform: translateZ(46px) rotate(-6deg);
}

.qctt-pillars .qctt-pillar__icon svg {
	width: 30px;
	height: 30px;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.28));
}

.qctt-pillars .qctt-pillar__body h3 {
	margin: 0 0 10px;
	color: var(--qctt-text);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
	transform: translateZ(16px);
}

.qctt-pillars .qctt-pillar__body p {
	margin: 0;
	color: var(--qctt-muted);
	font-size: 0.9375rem;
	line-height: 1.7;
	transform: translateZ(8px);
}

/* Khong lam nguoi dung nhay cam voi chuyen dong bi choang */
@media (prefers-reduced-motion: reduce) {
	.qctt-pillars .qctt-pillar > .col-inner,
	.qctt-pillars .qctt-pillar > .col-inner:hover,
	.qctt-pillars .qctt-pillar__icon,
	.qctt-pillars .qctt-pillar > .col-inner:hover .qctt-pillar__icon {
		transform: none;
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   home-03-services
   -------------------------------------------------------------------------- */
/* Tieu de dap noi nhu chu khac tren bien hieu:
   vien sang o canh tren + khoi bong dac o canh duoi. */
.qctt-services .qctt-heading .section-title-main {
	color: #0e3157;
	text-shadow:
		0 -1px 0 rgba(255, 255, 255, 0.95),
		1px 1px 0 #a9bacd,
		2px 2px 0 #93a8bf,
		3px 3px 0 #7f95af,
		4px 4px 0 #6d85a2,
		5px 7px 12px rgba(6, 43, 79, 0.38);
}

/* --- The dich vu dung khoi 3D ---
   Dat perspective ngay trong transform cua the de diem tu cua phoi canh nam
   giua the; neu dat perspective o cot cha thi cac lop translateZ se bi lech
   sang mot ben. */
.qctt-services .qctt-service > .col-inner {
	position: relative;
	height: 100%;
	overflow: visible;
	background-image: linear-gradient(165deg, #ffffff 0%, #ffffff 60%, #eef3f9 100%);
	border-radius: 14px;
	transform-style: preserve-3d;
	transform: perspective(1200px) rotateX(4deg) rotateY(-3deg);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		0 2px 0 rgba(6, 43, 79, 0.10),
		0 12px 18px -10px rgba(6, 43, 79, 0.45),
		0 26px 40px -22px rgba(6, 43, 79, 0.40);
	transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1),
		box-shadow 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* Nghieng doi chieu de ca hang trong nhu day khoi dung canh nhau */
.qctt-services .qctt-service:nth-child(even) > .col-inner {
	transform: perspective(1200px) rotateX(4deg) rotateY(3deg);
}

/* Be day mau do o day the */
.qctt-services .qctt-service > .col-inner::after {
	content: "";
	position: absolute;
	right: 8px;
	bottom: -8px;
	left: 8px;
	height: 10px;
	background-image: linear-gradient(180deg, var(--qctt-red) 0%, #96050d 100%);
	border-radius: 0 0 10px 10px;
	opacity: 0.9;
	transition: bottom 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.qctt-services .qctt-service > .col-inner:hover,
.qctt-services .qctt-service > .col-inner:focus-within {
	z-index: 4;
	transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateY(-14px) scale(1.05);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		0 3px 0 rgba(6, 43, 79, 0.12),
		0 24px 30px -14px rgba(6, 43, 79, 0.45),
		0 48px 64px -28px rgba(6, 43, 79, 0.45);
}

.qctt-services .qctt-service > .col-inner:hover::after {
	bottom: -12px;
}

.qctt-services .qctt-service__img {
	position: relative;
	margin-bottom: 0;
	overflow: hidden;
	border-radius: 14px 14px 0 0;
}

/* Lop sang toi tren anh de anh co chieu sau thay vi phang */
.qctt-services .qctt-service__img::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(0, 0, 0, 0) 42%, rgba(6, 43, 79, 0.45) 100%);
	box-shadow: inset 0 0 22px rgba(6, 43, 79, 0.35);
	pointer-events: none;
	transition: opacity var(--qctt-transition);
}

.qctt-services .qctt-service > .col-inner:hover .qctt-service__img::after {
	opacity: 0.6;
}

.qctt-services .qctt-service__img img {
	display: block;
	width: 100%;
	height: 190px;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.qctt-services .qctt-service > .col-inner:hover .qctt-service__img img {
	transform: scale(1.08);
}

.qctt-services .qctt-service__body {
	padding: 18px 14px 24px;
	text-align: center;
	transform: translateZ(20px);
}

.qctt-services .qctt-service__body h3 {
	margin: 0;
	color: #14304f;
	min-height: 2.6em;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95),
		1px 1px 0 rgba(6, 43, 79, 0.18),
		2px 2px 3px rgba(6, 43, 79, 0.22);
}

/* Gach chan trang tri duoi ten dich vu (khong chua noi dung). */
.qctt-services .qctt-service__body h3::after {
	content: "";
	display: block;
	width: 42px;
	height: 4px;
	margin: 12px auto 0;
	background-image: linear-gradient(180deg, #ff4a54 0%, var(--qctt-red) 55%, #96050d 100%);
	border-radius: 3px;
	box-shadow: 0 2px 3px rgba(150, 5, 13, 0.45);
}

.qctt-services .qctt-service__body p {
	margin: 10px 0 0;
	color: var(--qctt-muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

.qctt-services .qctt-services__intro {
	max-width: 760px;
	margin: 0 auto 40px;
	color: var(--qctt-muted);
	font-size: 1rem;
	line-height: 1.75;
	text-align: center;
}

.qctt-services .qctt-services__intro p {
	margin-bottom: 0;
}

.qctt-services .qctt-home-local {
	position: relative;
	margin-top: 64px;
	padding: 42px 28px 26px;
	overflow: hidden;
	background-image: linear-gradient(125deg, #061e38 0%, #0b416f 100%);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--qctt-radius-lg);
	box-shadow: 0 24px 50px -28px rgba(6, 43, 79, 0.72);
}

.qctt-services .qctt-home-local::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 5px;
	background-image: linear-gradient(90deg, var(--qctt-primary) 0 36%, var(--qctt-secondary) 36% 100%);
}

.qctt-services .qctt-home-local > .col {
	position: relative;
	z-index: 1;
}

.qctt-services .qctt-home-local__eyebrow {
	margin-bottom: 10px;
	color: #8bc9f4;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.qctt-services .qctt-home-local__content h2 {
	margin-bottom: 18px;
	color: #fff;
	font-size: clamp(1.75rem, 3vw, 2.45rem);
	font-weight: 800;
	line-height: 1.2;
}

.qctt-services .qctt-home-local__content p:not(.qctt-home-local__eyebrow) {
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.8;
}

.qctt-services .qctt-home-local__content a {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.4);
	text-underline-offset: 3px;
}

.qctt-services .qctt-home-local__contact {
	height: 100%;
	padding: 26px 24px 22px;
	background-color: #fff;
	border-radius: var(--qctt-radius-md);
	box-shadow: 0 16px 34px -24px rgba(0, 0, 0, 0.7);
}

.qctt-services .qctt-home-local__contact h3 {
	margin-bottom: 10px;
	color: var(--qctt-navy);
	font-size: 1.25rem;
	font-weight: 800;
}

.qctt-services .qctt-home-local__contact > p {
	color: var(--qctt-muted);
	font-size: 0.9rem;
	line-height: 1.65;
}

.qctt-services .qctt-home-local__meta {
	margin-bottom: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--qctt-border);
}

.qctt-services .qctt-home-local__meta strong,
.qctt-services .qctt-home-local__meta a {
	display: block;
	color: var(--qctt-navy);
}

.qctt-services .qctt-home-local__meta a {
	color: var(--qctt-primary);
	font-size: 1.1rem;
	font-weight: 800;
}

.qctt-services .qctt-home-local__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 18px;
}

.qctt-site .qctt-services .qctt-home-local__actions .button {
	margin: 0;
	padding-right: 12px;
	padding-left: 12px;
	font-size: 0.78rem;
	text-align: center;
}

/* --------------------------------------------------------------------------
   home-04-projects
   -------------------------------------------------------------------------- */
/* .section.dark cua Flatsome dat nen #666 nen can do uu tien tuong duong. */
.section.qctt-projects {
	background-color: var(--qctt-navy);
}

.qctt-projects .qctt-heading .section-title-main {
	color: #fff;
}

/* Keo hang bo loc len ngang hang voi tieu de section (chi tren desktop). */
/* Giu nguyen container mac dinh de hang chip loc thang hang voi tieu de,
   chi keo len cho ngang hang. */
.qctt-projects .portfolio-element-wrapper > .container.mb-half {
	margin-top: -64px;
}

.qctt-projects .filter-nav {
	margin-bottom: 26px;
}

.qctt-projects .filter-nav li {
	margin: 0 0 8px 8px;
}

.qctt-projects .filter-nav li a {
	padding: 8px 18px;
	border: 1px solid var(--qctt-border-dark);
	border-radius: 999px;
	background-color: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	transition: background-color var(--qctt-transition), color var(--qctt-transition);
}

.qctt-projects .filter-nav li a:hover,
.qctt-projects .filter-nav li a:focus-visible {
	background-color: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.qctt-projects .filter-nav li.active a {
	background-color: var(--qctt-primary);
	border-color: var(--qctt-primary);
	color: #fff;
}

.qctt-projects .portfolio-box {
	overflow: hidden;
	border-radius: var(--qctt-radius-md);
}

.qctt-projects .portfolio-box .box-image img {
	transition: transform 0.4s ease;
}

.qctt-projects .portfolio-box:hover .box-image img {
	transform: scale(1.06);
}

.qctt-projects .portfolio-box-title {
	font-size: 0.875rem;
	font-weight: 700;
}

.qctt-projects .qctt-projects__more {
	margin-top: 26px;
	text-align: center;
}

.qctt-site .qctt-projects__more .button {
	margin-bottom: 0;
	color: #fff;
}

/* --------------------------------------------------------------------------
   home-05-why-us
   -------------------------------------------------------------------------- */
.qctt-why .qctt-why-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	height: 100%;
	padding: 6px 14px;
	border-left: 1px solid var(--qctt-border);
}

.qctt-why .col:first-child .qctt-why-item {
	padding-left: 0;
	border-left: 0;
}

.qctt-why .qctt-why-item__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	background-color: var(--qctt-primary-soft);
	border-radius: 50%;
	color: var(--qctt-primary);
	font-size: 24px;
}

.qctt-why .qctt-why-item h3 {
	margin: 0 0 8px;
	color: var(--qctt-text);
	font-size: 1rem;
	font-weight: 700;
}

.qctt-why .qctt-why-item p {
	margin: 0;
	color: var(--qctt-muted);
	font-size: 0.875rem;
	line-height: 1.65;
}

/* --------------------------------------------------------------------------
   home-06-process
   -------------------------------------------------------------------------- */
/* Cac the buoc phai cao bang nhau tren cung mot hang. */
.qctt-process .col > .col-inner,
.qctt-why .col > .col-inner {
	height: 100%;
}

.qctt-process .qctt-step {
	position: relative;
	height: 100%;
	padding: 22px 20px;
	background-color: var(--qctt-surface);
	border: 1px solid var(--qctt-border);
	border-radius: var(--qctt-radius-md);
}

.qctt-process .qctt-step__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.qctt-process .qctt-step__num {
	color: rgba(218, 8, 18, 0.26);
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1;
}

.qctt-process .qctt-step__icon {
	color: var(--qctt-primary);
	font-size: 22px;
}

.qctt-process .qctt-step h3 {
	margin: 0 0 8px;
	color: var(--qctt-text);
	font-size: 1rem;
	font-weight: 700;
}

.qctt-process .qctt-step p {
	margin: 0;
	color: var(--qctt-muted);
	font-size: 0.875rem;
	line-height: 1.65;
}

/* Mui ten noi giua cac buoc - hoan toan trang tri. */
.qctt-process .col:not(:last-child) .qctt-step::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -22px;
	width: 10px;
	height: 10px;
	border-top: 2px solid var(--qctt-navy);
	border-right: 2px solid var(--qctt-navy);
	transform: translateY(-50%) rotate(45deg);
	opacity: 0.55;
}

/* --------------------------------------------------------------------------
   home-07-testimonials (danh gia + khach hang tieu bieu)
   -------------------------------------------------------------------------- */
.qctt-social .qctt-testimonial-card {
	padding: 26px 24px;
	background-color: var(--qctt-surface);
	border: 1px solid var(--qctt-border);
	border-radius: var(--qctt-radius-md);
	box-shadow: var(--qctt-shadow-card);
	text-align: left;
}

.qctt-social .qctt-testimonial-card .testimonial-text {
	padding-left: 16px;
	border-left: 3px solid var(--qctt-primary);
}

.qctt-social .qctt-testimonial-card .testimonial-text,
.qctt-social .qctt-testimonial-card .testimonial-text p {
	color: var(--qctt-text);
	font-size: 0.9375rem;
	line-height: 1.75;
	/* Flatsome gan .is-italic (font-style:italic!important) cho khoi nay;
	   thiet ke dung chu dung nen buoc phai ghi de bang !important. */
	font-style: normal !important;
}

.qctt-social .testimonial-meta {
	font-size: 0.875rem;
}

.qctt-social .testimonial-name {
	color: var(--qctt-text);
	font-weight: 700;
}

.qctt-social .testimonial-company {
	color: var(--qctt-muted);
}

.qctt-social .qctt-logo-grid .gallery-col > .col-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 84px;
	padding: 12px;
	background-color: var(--qctt-surface);
	border: 1px solid var(--qctt-border);
	border-radius: var(--qctt-radius-sm);
	transition: border-color var(--qctt-transition), box-shadow var(--qctt-transition);
}

.qctt-social .qctt-logo-grid .gallery-col > .col-inner:hover {
	border-color: var(--qctt-primary);
	box-shadow: var(--qctt-shadow-card);
}

/* Logo khach hang that: giu nguyen mau thuong hieu, chi lam diu bang do trong
   de luoi logo khong lan at cac phan khac cua trang. */
.qctt-social .qctt-logo-grid .box-image img {
	width: 100%;
	max-height: 58px;
	object-fit: contain;
	opacity: 0.88;
	transition: opacity var(--qctt-transition), transform var(--qctt-transition);
}

.qctt-social .qctt-logo-grid .gallery-col > .col-inner:hover .box-image img {
	opacity: 1;
	transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.qctt-services .qctt-service-card img {
		height: 165px;
	}

	.qctt-process .col:not(:last-child) .qctt-step::after {
		display: none;
	}
}

@media (max-width: 849px) {
	.qctt-services .qctt-home-local {
		padding: 36px 20px 20px;
	}

	.qctt-services .qctt-home-local__contact {
		margin-top: 12px;
	}

	.qctt-projects .portfolio-element-wrapper > .container.mb-half {
		margin-top: 0;
	}

	.qctt-projects .filter-nav {
		justify-content: flex-start;
	}

	.qctt-projects .filter-nav li {
		margin-left: 0;
		margin-right: 8px;
	}

	.qctt-why .qctt-why-item,
	.qctt-why .col:first-child .qctt-why-item {
		padding: 0;
		border-left: 0;
	}

	.qctt-hero__stats li {
		padding: 4px 18px;
	}
}

@media (max-width: 549px) {
	.qctt-pillars .qctt-pillars__row {
		margin-top: -40px;
	}

	.qctt-services .qctt-home-local {
		margin-top: 48px;
		padding: 30px 8px 14px;
		border-radius: var(--qctt-radius-md);
	}

	.qctt-services .qctt-home-local__content h2 {
		font-size: 1.65rem;
	}

	.qctt-services .qctt-home-local__contact {
		padding: 22px 18px 18px;
	}

	.qctt-services .qctt-home-local__actions {
		grid-template-columns: 1fr;
	}

	.qctt-site .qctt-services .qctt-home-local__actions .button {
		width: 100%;
	}

	.qctt-hero__actions {
		display: grid;
		gap: 12px;
	}

	.qctt-site .qctt-hero__actions .button {
		width: 100%;
	}

	.qctt-hero__stats li {
		flex: 1 1 100%;
		padding: 8px 0;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.2);
	}

	.qctt-hero__stats li:first-child {
		border-top: 0;
	}

	.qctt-services .qctt-service-card img {
		height: 180px;
	}
}

/* --------------------------------------------------------------------------
   Ton trong tuy chon giam chuyen dong cua nguoi dung
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.qctt-services .qctt-service > .col-inner,
	.qctt-services .qctt-service:nth-child(even) > .col-inner,
	.qctt-services .qctt-service > .col-inner:hover,
	.qctt-services .qctt-service__img,
	.qctt-services .qctt-service__body,
	.qctt-services .qctt-service > .col-inner:hover .qctt-service__img img {
		transform: none;
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   Lop mo dan tren anh hero
   Anh hero co bien hieu sang mau o ben phai; dung lop mo dan tu trai sang
   thay cho mot lop phu dong deu, de chu ben trai van doc ro ma bien hieu
   ben phai khong bi lam duc.
   -------------------------------------------------------------------------- */
.qctt-hero .section-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(
		95deg,
		rgba(4, 20, 38, 0.92) 0%,
		rgba(4, 20, 38, 0.78) 32%,
		rgba(4, 20, 38, 0.40) 58%,
		rgba(4, 20, 38, 0.05) 82%,
		rgba(4, 20, 38, 0) 100%
	);
	pointer-events: none;
}

@media (max-width: 849px) {
	.qctt-hero .section-bg::after {
		background-image: linear-gradient(
			180deg,
			rgba(4, 20, 38, 0.82) 0%,
			rgba(4, 20, 38, 0.72) 55%,
			rgba(4, 20, 38, 0.55) 100%
		);
	}
}

/* --------------------------------------------------------------------------
   home-08-news  (Tin tuc trinh bay kieu trang bao)
   Cot trai: mot bai chinh anh lon. Cot phai: ba bai phu dang danh sach
   anh nho ben trai, tieu de ben phai.
   -------------------------------------------------------------------------- */
.qctt-news .qctt-news__lead .box-blog-post {
	overflow: hidden;
	background-color: var(--qctt-surface);
	border-radius: var(--qctt-radius-md);
	box-shadow:
		0 2px 0 rgba(6, 43, 79, 0.08),
		0 18px 34px -20px rgba(6, 43, 79, 0.45);
	transition: transform var(--qctt-transition), box-shadow var(--qctt-transition);
}

.qctt-news .qctt-news__lead .box-blog-post:hover {
	transform: translateY(-6px);
	box-shadow:
		0 3px 0 rgba(6, 43, 79, 0.10),
		0 30px 46px -22px rgba(6, 43, 79, 0.48);
}

.qctt-news .qctt-news__lead .box-text {
	padding: 22px 24px 26px;
}

.qctt-news .qctt-news__lead .post-title {
	margin-bottom: 10px;
	color: var(--qctt-text);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.3;
}

.qctt-news .qctt-news__lead .post-title:hover {
	color: var(--qctt-primary);
}

.qctt-news .qctt-news__lead .from_the_blog_excerpt {
	color: var(--qctt-muted);
	font-size: 0.9375rem;
	line-height: 1.75;
}

/* --- Danh sach bai phu --- */
.qctt-news .qctt-news__list .post-item {
	padding-bottom: 14px;
}

.qctt-news .qctt-news__list .box-blog-post {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 12px;
	background-color: var(--qctt-surface);
	border: 1px solid var(--qctt-border);
	border-radius: var(--qctt-radius-sm);
	transition: border-color var(--qctt-transition), box-shadow var(--qctt-transition);
}

.qctt-news .qctt-news__list .box-blog-post:hover {
	border-color: var(--qctt-primary);
	box-shadow: 0 10px 22px -14px rgba(6, 43, 79, 0.6);
}

.qctt-news .qctt-news__list .box-image {
	flex: 0 0 96px;
	overflow: hidden;
	border-radius: 4px;
}

.qctt-news .qctt-news__list .box-image .image-cover {
	padding-top: 76% !important; /* ghi de padding-top do shortcode sinh inline */
}

.qctt-news .qctt-news__list .box-text {
	flex: 1 1 auto;
	padding: 0;
}

.qctt-news .qctt-news__list .post-title {
	margin-bottom: 4px;
	color: var(--qctt-text);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.45;
}

.qctt-news .qctt-news__list .post-title:hover {
	color: var(--qctt-primary);
}

/* Ngay dang dung chung cho ca hai cot */
.qctt-news .post-meta,
.qctt-news .from_the_blog_comments {
	color: var(--qctt-muted);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.qctt-news .qctt-news__more {
	margin-top: 30px;
}

@media (max-width: 849px) {
	.qctt-news .qctt-news__lead .post-title {
		font-size: 1.25rem;
	}
}

/* Flatsome mac dinh an doan trich cua bai viet va chi hien khi ro chuot vao.
   O muc tin tuc kieu trang bao thi doan trich phai luon hien. */
.qctt-news .box-text .show-on-hover,
.qctt-news .box-text .from_the_blog_excerpt {
	opacity: 1;
	transform: none;
	visibility: visible;
	max-height: none;
}

.qctt-news .qctt-news__lead .is-divider {
	margin: 12px 0;
	background-color: var(--qctt-primary);
	height: 3px;
	width: 44px;
}

.qctt-news .qctt-news__list .is-divider {
	display: none;
}

.qctt-news .qctt-news__lead .button.is-link {
	padding: 0;
	color: var(--qctt-primary);
	font-weight: 700;
	letter-spacing: 0.06em;
}

/* Nhan ngay thang: dua vao trong anh cho gon, dung mau thuong hieu */
.qctt-news .badge.post-date .badge-inner {
	background-color: var(--qctt-primary);
	border-color: var(--qctt-primary);
	color: #fff;
}

.qctt-news .badge.post-date .post-date-day,
.qctt-news .badge.post-date .post-date-month {
	color: #fff;
}

/* Lien ket trong tieu de the: giu nguyen mau chu, chi doi khi ro chuot */
.qctt-pillars .qctt-pillar__body h3 a,
.qctt-services .qctt-service__body h3 a {
	color: inherit;
	text-decoration: none;
	transition: color var(--qctt-transition);
}

.qctt-pillars .qctt-pillar__body h3 a:hover,
.qctt-services .qctt-service__body h3 a:hover {
	color: var(--qctt-primary);
}
