/* Trang chủ Quang Minh Tech – phong cách doanh nghiệp công nghiệp. Mọi style bọc trong .qmh để không ảnh hưởng theme. */
.qmh {
	--qmh-accent: #0c47a0;       /* Màu nhấn chính (đỏ logo QMT) – đổi tại đây nếu muốn tông khác */
	--qmh-accent-dark: #093a7f;
	--qmh-blue: #0c47a0;         /* Xanh logo QMT */
	--qmh-ink: #141414;
	--qmh-text: #2b2b2b;
	--qmh-muted: #6b6f76;
	--qmh-line: #e4e6ea;
	--qmh-bg: #f2f3f5;
	--qmh-dark: #0f1420;
	font-family: var(--qmt-font);
	font-weight: var(--qmt-w-body);
	color: var(--qmh-text);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}
.qmh *, .qmh *::before, .qmh *::after { box-sizing: border-box; }
/* Reset bằng :where() để specificity thấp, các class bên dưới luôn thắng. */
.qmh :where(h1, h2, h3) { margin: 0; letter-spacing: 0; }
.qmh h1, .qmh h2, .qmh h3 { font-family: var(--qmt-font-head); color: inherit; text-transform: none; }
.qmh :where(p, dl, dd) { margin: 0; }
.qmh :where(a) { color: inherit; text-decoration: none; transition: color .2s, background-color .2s, border-color .2s, transform .3s, box-shadow .3s; }
.qmh :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
.qmh :where(li) { margin: 0; }
.qmh :where(img) { display: block; max-width: 100%; height: auto; }
.qmh :where(button) { font-family: inherit; }
.qmh b, .qmh strong { font-weight: 600; }

.qmh-wrap { width: 100%; max-width: var(--qmt-wrap, 1348px); margin: 0 auto; padding: 0 var(--qmt-gutter, 24px); }
.qmh-section { padding: 96px 0; }

/* Titles */
.qmh .qmh-title { font-size: clamp(26px, 3vw, 38px); font-weight: 600; line-height: 1.2; text-transform: uppercase; color: var(--qmh-ink); }
.qmh-title--center { text-align: center; margin-bottom: 44px !important; }
.qmh-dot-kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--qmh-ink); }
.qmh-dot-kicker::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--qmh-accent); }
.qmh-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }

/* Buttons: hình chữ nhật, kèm ô vuông nhỏ */
.qmh-sq { display: inline-block; width: 16px; height: 16px; background: currentColor; flex: none; transition: transform .3s; }
.qmh .qmh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 50px; padding: 0 34px; border: 1px solid transparent; border-radius: var(--qmt-radius, 5px);
	font-size: calc(14px * var(--qmt-head-scale, 1)); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; white-space: nowrap;
}
.qmh .qmh-btn:hover .qmh-sq { transform: translateX(4px); }
.qmh .qmh-btn--accent { background: var(--qmh-accent); color: #fff; }
.qmh .qmh-btn--accent .qmh-sq { background: #fff; }
.qmh .qmh-btn--accent:hover { background: var(--qmh-accent-dark); color: #fff; }
.qmh .qmh-btn--line { border-color: var(--qmh-accent); color: var(--qmh-accent); background: transparent; }
.qmh .qmh-btn--line:hover { background: var(--qmh-accent); color: #fff; }
.qmh .qmh-btn--white { background: #fff; color: var(--qmh-ink); }
.qmh .qmh-btn--white .qmh-sq { background: var(--qmh-accent); }
.qmh .qmh-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--qmh-ink); }
.qmh .qmh-more span { transition: transform .25s; }
.qmh .qmh-more:hover { color: var(--qmh-accent); }
.qmh .qmh-more:hover span { transform: translateX(4px); }

/* HERO SLIDER */
.qmh-hero { position: relative; height: calc(100vh - var(--qmt-hd-top, 40px) - var(--qmt-hd-bar, 84px)); height: calc(100svh - var(--qmt-hd-top, 40px) - var(--qmt-hd-bar, 84px)); min-height: 700px; max-height: 1000px; /* lấp kín màn hình dưới header */ background: var(--qmh-dark); overflow: hidden; color: #fff; }
.qmh-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.qmh-hero__slide.is-active { opacity: 1; visibility: visible; }
.qmh-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transform: scale(1.08); transition: transform 7s ease-out; }
.qmh-hero__slide.is-active .qmh-hero__bg { transform: scale(1); }
.qmh-hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 24, .25) 0%, rgba(10, 14, 24, .1) 35%, rgba(10, 14, 24, .88) 100%); }
.qmh-hero__inner { position: absolute; left: 0; right: 0; bottom: 120px; margin: 0 auto; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.qmh-hero__kicker { display: block; font-size: 15px; font-weight: 400; color: rgba(255, 255, 255, .85); margin-bottom: 10px; padding-left: 16px; border-left: 3px solid var(--qmh-accent); }
.qmh .qmh-hero__title { font-size: clamp(38px, 6vw, 76px); font-weight: 700; line-height: 1.05; text-transform: uppercase; color: #fff; }
.qmh-hero__right { max-width: 400px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.qmh-hero__right p { font-size: 16px; color: rgba(255, 255, 255, .88); }
.qmh-hero__slide .qmh-hero__left, .qmh-hero__slide .qmh-hero__right { opacity: 0; transform: translateY(24px); transition: opacity .8s .3s, transform .8s .3s; }
.qmh-hero__slide.is-active .qmh-hero__left, .qmh-hero__slide.is-active .qmh-hero__right { opacity: 1; transform: none; }
.qmh-hero__nav { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; z-index: 3; }
.qmh-hero__dots { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255, 255, 255, .2); }
.qmh .qmh-hero__dot {
	display: flex; align-items: baseline; gap: 10px; padding: 22px 0 28px; background: none; border: 0; border-radius: 0; color: rgba(255, 255, 255, .55);
	cursor: pointer; position: relative; text-align: left; font-size: 14px; text-transform: none; letter-spacing: 0; min-height: 0; height: auto; line-height: 1.3;
}
.qmh-hero__dot-num { font-weight: 600; font-size: 13px; }
.qmh-hero__dot-name { font-weight: 500; }
.qmh-hero__dot-bar { position: absolute; left: 0; right: 16px; top: -1px; height: 3px; overflow: hidden; }
.qmh-hero__dot-bar i { display: block; height: 100%; width: 0; background: var(--qmh-accent); }
.qmh .qmh-hero__dot:hover, .qmh .qmh-hero__dot.is-active { color: #fff; }
.qmh-hero__dot.is-active .qmh-hero__dot-bar i { animation: qmh-progress var(--qmh-hero-delay, 6s) linear forwards; }
.qmh-hero.is-paused .qmh-hero__dot.is-active .qmh-hero__dot-bar i { animation-play-state: paused; }
@keyframes qmh-progress { from { width: 0; } to { width: 100%; } }

/* INTRO */
/* ---------- Giới thiệu ---------- */
.qmh-intro { background: #fff; }
.qmh-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }

/* Cụm ảnh */
.qmh-intro__media { position: relative; }
.qmh-intro__img { aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--qmt-radius, 5px); background: var(--qmh-bg); }
.qmh-intro__img img { width: 100%; height: 100%; object-fit: cover; }
.qmh-intro__badge {
	position: absolute; left: 24px; top: 24px; display: flex; align-items: center; gap: 14px;
	padding: 20px 24px; border-radius: var(--qmt-radius, 5px); background: var(--qmh-accent); color: #fff;
	box-shadow: 0 18px 36px rgba(12, 71, 160, .35);
}
.qmh-intro__badge-num { font-family: var(--qmt-font-head); font-size: 56px; font-weight: 700; line-height: .9; letter-spacing: -.02em; }
.qmh-intro__badge-num sup { font-size: .45em; top: -.9em; margin-left: 2px; }
.qmh-intro__badge-txt { display: flex; flex-direction: column; max-width: 140px; }
.qmh-intro__badge-txt b { font-family: var(--qmt-font-head); font-size: 16px; font-weight: 600; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; }
.qmh-intro__badge-txt small { margin-top: 4px; font-size: 12.5px; line-height: 1.35; opacity: .85; }

/* Nội dung */
.qmh .qmh-intro__title { margin: 0 0 18px; font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; line-height: 1.18; text-transform: uppercase; color: var(--qmh-ink); }
.qmh-intro__lead { font-size: 16.5px; line-height: 1.75; color: var(--qmh-muted); }
.qmh-intro__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 26px 0 30px !important; }
.qmh-intro__points li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--qmh-ink); }
.qmh-intro__points svg {
	flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%;
	background: var(--qmh-accent); color: #fff; stroke-width: 3;
}

/* Số liệu */
.qmh-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.qmh-stat { padding: 20px 18px; border-radius: var(--qmt-radius, 5px); background: var(--qmh-bg); transition: background .25s, transform .25s; }
.qmh-stat:hover { background: #fff; box-shadow: 0 14px 30px rgba(10, 20, 40, .08); transform: translateY(-3px); }
.qmh-stat__icon { display: block; width: 26px; height: 26px; color: var(--qmh-accent); margin-bottom: 12px; }
.qmh-stat__icon svg { width: 100%; height: 100%; }
.qmh-stat__num { display: flex; align-items: flex-start; color: var(--qmh-ink); }
.qmh-stat__num strong { font-family: var(--qmt-font-head); font-size: clamp(30px, 2.8vw, 38px); font-weight: 700; line-height: 1; }
.qmh-stat__num sup { color: var(--qmh-accent); font-size: 20px; font-weight: 700; top: .1em; margin-left: 2px; }
.qmh-stat__unit { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--qmh-ink); }
.qmh-stat p { margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--qmh-muted); }

/* Nút + hotline */
.qmh-intro__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 34px; }
.qmh .qmh-intro__call { display: flex; align-items: center; gap: 12px; color: var(--qmh-ink); }
.qmh-intro__call-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--qmh-line); color: var(--qmh-accent); transition: background .2s, color .2s, border-color .2s; }
.qmh-intro__call-icon svg { width: 20px; height: 20px; }
.qmh-intro__call small { display: block; font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--qmh-muted); }
.qmh-intro__call b { display: block; font-family: var(--qmt-font-head); font-size: 19px; font-weight: 700; line-height: 1.2; }
.qmh .qmh-intro__call:hover { color: var(--qmh-accent); }
.qmh-intro__call:hover .qmh-intro__call-icon { background: var(--qmh-accent); border-color: var(--qmh-accent); color: #fff; }

/* BAND */
/* ---------- Vì sao chọn (3 thế mạnh) ---------- */
.qmh-band { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0; background: #0b1428; color: #fff; }
.qmh-band__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .18; filter: grayscale(.3); }
.qmh-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 20, 40, .55) 0%, rgba(11, 20, 40, .92) 100%); }
.qmh-band__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 72px; align-items: end; margin-bottom: 32px; }
.qmh-dot-kicker--light { color: #fff; }
.qmh .qmh-band__title { margin-top: 14px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.18; text-transform: uppercase; color: #fff; }
.qmh-band__lead { font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .72); }
.qmh-band__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.qmh-band__item {
	position: relative; overflow: hidden; padding: 26px 26px 24px; border-radius: var(--qmt-radius, 5px);
	background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(4px);
	transition: transform .3s, background .3s, border-color .3s;
}
.qmh-band__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--qmh-accent); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.qmh-band__item:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .14); }
.qmh-band__item:hover::after { transform: scaleX(1); }
.qmh-band__num { position: absolute; right: 20px; top: 14px; font-family: var(--qmt-font-head); font-size: 44px; font-weight: 700; line-height: 1; color: rgba(255, 255, 255, .06); transition: color .3s; }
.qmh-band__item:hover .qmh-band__num { color: rgba(12, 71, 160, .35); }
.qmh-band__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: var(--qmt-radius, 5px); background: var(--qmh-accent); color: #fff; box-shadow: 0 8px 18px rgba(12, 71, 160, .35); }
.qmh-band__icon svg { width: 22px; height: 22px; }
.qmh .qmh-band__item h3 { font-size: 16px; font-weight: 700; line-height: 1.3; text-transform: uppercase; color: #fff; }
.qmh-band__item p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .7); }

/* LINES */
.qmh-lines { background: #fff; }
.qmh-lines__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.qmh .qmh-line { display: flex; flex-direction: column; background: #fff; color: var(--qmh-ink); }
.qmh-line__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--qmh-bg); }
.qmh-line__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.qmh-line__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 16px; background: var(--qmh-bg); transition: background .3s, color .3s; }
.qmh-line__name { font-size: 15px; font-weight: 600; text-transform: uppercase; line-height: 1.3; }
.qmh-line__bar .qmh-sq { color: var(--qmh-accent); }
.qmh .qmh-line:hover .qmh-line__bar { background: var(--qmh-accent); color: #fff; }
.qmh .qmh-line:hover .qmh-line__bar .qmh-sq { color: #fff; transform: translateX(4px); }
.qmh-line:hover .qmh-line__img img { transform: scale(1.08); }

/* PRODUCTS */
.qmh-products { background: #fff; scroll-margin-top: 110px; }
.qmh-tabs { display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--qmh-line); }
.qmh .qmh-tab {
	padding: 10px 22px; margin-bottom: -2px; background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0;
	color: var(--qmh-muted); font-size: 15px; font-weight: 500; cursor: pointer; text-transform: none; letter-spacing: 0; min-height: 0; height: auto; line-height: 1.4;
}
.qmh .qmh-tab:hover { color: var(--qmh-ink); }
.qmh .qmh-tab.is-active { color: var(--qmh-ink); font-weight: 600; border-bottom-color: var(--qmh-ink); }
.qmh-panel { display: grid; grid-template-columns: 360px 1fr; gap: 32px; align-items: start; animation: qmh-fade .45s ease; }
.qmh-panel[hidden] { display: none; }
@keyframes qmh-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.qmh-info { position: sticky; top: 110px; padding: 34px 30px; background: var(--qmh-bg); }
.qmh-info__count { display: block; font-size: 48px; font-weight: 600; line-height: 1; color: var(--qmh-accent); padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #d9dce1; }
.qmh-info__count small { font-size: 14px; color: var(--qmh-muted); font-weight: 400; }
.qmh .qmh-info h3 { font-size: 22px; font-weight: 600; text-transform: uppercase; color: var(--qmh-ink); }
.qmh-info > p { margin-top: 12px; font-size: 15px; color: var(--qmh-muted); }
.qmh-checks { margin: 22px 0 !important; display: grid; gap: 12px; }
.qmh-checks li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--qmh-text); }
.qmh-checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; background: var(--qmh-accent); }
.qmh-info__usage { padding-top: 18px; border-top: 1px solid #d9dce1; font-size: 14px; }
.qmh-info__usage dt { font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; color: var(--qmh-ink); margin-bottom: 4px; }
.qmh-info__usage dd { color: var(--qmh-muted); }
.qmh-info__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 26px; }
.qmh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); /* 8 sản phẩm + thẻ tư vấn = 3 hàng đủ */ gap: 16px; }
.qmh .qmh-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--qmh-line); color: var(--qmh-ink); }
.qmh .qmh-card:hover { border-color: var(--qmh-ink); box-shadow: 0 16px 34px rgba(0, 0, 0, .08); color: var(--qmh-ink); }
.qmh-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--qmh-bg); }
.qmh-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.qmh-card:hover .qmh-card__img img { transform: scale(1.06); }
.qmh-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px; border-top: 1px solid var(--qmh-line); }
.qmh-card__title { font-size: 15px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qmh-card__price { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--qmt-red, #d23437); }
.qmh-card__price .woocommerce-Price-amount { color: inherit; }
.qmh .qmh-card--cta { justify-content: center; gap: 12px; padding: 28px 22px; background: var(--qmh-ink); border-color: var(--qmh-ink); color: rgba(255, 255, 255, .75); font-size: 14px; min-height: 240px; }
.qmh .qmh-card--cta:hover { color: rgba(255, 255, 255, .75); border-color: var(--qmh-accent); }
.qmh-card__cta-title { font-size: 20px; font-weight: 600; color: #fff; text-transform: uppercase; line-height: 1.25; }
.qmh .qmh-card--cta .qmh-more { color: #fff; }
.qmh-panel__foot { grid-column: 2; margin-top: 8px; }

/* CAPACITY + PROJECTS */
.qmh-capacity { background: linear-gradient(180deg, #fff 0, #fff 300px, var(--qmh-bg) 300px); padding: 40px 0 96px; }
.qmh-capacity > .qmh-wrap > .qmh-title { margin-bottom: 40px; }
.qmh-capacity__box { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; padding: 56px 64px; background: #fff; box-shadow: 0 10px 40px rgba(0, 0, 0, .07); }
.qmh-capacity__text { position: relative; }
.qmh-capacity__text p { font-size: 15px; text-align: justify; color: var(--qmh-text); }
.qmh-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 28px; margin-top: 40px !important; position: relative; z-index: 1; }
.qmh-steps li { display: flex; flex-direction: column; font-size: 14px; color: var(--qmh-muted); }
.qmh-steps span { font-size: 44px; font-weight: 600; line-height: 1; color: var(--qmh-ink); }
.qmh-steps span::after { content: "+"; display: none; }
.qmh-steps strong { font-size: 16px; font-weight: 600; color: var(--qmh-ink); margin: 10px 0 4px; padding-top: 10px; border-top: 2px solid var(--qmh-accent); width: fit-content; }
.qmh-gallery { min-width: 0; }
.qmh-gallery__track, .qmh-projects__track { display: grid; grid-auto-flow: column; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.qmh-gallery__track::-webkit-scrollbar, .qmh-projects__track::-webkit-scrollbar { display: none; }
.qmh-gallery__track { grid-auto-columns: 100%; }
.qmh-gallery__item { scroll-snap-align: start; aspect-ratio: 4 / 3; overflow: hidden; background: var(--qmh-bg); }
.qmh-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.qmh-slider-nav { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.qmh-progress { flex: 1; display: flex; gap: 6px; }
.qmh-progress i { flex: 1; height: 2px; background: #d6d9de; transition: background .3s; }
.qmh-progress i.is-on { background: var(--qmh-accent); }
.qmh-counter { font-size: 13px; font-weight: 600; color: var(--qmh-ink); min-width: 44px; }
.qmh .qmh-arrow {
	display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--qmh-line); border-radius: var(--qmt-radius, 5px); background: #fff;
	color: var(--qmh-ink); font-size: 18px; cursor: pointer; min-height: 0; line-height: 1;
}
.qmh .qmh-arrow:hover { background: var(--qmh-accent); border-color: var(--qmh-accent); color: #fff; }
.qmh .qmh-arrow:disabled { opacity: .4; cursor: default; background: #fff; color: var(--qmh-ink); border-color: var(--qmh-line); }

.qmh-projects { margin-top: 96px; }
.qmh-projects__track { grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; }
.qmh-project { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; padding: 28px 24px 0; }
.qmh .qmh-project__title { font-size: 17px; font-weight: 600; line-height: 1.4; text-transform: uppercase; color: var(--qmh-ink); margin-top: 22px; min-height: 48px; }
.qmh .qmh-project__title a:hover { color: var(--qmh-accent); }
.qmh-project__meta { margin-top: 10px; font-size: 14px; color: var(--qmh-muted); }
.qmh .qmh-project__link { display: block; margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--qmh-line); font-weight: 500; color: var(--qmh-ink); }
.qmh .qmh-project__link:hover { color: var(--qmh-accent); }
.qmh-project__img { display: block; margin: 0 -24px; aspect-ratio: 16 / 11; overflow: hidden; background: var(--qmh-bg); }
.qmh-project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.qmh-project:hover .qmh-project__img img { transform: scale(1.06); }
.qmh-projects .qmh-slider-nav { margin-top: 28px; }

/* ---------- Tin tức: băng chuyền thẻ bài viết ---------- */
.qmh-news { background: #fff; }

.qmh-news__track { --qmh-news-per: 5; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--qmh-news-per) - 1) * 20px) / var(--qmh-news-per)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.qmh-news__track::-webkit-scrollbar { display: none; }
.qmh-ncard { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; scroll-snap-align: start; }
.qmh .qmh-ncard__img { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--qmt-radius, 5px); background: var(--qmh-bg); }
.qmh-ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.qmh-ncard:hover .qmh-ncard__img img { transform: scale(1.06); }
.qmh-ncard__cat { margin-top: 18px; padding: 5px 12px; border-radius: 999px; background: #eef0f3; font-size: 12px; font-weight: 500; line-height: 1.2; color: #4a4f57; }
.qmh-ncard__date { margin-top: 12px; font-size: 13.5px; color: var(--qmh-muted); }
.qmh .qmh-ncard__title { margin: 8px 0 0; font-size: 16.5px; font-weight: 600; line-height: 1.45; color: var(--qmh-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.qmh .qmh-ncard__title a { color: inherit; }
.qmh .qmh-ncard__title a:hover { color: var(--qmh-accent); }
.qmh .qmh-ncard__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--qmh-accent); }

.qmh-news__dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; min-height: 12px; }
.qmh-news__dots button { width: 12px; height: 12px; padding: 0; border: 1.5px solid #9aa0a8; border-radius: 50%; background: transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.qmh-news__dots button:hover { border-color: var(--qmh-accent); }
.qmh-news__dots button.is-on { border-color: var(--qmh-accent); background: var(--qmh-accent); }

@media (max-width: 1280px) { .qmh-news__track { --qmh-news-per: 4; } }
@media (max-width: 1024px) { .qmh-news__track { --qmh-news-per: 3; } }
@media (max-width: 768px) { .qmh-news__track { --qmh-news-per: 2; gap: 16px; grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 520px) {
	.qmh-news__track { grid-auto-columns: 82%; }
}

/* CONTACT */
/* ---------- Liên hệ + form báo giá ---------- */
.qmh-contact { position: relative; overflow: hidden; isolation: isolate; padding: 96px 0; background: #1f242c; color: #fff; }
.qmh-contact__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .22; filter: grayscale(1); }
.qmh-contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(31, 36, 44, .96) 0%, rgba(31, 36, 44, .82) 50%, rgba(31, 36, 44, .9) 100%); }
.qmh-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px 96px; align-items: start; }

/* Bên trái */
.qmh-contact__bar { display: block; width: 62px; height: 5px; margin-bottom: 18px; background: var(--qmh-accent); border-radius: 3px; }
.qmh .qmh-contact__title { margin: 0 0 40px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; line-height: 1.15; color: #fff; text-transform: none; }
.qmh-contact__block { position: relative; margin: 0 0 32px 46px; }
.qmh-contact__label { display: block; margin-bottom: 10px; padding-top: 12px; font-size: 14px; font-weight: 600; color: #fff; }
.qmh-contact__label::before { content: ""; position: absolute; top: 0; left: 0; width: 32px; height: 1px; background: rgba(255, 255, 255, .6); }
.qmh .qmh-contact__phone { position: relative; display: inline-flex; align-items: center; font-family: var(--qmt-font-head); font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.1; color: var(--qmh-accent); letter-spacing: .01em; }
.qmh-contact__phone svg { position: absolute; left: -46px; width: 32px; height: 32px; stroke-width: 1.4; }
.qmh .qmh-contact__phone:hover { color: #ff6b70; }
.qmh .qmh-contact__mail { display: block; margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .75); }
.qmh .qmh-contact__mail:hover { color: #fff; }

/* Form */
.qmh-contact__line { display: block; width: 32px; height: 1px; margin-bottom: 14px; background: rgba(255, 255, 255, .6); }
.qmh-contact__form-title { margin-bottom: 22px; font-size: 16px; font-weight: 600; line-height: 1.45; color: #fff; }
.qmh-contact__form .wpcf7 { margin: 0; }
/* Bố cục form: hàng 2 cột | ô rộng | hàng cuối (đồng ý + nút) */
.qmh-contact__form form { display: grid; gap: 12px; }
.qmt-qf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qmt-qf__field { min-width: 0; }
.qmt-qf__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 6px; }
.qmt-qf__accept { flex: 1; min-width: 0; }
.qmh-contact__form .wpcf7-form-control-wrap { display: block; margin: 0; }
.qmh-contact__form input[type="text"], .qmh-contact__form input[type="tel"], .qmh-contact__form input[type="email"],
.qmh-contact__form select, .qmh-contact__form textarea {
	width: 100%; min-height: 46px; padding: 10px 14px; border: 0; border-radius: var(--qmt-radius, 5px);
	background-color: #fff; color: var(--qmh-ink); font-family: var(--qmt-font); font-size: 15px;
}
.qmh-contact__form textarea { min-height: 96px; height: 96px; resize: vertical; }
.qmh-contact__form select { color: var(--qmh-ink); }
.qmh-contact__form input:focus, .qmh-contact__form select:focus, .qmh-contact__form textarea:focus { outline: 0; box-shadow: 0 0 0 3px rgba(12, 71, 160, .45); }
.qmh-contact__form .wpcf7-acceptance { display: block; margin: 0; }
.qmh-contact__form .wpcf7-list-item { margin: 0; }
.qmh-contact__form .wpcf7-list-item label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, .85); cursor: pointer; }
.qmh-contact__form input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--qmh-accent); }
.qmh .qmh-contact__form input[type="submit"], .qmh .qmh-contact__form .wpcf7-submit {
	min-height: 46px; padding: 0 26px; border: 0; border-radius: var(--qmt-radius, 5px); background: var(--qmh-accent); color: #fff;
	font-family: var(--qmt-font-head); font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: .01em; cursor: pointer; transition: background .2s;
}
.qmh .qmh-contact__form .wpcf7-submit:hover { background: var(--qmh-accent-dark); }
.qmh-contact__form .wpcf7-not-valid-tip { margin-top: 4px; font-size: 12.5px; color: #a9bbec; }
.qmt-qf__foot { position: relative; }
.qmh-contact__form .wpcf7-spinner { position: absolute; right: 0; bottom: -30px; margin: 0; }
.qmh-contact__form .wpcf7 form .wpcf7-response-output { margin: 4px 0 0; padding: 10px 14px; border-radius: var(--qmt-radius, 5px); border-color: rgba(255, 255, 255, .4); color: #fff; font-size: 14px; }
.qmh-contact__form .wpcf7 form.sent .wpcf7-response-output { border-color: #3ecf8e; }
.qmh-contact__form .wpcf7 form.invalid .wpcf7-response-output, .qmh-contact__form .wpcf7 form.failed .wpcf7-response-output { border-color: #a9bbec; }
.qmh .qmh-contact__form p a { color: var(--qmh-accent); }

/* OTHER */
.qmh-other { background: #fff; border-top: 1px solid var(--qmh-line); padding: 22px 0; }
.qmh-other__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-size: 14px; color: var(--qmh-muted); }
.qmh-other__inner span { font-weight: 500; margin-right: 4px; }
.qmh .qmh-other a { padding: 6px 16px; border: 1px solid var(--qmh-line); color: var(--qmh-ink); }
.qmh .qmh-other a:hover { border-color: var(--qmh-accent); color: var(--qmh-accent); }

/* Responsive */
@media (max-width: 1100px) {
	.qmh-panel { grid-template-columns: 1fr; }
	.qmh-info { position: static; }
	.qmh-panel__foot { grid-column: 1; }
	.qmh-lines__track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 34%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
	.qmh-line { scroll-snap-align: start; }
	.qmh-capacity__box { grid-template-columns: 1fr; padding: 44px; }
}
@media (max-width: 900px) {
	.qmh-section { padding: 68px 0; }
	.qmh-hero__inner { flex-direction: column; align-items: flex-start; gap: 22px; bottom: 96px; }
	.qmh-hero__dot-name { display: none; }
	.qmh-contact__grid { grid-template-columns: 1fr; gap: 48px; }
	.qmh-intro__grid { grid-template-columns: 1fr; gap: 56px; }
	.qmh-intro__media { max-width: 640px; }
	.qmh-band__grid { grid-template-columns: 1fr; gap: 16px; }
	.qmh-band__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
	.qmh-projects__track { grid-auto-columns: calc((100% - 16px) / 2); }
	.qmh-projects { margin-top: 72px; }
	.qmh-head-row { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
	.qmh-wrap { padding: 0 var(--qmt-gutter, 16px); }
	/* Trừ header (~140px) và thanh menu đáy của theme (~60px) để nút & chấm slide không bị che. */
	.qmh-hero { min-height: 600px; height: calc(100svh - 68px); max-height: none; }
	.qmh .qmh-hero__title { font-size: 40px; }
	.qmh-hero__right p { font-size: 15px; }
	.qmh .qmh-hero__dot { padding: 16px 0 20px; justify-content: center; }
	.qmh-hero__dot-bar { right: 6px; }
	.qmh-intro__points { grid-template-columns: 1fr; }
	.qmh-stats { gap: 8px; }
	.qmh-stat { padding: 16px 12px; }
	.qmh-stat__icon { display: none; }
	.qmh-stat p { display: none; }
	.qmh-intro__badge { left: 12px; top: 12px; padding: 14px 16px; gap: 10px; }
	.qmh-intro__badge-num { font-size: 40px; }
	.qmh-lines__track { grid-auto-columns: 70%; }
	.qmh-tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
	.qmh .qmh-tab { white-space: nowrap; padding: 10px 14px; }
	.qmh-info { padding: 26px 20px; }
	.qmh-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.qmh-card__body { padding: 12px; }
	.qmh-card__title, .qmh-card__price { font-size: 14px; }
	.qmh .qmh-card--cta { grid-column: span 2; min-height: 0; }
	.qmh-capacity { padding-top: 20px; }
	.qmh-capacity__box { padding: 28px 20px; margin: 0 -16px; }
	.qmh-steps { gap: 26px 16px; }
	.qmh-steps span { font-size: 34px; }
	.qmh-projects__track { grid-auto-columns: 86%; }
	.qmh-contact { padding: 64px 0; }
	.qmt-qf__row { grid-template-columns: 1fr; }
	.qmt-qf__foot { flex-direction: column; align-items: stretch; }
	.qmh .qmh-contact__form .wpcf7-submit { width: 100%; }
	.qmh-contact__block, .qmh .qmh-cpromise, .qmh-contact__quick { margin-left: 40px !important; }
	.qmh .qmh-btn { padding: 0 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.qmh *, .qmh *::before, .qmh *::after { animation: none !important; transition: none !important; }
}
/* Giới thiệu: 1 cột từ tablet trở xuống, cụm ảnh căn giữa */
@media (max-width: 1100px) {
	.qmh-intro__grid { grid-template-columns: 1fr; gap: 56px; }
	.qmh-intro__media { width: 100%; max-width: 640px; margin: 0 auto; }
}
/* Khối liên hệ: nền bản đồ thế giới dạng chấm + form hẹp hơn */
.qmh-contact { background: #161b24; }
.qmh-contact__map { position: absolute; inset: 0; z-index: -2; background-repeat: no-repeat; background-position: calc(50% - 360px) 45%; background-size: 1600px auto; opacity: .45; filter: blur(1.5px); } /* Việt Nam ở x=1266/1600 trong ảnh -> nằm ngay trái form */
.qmh-contact:has(.qmh-contact__map)::after { background: linear-gradient(90deg, rgba(22, 27, 36, .82) 0%, rgba(22, 27, 36, .55) 50%, rgba(22, 27, 36, .78) 100%); } /* lớp phủ làm chìm bản đồ, chữ nổi hơn */
.qmh-contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); justify-content: space-between; }
@media (max-width: 900px) {
	.qmh-contact__grid { grid-template-columns: minmax(0, 1fr); }
	.qmh-contact__map { background-position: 72% 18%; background-size: 260% auto; }
}
@media (max-width: 1360px) and (min-width: 901px) { .qmh-contact__map { background-position: calc(50% - 480px) 45%; } }
@media (max-width: 1100px) and (min-width: 901px) { .qmh-contact__map { background-position: calc(50% - 620px) 45%; } }

/* Banner: độ tối lớp phủ (chỉnh ở "Banner trang chủ") */
.qmh-hero--light .qmh-hero__slide::after { background: linear-gradient(180deg, rgba(10, 14, 24, .12) 0%, rgba(10, 14, 24, 0) 35%, rgba(10, 14, 24, .7) 100%); }
.qmh-hero--strong .qmh-hero__slide::after { background: linear-gradient(180deg, rgba(10, 14, 24, .45) 0%, rgba(10, 14, 24, .3) 35%, rgba(10, 14, 24, .94) 100%); }

/* =========================================================
   Làm mới bố cục trang chủ: phần đầu khối thống nhất, nhịp nền, thẻ.
   ========================================================= */
.qmh-section { padding: 88px 0; }
.qmh .qmh-title { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.005em; }

/* Phần đầu khối: dòng nhỏ + tiêu đề bên trái, link/tab bên phải */
.qmh-shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.qmh-shead__text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.qmh-shead__text .qmh-title { margin: 0 !important; }
.qmh-dot-kicker { font-size: 13px; color: var(--qmh-accent); }
.qmh-dot-kicker::before { width: 8px; height: 8px; }
.qmh-dot-kicker--light { color: #fff; }
.qmh .qmh-shead__link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--qmh-ink); border-bottom: 2px solid var(--qmh-accent); }
.qmh .qmh-shead__link .qmh-sq { width: 8px; height: 8px; background: var(--qmh-accent); }
.qmh .qmh-shead__link:hover { color: var(--qmh-accent); }
.qmh .qmh-shead__link:hover .qmh-sq { transform: translateX(4px); }

/* Nhịp nền: trắng – tối – xám nhạt – trắng – xám nhạt – trắng */
.qmh-intro { background: #fff; }
.qmh-lines { background: #fff; }
.qmh-products { background: #fff; }
.qmh-capacity { background: var(--qmh-bg); padding: 88px 0; }
.qmh-news { background: #fff; }

/* Sản phẩm chủ lực: tên nằm trên ảnh */
.qmh-lines__track { gap: 18px; }
.qmh .qmh-line { position: relative; overflow: hidden; border-radius: var(--qmt-radius, 5px); background: var(--qmh-dark); color: #fff; }
.qmh-line__img { aspect-ratio: 3 / 4.2; }
.qmh .qmh-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 24, 0) 40%, rgba(10, 14, 24, .88) 100%); pointer-events: none; transition: opacity .3s; }
.qmh .qmh-line__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px 20px; background: none; }
.qmh-line__tag { font-size: 12px; font-weight: 500; letter-spacing: .03em; color: rgba(255, 255, 255, .7); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.qmh .qmh-line__name { font-family: var(--qmt-font-head); font-size: 18px; font-weight: 700; color: #fff; }
.qmh-line__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #fff; opacity: .9; }
.qmh-line__go .qmh-sq { width: 8px; height: 8px; background: var(--qmh-accent); }
.qmh .qmh-line:hover .qmh-line__bar { background: none; color: #fff; }
.qmh .qmh-line:hover .qmh-line__go .qmh-sq { transform: translateX(4px); }
.qmh .qmh-line:hover::after { opacity: .85; }

/* Danh mục sản phẩm: thẻ bo góc, nền khung thông tin */
.qmh-info { border-radius: var(--qmt-radius, 5px); }
.qmh .qmh-card { border-radius: var(--qmt-radius, 5px); overflow: hidden; }
.qmh .qmh-card:hover { border-color: var(--qmh-line); box-shadow: 0 14px 30px rgba(10, 20, 40, .1); transform: translateY(-3px); }
.qmh .qmh-card--cta { background: var(--qmh-dark); }

/* Năng lực thi công: một khung trắng gọn */
.qmh-capacity > .qmh-wrap > .qmh-shead { margin-bottom: 32px; }
.qmh-capacity__box { gap: 48px; padding: 44px; border-radius: var(--qmt-radius, 5px); box-shadow: 0 1px 2px rgba(10, 20, 40, .04); }
.qmh-steps { gap: 26px 28px; margin-top: 32px !important; }
.qmh-steps span { font-size: 15px; font-weight: 700; color: var(--qmh-accent); }
.qmh-steps strong { margin: 8px 0 4px; padding-top: 0; border-top: 0; font-size: 17px; }
.qmh-steps li { padding-top: 16px; border-top: 1px solid var(--qmh-line); }
.qmh-gallery__item { border-radius: var(--qmt-radius, 5px); }

/* Dự án: ảnh trên, nội dung dưới */
.qmh-projects { margin-top: 88px; }
.qmh-projects__track { gap: 20px; grid-auto-columns: calc((100% - 40px) / 3); }
.qmh .qmh-project { padding: 0; border-radius: var(--qmt-radius, 5px); overflow: hidden; background: #fff; transition: box-shadow .3s, transform .3s; }
.qmh .qmh-project:hover { box-shadow: 0 14px 30px rgba(10, 20, 40, .1); transform: translateY(-3px); }
.qmh .qmh-project__img { order: 0; margin: 0; aspect-ratio: 16 / 10; }
.qmh-project__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 22px 24px 24px; }
.qmh .qmh-project__meta { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--qmh-accent); }
.qmh .qmh-project__title { margin: 0; min-height: 0; font-size: 17px; font-weight: 700; line-height: 1.4; text-transform: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qmh .qmh-project__link { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding: 14px 0 0; border-top: 1px solid var(--qmh-line); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.qmh .qmh-project__link .qmh-sq { width: 8px; height: 8px; background: var(--qmh-accent); }

@media (max-width: 1100px) {
	.qmh-projects__track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 768px) {
	.qmh-section, .qmh-capacity { padding: 64px 0; }
	.qmh-shead { margin-bottom: 28px; }
	.qmh-projects { margin-top: 64px; }
	.qmh-projects__track { grid-auto-columns: 85%; }
	.qmh-capacity__box { padding: 24px; gap: 28px; }
}
.qmh-ncard__more svg { width: 15px; height: 15px; transform: rotate(-90deg); stroke-width: 2.6; transition: transform .25s; }
.qmh-ncard__more:hover svg { transform: rotate(-90deg) translateY(3px); }

/* Khối liên hệ nền tối: chữ xanh sáng hơn để dễ đọc */
.qmh .qmh-contact__phone, .qmh .qmh-contact__form p a { color: #8fa6e6; }
.qmh .qmh-contact__phone svg { color: #8fa6e6; }

/* =========================================================
   Trang giới thiệu (page-gioi-thieu.php) – dùng chung style trang chủ
   ========================================================= */
.qma-text p { margin: 0 0 14px; font-size: 16px; line-height: 1.75; color: var(--qmh-text); text-align: justify; }
.qma-text p:last-child { margin-bottom: 0; }

.qma-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px; border-radius: var(--qmt-radius, 5px); background: var(--qmh-accent); color: #fff; overflow: hidden; }
.qma-stat { display: flex; flex-direction: column; gap: 6px; padding: 30px 32px; border-left: 1px solid rgba(255, 255, 255, .18); }
.qma-stat:first-child { border-left: 0; }
.qma-stat strong { font-family: var(--qmt-font-head); font-size: clamp(32px, 3.4vw, 46px); font-weight: 700; line-height: 1; }
.qma-stat strong sup { font-size: .5em; margin-left: 2px; }
.qma-stat span { font-size: 14px; color: rgba(255, 255, 255, .82); }

.qma-mvv { background: var(--qmh-bg); }
.qma-mvv__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.qma-mvv__item { position: relative; padding: 34px 30px 32px; border-radius: var(--qmt-radius, 5px); background: #fff; border-top: 3px solid var(--qmh-accent); transition: box-shadow .3s, transform .3s; }
.qma-mvv__item:hover { box-shadow: 0 14px 30px rgba(10, 20, 40, .08); transform: translateY(-3px); }
.qma-mvv__num { position: absolute; right: 24px; top: 20px; font-family: var(--qmt-font-head); font-size: 40px; font-weight: 700; line-height: 1; color: var(--qmh-bg); }
.qma-mvv__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: var(--qmt-radius, 5px); background: rgba(12, 71, 160, .08); color: var(--qmh-accent); }
.qma-mvv__icon svg { width: 24px; height: 24px; }
.qmh .qma-mvv__item h3 { font-size: 19px; font-weight: 700; color: var(--qmh-ink); }
.qma-mvv__item p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--qmh-muted); }



.qma-offices { background: #fff; }
.qma-offices__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.qma-office { display: flex; gap: 16px; padding: 26px 24px; border-radius: var(--qmt-radius, 5px); background: var(--qmh-bg); }
.qma-office__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--qmh-accent); }
.qma-office__icon svg { width: 20px; height: 20px; }
.qma-office b { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--qmh-ink); }
.qma-office p { font-size: 14.5px; line-height: 1.6; color: var(--qmh-muted); }

@media (max-width: 1100px) {
	.qma-offices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qma-mvv__grid { grid-template-columns: 1fr; }
	.qma-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qma-stat:nth-child(3) { border-left: 0; }
	.qma-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .18); }
}
@media (max-width: 600px) {
	.qma-offices__grid { grid-template-columns: 1fr; }
	.qma-stats { margin-top: 48px; }
	.qma-stat { padding: 22px 18px; }
}

/* Giới thiệu: đầu trang nền sáng + tổng quan 2 cột chữ */
.qma-head { padding: 34px 0 40px; background: linear-gradient(180deg, #f6f7f9 0%, #fff 100%); border-bottom: 1px solid var(--qmh-line); }
.qma-head .qmt-crumbs { font-size: 14px; color: var(--qmh-muted); }
.qma-head .qmt-crumbs a { color: var(--qmh-ink); }
.qma-head .qmt-crumbs a:hover { color: var(--qmh-accent); }
.qmh .qma-head__title { margin: 18px 0 0; font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; color: var(--qmt-title, var(--qmh-accent)); }
.qma-head__lead { max-width: 760px; margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--qmh-muted); }

.qma-overview { background: #fff; }
.qma-overview__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px 72px; align-items: start; }
.qma-overview__head { display: flex; flex-direction: column; gap: 14px; }
.qma-overview__head .qmh-title { margin: 0 !important; }
.qma-overview__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 18px; }
.qma-stats { margin-top: 64px; }
.qma-band { padding: 80px 0; }

@media (max-width: 900px) {
	.qma-overview__grid { grid-template-columns: 1fr; }
	.qma-overview__actions { order: 3; }
}
@media (max-width: 600px) {
	.qma-head { padding: 22px 0 26px; }
	.qma-stats { margin-top: 40px; }
}
.qma-head .qmt-crumbs > :last-child, .qma-head .qmt-crumbs span { color: var(--qmh-muted); }
.qma .qmh-band__head .qmh-band__title { margin-top: 0; }
.qmh .qmh-band__head .qmh-band__title { margin-top: 0; }

/* Giới thiệu trang chủ: gọn cả 2 cột – ảnh cao bằng cột chữ */
.qmh-intro { padding: 72px 0; }
.qmh-intro__grid { gap: 56px; align-items: stretch; }
.qmh-intro__media { display: flex; }
.qmh-intro__img { flex: 1; aspect-ratio: auto; min-height: 340px; }
.qmh-intro__badge { left: 18px; top: 18px; gap: 12px; padding: 14px 18px; }
.qmh-intro__badge-num { font-size: 44px; }
.qmh-intro__badge-txt b { font-size: 14px; }
.qmh-intro__badge-txt small { font-size: 12px; }
.qmh .qmh-intro__title { margin-bottom: 14px; font-size: clamp(24px, 2.4vw, 32px); }
.qmh-intro__lead { font-size: 15.5px; line-height: 1.7; }
.qmh-intro__points { gap: 8px 20px; margin: 18px 0 20px !important; }
.qmh-intro__points li { font-size: 14.5px; }
.qmh-intro__points svg { width: 20px; height: 20px; }
.qmh-stats { gap: 12px; }
.qmh-stat { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 12px; padding: 14px 16px; }
.qmh-stat__icon { grid-row: span 2; width: 24px; height: 24px; margin: 0; }
.qmh-stat__num strong { font-size: clamp(24px, 2.2vw, 30px); }
.qmh-stat__num sup { font-size: 16px; }
.qmh-stat__unit { margin: 0; font-size: 13px; }
.qmh-stat p { display: none; }
.qmh-intro__actions { margin-top: 24px; }
@media (max-width: 1100px) {
	.qmh-intro__media { display: block; }
	.qmh-intro__img { aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 768px) { .qmh-intro { padding: 56px 0; } }
.qmh-intro__img { position: relative; }
.qmh-intro__img img { position: absolute; inset: 0; }
@media (max-width: 1100px) { .qmh-intro__img img { position: static; } }
@media (max-width: 600px) {
	.qmh-stats { gap: 8px; }
	.qmh-stat { grid-template-columns: 1fr; padding: 12px; }
	.qmh-stat__icon { display: none; }
}
.qmh-lines + .qmh-products { padding-top: 24px; }

/* Khối liên hệ trang chủ: quy trình báo giá + cam kết (thay danh sách văn phòng – đã có ở footer) */
.qmh-csteps { display: grid; gap: 14px; counter-reset: none; }
.qmh-csteps li { display: flex; align-items: flex-start; gap: 14px; }
.qmh-csteps__num { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(143, 166, 230, .6); font-size: 13px; font-weight: 700; color: #8fa6e6; }
.qmh-csteps b { display: block; font-size: 15.5px; font-weight: 600; color: #fff; }
.qmh-csteps small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.qmh-cpromise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; max-width: 460px; margin: 0 0 30px 46px !important; }
.qmh-cpromise li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(255, 255, 255, .88); }
.qmh-cpromise svg { flex: none; width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: rgba(143, 166, 230, .2); color: #8fa6e6; stroke-width: 3; }
.qmh-contact__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-left: 46px; }
.qmh .qmh-contact__zalo { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 24px; border-radius: var(--qmt-radius, 5px); background: #0068ff; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.qmh .qmh-contact__zalo .qmh-sq { width: 8px; height: 8px; background: #fff; }
.qmh .qmh-contact__zalo:hover { background: #0052cc; color: #fff; }
.qmh-contact__hours { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.qmh-contact__hours svg { width: 16px; height: 16px; color: #8fa6e6; }
@media (max-width: 600px) { .qmh-cpromise { grid-template-columns: 1fr; } }
/* Cam kết nằm dưới form để 2 cột cân đối */
.qmh .qmh-contact__form .qmh-cpromise { max-width: none; margin: 28px 0 0 !important; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.qmh-contact__grid { align-items: start; }
