/* ==========================================================================
   Thăng Long EM – child theme CSS (nạp SAU toàn bộ CSS theme cha VinaSite).

   1) Design tokens theo logo: xanh công nghiệp đậm (nền/tiêu đề) + đỏ logo
      (CTA) + vàng logo (điểm nhấn nhỏ). Nền/viền chuyển tông lạnh.
   2) Tinh chỉnh các section trang chủ và header/footer cho ngành M&E.
   ========================================================================== */

/* ---- 1. Design tokens ---- */
:root {
  --vs-bg-light: #f5f9fd;
  --vs-bg-soft: #eaf2fa;
  --vs-border: #d9e4f0;
  --vs-lotus: #946200;          /* amber đậm — chữ nhấn nhỏ trên nền sáng (AA) */
  --vs-lotus-soft: #fff5d6;
  --tl-yellow: #ffd100;         /* vàng logo — chỉ dùng trang trí, chữ tối đè lên */
  --tl-ink: #17325a;            /* chữ đậm trên nền vàng/sáng */
  --tl-amber: #ffbb33;          /* vàng cam — chữ/icon nhấn trên nền xanh đậm (hero bài viết, chuyên mục, trang) */
  --vs-shadow-sm: 0 1px 3px rgba(15, 40, 75, .08), 0 1px 2px rgba(15, 40, 75, .06);
  --vs-shadow-md: 0 6px 22px rgba(15, 40, 75, .12);
  --vs-shadow-lg: 0 18px 48px rgba(15, 40, 75, .16);
}

/* Nút mặc định nền đỏ logo → chữ phải trắng (thay cho nâu đậm của theme cha). */
.vs-btn { --_fg: #fff; }
.vs-btn:hover { color: #fff; }
.vs-btn--outline { --_fg: var(--vs-primary); }
.vs-btn--outline:hover { color: var(--vs-primary); }
.vs-card:hover { border-color: #b9d2ea; }

/* Focus ring của form theo tông xanh. */
.vs-field input:focus, .vs-field select:focus, .vs-field textarea:focus {
  border-color: var(--vs-primary);
  box-shadow: 0 0 0 3px rgba(30, 90, 168, .16);
}

/* ---- 2. Topbar ---- */
.vs-topbar { color: #d7e3f2; }
.vs-topbar .vs-ico { color: var(--tl-yellow); }
.vs-topbar__list a:hover { color: var(--tl-yellow); }
.vs-topbar__socials a { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.12); }
.vs-topbar__socials a .vs-ico { width: 15px; height: 15px; color: #fff; }
.vs-topbar__socials a:hover { background: var(--tl-yellow); }
.vs-topbar__socials a:hover .vs-ico { color: var(--tl-ink); }

/* ---- 3. Header chính ---- */
/* Chặn tràn ngang toàn trang (off-canvas dùng translateX và các dải full-width). */
html, body { overflow-x: clip; }

/* Header nhiều thành phần (menu 7 mục + tìm kiếm + hotline + CTA) nên dùng
   container rộng hơn phần nội dung, tránh tràn khỏi khung 1200px. */
.vs-header .vs-container { max-width: 1500px; }
.vs-bar__inner { gap: 1rem; }
.vs-nav { margin-inline: .5rem; }
.vs-menu { gap: clamp(.3rem, 1vw, 1rem); }
.vs-menu > li > a { padding-inline: .5rem; font-size: 1.08rem; }
.tl-btn-quote { padding: .68rem 1.1rem; font-size: .95rem; }

.vs-logo { gap: .65rem; text-decoration: none; }
.vs-logo img { height: 52px; }
.tl-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.tl-logo-text strong { color: var(--vs-primary); font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; }
.tl-logo-text small { color: var(--vs-muted); font-size: .72rem; font-weight: 600; letter-spacing: .02em; }
.vs-bar.is-stuck .vs-logo img { height: 44px; }

.vs-header__actions { gap: .8rem; }

/* Mega menu: hàng nhóm dịch vụ phía trên lưới. */
.tl-mega-groups { display: flex; flex-wrap: wrap; gap: .4rem; padding-bottom: .8rem; margin-bottom: .6rem; border-bottom: 1px solid var(--vs-border); }
.tl-mega-groups a {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .42rem .8rem; border-radius: 999px; border: 1px solid var(--vs-border);
  font-size: .84rem; font-weight: 700; color: var(--vs-primary); text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.tl-mega-groups a .vs-ico { width: 16px; height: 16px; color: var(--vs-accent); }
.tl-mega-groups a:hover { background: var(--vs-primary); border-color: var(--vs-primary); color: #fff; }
.tl-mega-groups a:hover .vs-ico { color: var(--tl-yellow); }
.vs-mega { width: min(820px, 94vw); }
.vs-mega__foot a { color: var(--vs-primary); }
.vs-mega__foot a:hover { color: var(--vs-accent); }

/* Menu chính: mục hiện tại + hover dùng đỏ đậm đã đạt AA trên nền trắng. */
.vs-menu > li > a:hover { color: var(--vs-accent); }

/* ---- 4. Hero ---- */
.tl-hero .vs-hero__bg::after {
  background: linear-gradient(100deg, rgba(10, 30, 56, .92) 0%, rgba(13, 38, 70, .72) 50%, rgba(13, 38, 70, .38) 100%);
}
.tl-hero .vs-hero__desc { color: #d9e6f5; }
.tl-hero .vs-hero__eyebrow {
  color: var(--tl-ink); background: var(--tl-yellow);
  padding: .3rem .7rem; border-radius: 6px; display: inline-block;
}
.tl-hero .vs-hero__dot.is-active::before { background: var(--tl-yellow); }

/* ---- 5. Thanh năng lực (5 cột) ----
   Một "thẻ" trắng liền khối, các ô ngăn bằng đường kẻ mảnh (box-shadow phải +
   dưới, phần thừa ở mép bị overflow cắt) → bố cục 5 / 3+2 / 2+2+1 / 1 cột luôn
   kín hàng, không ô mồ côi, và không lộ mảng nền khi hiệu ứng reveal chạy. */
.vs-trust:has(.tl-trust-5) { background: linear-gradient(180deg, #fff 0%, var(--vs-bg-light) 100%); }
.tl-trust-5 {
  grid-template-columns: repeat(5, 1fr); gap: 0;
  padding: 0; margin-block: 2rem;
  background: #fff; border: 1px solid var(--vs-border);
  border-radius: 16px; overflow: hidden; box-shadow: var(--vs-shadow-sm);
}
.tl-trust-5 .vs-trust__item {
  flex-direction: column; align-items: flex-start; gap: .85rem;
  padding: 1.5rem 1.35rem 1.4rem; border-radius: 0; background: #fff;
  box-shadow: 1px 0 0 var(--vs-border), 0 1px 0 var(--vs-border);
  transition: opacity .5s ease, transform .5s ease, background-color .25s ease;
}
/* Vạch đỏ logo chạy ngang mép trên khi hover (thay vạch dọc của theme cha). */
.tl-trust-5 .vs-trust__item::before {
  left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 3px; border-radius: 0;
  background: linear-gradient(90deg, var(--vs-accent), var(--tl-yellow));
  transform: scaleX(0); transform-origin: left;
}
.tl-trust-5 .vs-trust__item:hover { transform: none; box-shadow: 1px 0 0 var(--vs-border), 0 1px 0 var(--vs-border); background: var(--vs-bg-light); }
.tl-trust-5 .vs-trust__item:hover::before { transform: scaleX(1); }
.tl-trust-5 .vs-ico-chip {
  width: 48px; height: 48px; border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, var(--vs-primary), var(--vs-primary-dark));
  box-shadow: 0 6px 14px rgba(30, 90, 168, .22);
}
.tl-trust-5 .vs-ico-chip .vs-ico { width: 24px; height: 24px; }
.tl-trust-5 .vs-trust__item:hover .vs-ico-chip { transform: translateY(-2px) rotate(-4deg); box-shadow: 0 8px 18px rgba(229, 30, 34, .28); }
.tl-trust-5 .vs-trust__title {
  font-size: 1.02rem; line-height: 1.35; font-weight: 700; letter-spacing: -.005em;
  color: var(--tl-ink); margin: 0 0 .35rem; text-wrap: balance;
}
.tl-trust-5 .vs-trust__item:hover .vs-trust__title { color: var(--vs-primary); }
.tl-trust-5 .vs-trust__item p { font-size: .86rem; line-height: 1.55; color: var(--vs-muted); text-wrap: pretty; }
.js .tl-trust-5 .vs-trust__item:nth-child(5).vs-reveal { transition-delay: .4s; }

/* ---- 6. Giới thiệu ---- */
.vs-about__badge { background: var(--tl-yellow); color: var(--tl-ink); }

/* ---- 7. Lưới dịch vụ (9 thẻ, 3 cột) ---- */
.tl-services-grid { grid-template-columns: repeat(3, 1fr); }
.tl-services-grid .vs-practice__subs a { color: var(--vs-primary); }
.tl-services-grid .vs-practice__subs a:hover { background: var(--vs-lotus-soft); color: var(--vs-lotus); }
.tl-section-foot { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-top: 2.2rem; }

/* ---- 8. Giải pháp theo nhu cầu (4 khối) ---- */
/* Thẻ dọc: icon + số thứ tự vòng đời công trình (01 tư vấn → 04 bảo trì),
   tiêu đề, mô tả, chân thẻ "Xem chi tiết". Cả thẻ là 1 link. */
.tl-solutions-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.tl-problem-text { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.tl-problem-text small { font-weight: 500; color: var(--vs-muted); font-size: .8rem; line-height: 1.5; }

.tl-sol {
  position: relative; overflow: hidden;
  flex-direction: column; align-items: stretch; gap: 1rem;
  padding: 1.6rem 1.5rem 1.35rem; border-radius: 16px;
  box-shadow: var(--vs-shadow-sm); text-decoration: none;
}
/* Tăng độ ưu tiên để thắng `.js .vs-reveal(.is-visible)` của theme cha (transition/transform). */
.js .tl-solutions-grid .tl-sol { transition: opacity .5s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.tl-sol, .tl-sol * { text-decoration: none !important; }   /* bỏ gạch chân link kế thừa từ nội dung */
.tl-sol::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--vs-accent), var(--tl-yellow));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.tl-sol__top { display: flex; align-items: flex-start; justify-content: space-between; }
.tl-sol .vs-ico-chip {
  width: 52px; height: 52px; border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, var(--vs-primary), var(--vs-primary-dark));
  box-shadow: 0 6px 14px rgba(30, 90, 168, .22);
  transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}
.tl-sol .vs-ico-chip .vs-ico { width: 26px; height: 26px; }
.tl-sol__num {
  font-size: 2.6rem; font-weight: 800; line-height: .9; letter-spacing: -.03em;
  color: #dfe9f5; transition: color .3s ease;
}
.tl-sol .tl-problem-text { flex: 1; gap: .45rem; }
.tl-sol .tl-problem-text strong { font-size: 1.14rem; line-height: 1.3; font-weight: 700; color: var(--tl-ink); transition: color .3s ease; }
.tl-sol .tl-problem-text small { font-size: .9rem; line-height: 1.6; }
.tl-sol__more {
  display: flex; align-items: center; gap: .4rem;
  padding-top: .95rem; border-top: 1px solid var(--vs-border);
  font-size: .88rem; font-weight: 700; color: var(--vs-accent-hover);
}
.tl-sol__more .vs-ico { width: 18px; height: 18px; transition: transform .3s ease; }

.tl-sol:hover,
.js .tl-solutions-grid .tl-sol.is-visible:hover { transform: translateY(-5px); border-color: #b9d2ea; box-shadow: var(--vs-shadow-lg); }
.tl-sol:hover::before { transform: scaleX(1); }
.tl-sol:hover .vs-ico-chip { background: linear-gradient(135deg, var(--vs-accent), var(--vs-accent-hover)); box-shadow: 0 8px 18px rgba(229, 30, 34, .28); transform: rotate(-4deg); }
.tl-sol:hover .tl-sol__num { color: rgba(229, 30, 34, .16); }
.tl-sol:hover .tl-problem-text strong { color: var(--vs-primary); }
.tl-sol:hover .tl-sol__more .vs-ico { transform: translateX(5px); }
.tl-sol:focus-visible { outline: 3px solid var(--vs-primary); outline-offset: 3px; }
.js .tl-sol:nth-child(2).vs-reveal { transition-delay: .08s; }
.js .tl-sol:nth-child(3).vs-reveal { transition-delay: .16s; }
.js .tl-sol:nth-child(4).vs-reveal { transition-delay: .24s; }
.js .tl-sol.vs-reveal.is-visible:hover { transition-delay: 0s; }

/* ---- 9. Vì sao chọn: nền xanh đậm, 2 cột (giới thiệu + CTA | lưới 6 lý do 2x3) ---- */
.tl-why {
  position: relative; overflow: hidden; color: #c9d8ea;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 209, 0, .10), transparent 38%),
    radial-gradient(circle at 6% 92%, rgba(229, 30, 34, .14), transparent 40%),
    linear-gradient(135deg, #0d2442 0%, #143765 100%);
}
/* Lưới kỹ thuật mờ — gợi bản vẽ M&E. */
.tl-why::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}
.tl-why__layout { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.tl-why__intro .vs-eyebrow { color: var(--tl-yellow); }
.tl-why__intro h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; margin-bottom: 1rem; }
.tl-why__intro h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 1.1rem; border-radius: 4px; background: linear-gradient(90deg, var(--vs-accent), var(--tl-yellow)); }
.tl-why__intro p { font-size: 1rem; line-height: 1.7; color: #c9d8ea; margin-bottom: 1.6rem; }
.tl-why__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.tl-why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.tl-why__item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.3rem 1.25rem; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(4px);
}
.js .tl-why .tl-why__item { transition: opacity .5s ease, transform .3s ease, background-color .3s ease, border-color .3s ease; }
.tl-why__item .vs-ico-chip {
  width: 48px; height: 48px; border-radius: 12px; flex: none;
  background: var(--tl-yellow); color: var(--tl-ink);
  box-shadow: 0 8px 18px -6px rgba(255, 209, 0, .45);
  transition: transform .3s ease;
}
.tl-why__item .vs-ico-chip .vs-ico { width: 24px; height: 24px; }
.tl-why .tl-why__item h3 { font-size: 1.04rem; line-height: 1.35; color: #fff; margin: .1rem 0 .35rem; }
.tl-why__item p { font-size: .88rem; line-height: 1.6; color: #b8c9de; margin: 0; }
.tl-why__item:hover,
.js .tl-why .tl-why__item.is-visible:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .09); border-color: rgba(255, 209, 0, .45); }
.tl-why__item:hover .vs-ico-chip { transform: rotate(-6deg) scale(1.06); }
.js .tl-why__item:nth-child(2).vs-reveal { transition-delay: .08s; }
.js .tl-why__item:nth-child(3).vs-reveal { transition-delay: .16s; }
.js .tl-why__item:nth-child(4).vs-reveal { transition-delay: .24s; }
.js .tl-why__item:nth-child(5).vs-reveal { transition-delay: .32s; }
.js .tl-why__item:nth-child(6).vs-reveal { transition-delay: .4s; }
.js .tl-why__item.vs-reveal.is-visible:hover { transition-delay: 0s; }

/* ---- 10. Quy trình (6 bước) ---- */
.tl-process-6 { grid-template-columns: repeat(6, 1fr); }
.vs-process__num { box-shadow: 0 10px 22px -6px rgba(229, 30, 34, .4); border-color: #fff; }
.vs-process__step:hover .vs-process__num { box-shadow: 0 14px 26px -6px rgba(229, 30, 34, .45); }
.vs-process__ico { border-color: #fff; }

/* ---- 11. Dự án ---- */
.tl-proj-grid { grid-template-columns: repeat(4, 1fr); }
.tl-proj-grid .vs-postcard__media img { aspect-ratio: 16/10; object-fit: cover; width: 100%; height: auto; display: block; }
.tl-proj-scope, .tl-proj-place {
  display: flex; align-items: flex-start; gap: .4rem;
  font-size: .82rem; color: var(--vs-muted); margin: 0 0 .4rem; line-height: 1.5;
}
.tl-proj-scope .vs-ico, .tl-proj-place .vs-ico { width: 15px; height: 15px; flex: none; margin-top: .18em; color: var(--vs-accent); }
.tl-proj-more { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: var(--vs-primary); text-decoration: none; font-size: .85rem; }
.tl-proj-more:hover { color: var(--vs-accent); }
.tl-proj-more .vs-ico { width: 15px; height: 15px; }

/* ---- 12. Thư viện ảnh ---- */
.tl-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tl-gallery__item { margin: 0; border-radius: var(--vs-radius-md); overflow: hidden; position: relative; border: 1px solid var(--vs-border); background: var(--vs-bg-soft); }
.tl-gallery__item img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .3s ease; }
.tl-gallery__item:hover img { transform: scale(1.04); }
.tl-gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem .8rem .6rem; font-size: .78rem; color: #fff; line-height: 1.4;
  background: linear-gradient(transparent, rgba(10, 30, 56, .85));
}

/* ---- 13. Hồ sơ năng lực ---- */
.tl-capacity { background: linear-gradient(120deg, var(--vs-primary-dark) 0%, var(--vs-primary) 100%); color: #dbe7f5; }
.tl-capacity h2 { color: #fff; }
.tl-capacity p { color: #c9d8ea; }
.tl-capacity__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.tl-capacity__list { list-style: none; margin: 1.3rem 0 1.6rem; padding: 0; display: grid; gap: .8rem; }
.tl-capacity__list li { display: flex; gap: .6rem; align-items: flex-start; }
.tl-capacity__list .vs-ico { color: var(--tl-yellow); flex: none; margin-top: 2px; }
.tl-capacity__list strong { color: #fff; }
.tl-capacity__media { border-radius: var(--vs-radius-lg); overflow: hidden; box-shadow: var(--vs-shadow-lg); max-width: 380px; justify-self: center; }
.tl-capacity__media img { width: 100%; height: auto; display: block; }
.tl-eyebrow-light { color: var(--tl-yellow); }

/* ---- 14. Tin tức ---- */
.vs-news__foot { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; }
.vs-news__cat { color: var(--vs-lotus); background: var(--vs-lotus-soft); }

/* ---- 15. FAQ ---- */
.tl-faq-h { margin: 0; font-size: inherit; }
.vs-faq__ico { box-shadow: 0 3px 8px rgba(229, 30, 34, .25); }

/* ---- 16. CTA strip ---- */
.vs-ctastrip__bg::after {
  background: linear-gradient(90deg, rgba(10, 30, 56, .95) 0%, rgba(13, 38, 70, .84) 50%, rgba(13, 38, 70, .6) 100%);
}
.vs-ctastrip p { color: #d9e6f5; }

/* ---- 17. Form ---- */
.tl-consult-hours { display: flex; align-items: center; gap: .45rem; color: var(--vs-muted); font-size: .9rem; margin-top: .8rem; }
.tl-consult-hours .vs-ico { width: 17px; height: 17px; color: var(--vs-accent); }
.vs-consult__phone .vs-ico-chip { background: var(--tl-yellow); color: var(--tl-ink); }

/* ---- 18. Footer (5 cột, tông xanh đậm) ---- */
.vs-footer { background: #0e2745; color: #c9d8ea; border-top-color: var(--vs-accent); }
.vs-footer a { color: #c9d8ea; }
.vs-footer a:hover { color: var(--tl-yellow); }
.vs-footer h3::after { background: var(--vs-accent); }
.vs-footer__contact .vs-ico { color: var(--tl-yellow); }
.vs-footer__map { border-color: var(--tl-yellow); color: var(--tl-yellow); }
.vs-footer__map:hover { background: var(--tl-yellow); color: var(--tl-ink); }
.tl-footer__grid { grid-template-columns: 1.35fr 1.25fr 1.1fr 1fr 1fr; }
.tl-footer .vs-footer__brand img { height: 64px; }
.tl-footer-cta { margin-top: 1.1rem; border-color: rgba(255, 255, 255, .45); }
.tl-socials a:hover { background: var(--tl-yellow); border-color: var(--tl-yellow); }
.tl-socials a:hover .vs-ico { color: var(--tl-ink); }

/* ---- 19. Nút liên hệ nổi: dùng bộ mới của child, tắt plugin cũ (rung lắc). ---- */
.box-support { display: none !important; }
.tl-floats { display: flex; }
.vs-float::before { animation: none; opacity: 0; }          /* bỏ vòng nhấp nháy */
.vs-float { transition: transform .15s ease, box-shadow .15s ease; }
.vs-float:hover { transform: translateY(-2px) scale(1.05); box-shadow: var(--vs-shadow-lg); }
.vs-float:focus-visible { outline: 3px solid var(--tl-yellow); outline-offset: 3px; }
.vs-float--phone { background: var(--vs-accent); }
.tl-float--msg { background: #7b3ff2; background: linear-gradient(135deg, #2196f3, #a234fa); }
.tl-float--map { background: #1f7a4d; }
/* Tooltip desktop */
[data-tl-tip] { position: relative; }
[data-tl-tip]::after {
  content: attr(data-tl-tip);
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  background: var(--tl-ink); color: #fff; font-size: .78rem; font-weight: 600;
  padding: .35rem .65rem; border-radius: 6px; white-space: nowrap;
  opacity: 0; visibility: hidden; transition: opacity .15s ease;
  pointer-events: none;
}
[data-tl-tip]:hover::after, [data-tl-tip]:focus-visible::after { opacity: 1; visibility: visible; }

/* Mobile bar */
.vs-mobilebar a.is-primary { background: var(--vs-accent); color: #fff; }
.vs-mobilebar a.is-primary .vs-ico { color: #fff; }

/* ---- 20. Off-canvas bổ sung ---- */
.tl-oc-group > a { font-weight: 700; color: var(--vs-primary); }
.tl-oc-label { padding: .55rem .75rem .15rem; }
.tl-oc-label span { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--vs-muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  /* 3 + 2: lưới 6 phần, 3 ô đầu mỗi ô 2 phần, 2 ô cuối mỗi ô 3 phần. */
  .tl-trust-5 { grid-template-columns: repeat(6, 1fr); }
  .tl-trust-5 .vs-trust__item { grid-column: span 2; }
  .tl-trust-5 .vs-trust__item:nth-child(n+4) { grid-column: span 3; }
  .tl-proj-grid { grid-template-columns: repeat(3, 1fr); }
  .tl-footer__grid { grid-template-columns: 1.4fr 1.3fr 1fr; }
}
@media (max-width: 1500px) {
  .vs-menu > li > a { font-size: .98rem; padding-inline: .35rem; }
}
@media (max-width: 1240px) {
  /* Menu 7 mục + CTA không đủ chỗ dưới 1240px → chuyển sang burger sớm hơn
     mốc 1024px của theme cha. */
  .vs-nav { display: none; }
  .vs-burger { display: inline-flex; }
}
@media (max-width: 1100px) {
  .tl-services-grid { grid-template-columns: repeat(2, 1fr); }
  .tl-process-6 { grid-template-columns: repeat(3, 1fr); }
  .tl-process-6 .vs-process__step:nth-child(3)::after { display: none; }
}
@media (max-width: 1024px) {
  .tl-solutions-grid { grid-template-columns: repeat(2, 1fr); }
  /* Xếp chồng: phần giới thiệu lên trên, lưới 2 cột bên dưới. */
  .tl-why__layout { grid-template-columns: 1fr; gap: 2rem; }
  .tl-why__intro { max-width: 640px; }
  .tl-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .tl-floats { display: none; }   /* mobile dùng thanh liên hệ đáy, ẩn nút nổi */
}
@media (max-width: 900px) {
  /* 2 + 2 + 1: ô cuối trải hết hàng, nằm ngang (icon trái, chữ phải). */
  .tl-trust-5 { grid-template-columns: repeat(2, 1fr); }
  .tl-trust-5 .vs-trust__item,
  .tl-trust-5 .vs-trust__item:nth-child(n+4) { grid-column: auto; }
  .tl-trust-5 .vs-trust__item:last-child { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .tl-proj-grid { grid-template-columns: repeat(2, 1fr); }
  .tl-capacity__grid { grid-template-columns: 1fr; }
  .tl-capacity__media { max-width: 320px; }
  .tl-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  /* Mobile: danh sách 1 cột dạng hàng (icon trái, tiêu đề + mô tả phải),
     vẫn hiện mô tả để khách đọc đủ ý, mỗi hàng gọn ~76px. */
  .tl-trust-5 { grid-template-columns: 1fr; margin-block: 1.4rem; border-radius: 14px; }
  .tl-trust-5 .vs-trust__item,
  .tl-trust-5 .vs-trust__item:last-child {
    grid-column: auto; flex-direction: row; align-items: flex-start;
    gap: .9rem; padding: 1rem 1rem 1rem .95rem;
  }
  .tl-trust-5 .vs-ico-chip { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 4px 10px rgba(30, 90, 168, .2); }
  .tl-trust-5 .vs-ico-chip .vs-ico { width: 21px; height: 21px; }
  .tl-trust-5 .vs-trust__title { font-size: .97rem; margin-bottom: .2rem; text-wrap: wrap; }
  .tl-trust-5 .vs-trust__item p { font-size: .84rem; line-height: 1.5; }
  .tl-trust-5 .vs-trust__item::before { top: 0; bottom: 0; left: 0; right: auto; width: 3px; height: auto; transform: scaleY(0); }
  .tl-trust-5 .vs-trust__item:hover::before { transform: scaleY(1); }
  .tl-services-grid { grid-template-columns: 1fr; }
  /* Mobile: thẻ ngang gọn — icon trái, nội dung phải, ẩn số thứ tự. */
  .tl-solutions-grid { grid-template-columns: 1fr; gap: .85rem; }
  .tl-sol {
    display: grid; grid-template-columns: 46px 1fr; column-gap: .95rem; row-gap: .55rem;
    padding: 1.15rem 1.1rem 1rem; border-radius: 14px;
  }
  .tl-sol__top { grid-row: 1 / span 2; align-self: start; }
  .tl-sol__num { display: none; }
  .tl-sol .vs-ico-chip { width: 46px; height: 46px; border-radius: 12px; }
  .tl-sol .vs-ico-chip .vs-ico { width: 23px; height: 23px; }
  .tl-sol .tl-problem-text { gap: .3rem; }
  .tl-sol .tl-problem-text strong { font-size: 1.04rem; }
  .tl-sol .tl-problem-text small { font-size: .86rem; line-height: 1.55; }
  .tl-sol__more { grid-column: 2; padding-top: .6rem; }
  .tl-sol:hover,
  .js .tl-solutions-grid .tl-sol.is-visible:hover { transform: none; }
  .tl-why-grid { grid-template-columns: 1fr; gap: .75rem; }
  .tl-why__item { padding: 1.05rem 1rem; gap: .85rem; }
  .tl-why__item .vs-ico-chip { width: 42px; height: 42px; border-radius: 11px; }
  .tl-why__item .vs-ico-chip .vs-ico { width: 21px; height: 21px; }
  .tl-why .tl-why__item h3 { font-size: .98rem; margin-bottom: .25rem; }
  .tl-why__item p { font-size: .85rem; line-height: 1.55; }
  .tl-why__item:hover,
  .js .tl-why .tl-why__item.is-visible:hover { transform: none; }
  .tl-why__intro p { font-size: .94rem; margin-bottom: 1.3rem; }
  .tl-why__actions { gap: .6rem; }
  .tl-why__actions .vs-btn { flex: 1 1 0; min-width: 0; padding-inline: .6rem; font-size: .92rem; white-space: nowrap; }
  .tl-process-6 { grid-template-columns: 1fr 1fr; }
  .tl-proj-grid { grid-template-columns: 1fr; }
  .tl-gallery { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .tl-gallery__item figcaption { font-size: .7rem; padding: 1.2rem .55rem .45rem; }
  .tl-section-foot .vs-btn, .vs-news__foot .vs-btn { flex: 1 1 100%; }
  .vs-mega { display: none; }                     /* desktop-only; mobile dùng off-canvas */
}
@media (max-width: 480px) {
  .tl-process-6 { grid-template-columns: 1fr; }
  .tl-logo-text small { display: none; }
}

/* ---------------------------------------------------------------------
   Hero tối của bài viết / chuyên mục / trang: đỏ → vàng cam.
   Đỏ trên nền xanh đậm khó đọc (độ tương phản thấp); vàng cam đọc rõ và hợp màu logo.
   Chỉ đổi trong hero — nút CTA đỏ ở nơi khác giữ nguyên.
   --------------------------------------------------------------------- */
.vs-single__hero .vs-breadcrumb a,
.vs-single__hero .vs-blog-crumb a,
.vs-blog-hero .vs-blog-crumb a,
.vs-page-title .vs-breadcrumb a { color: var(--tl-amber); }
.vs-single__meta .vs-ico { color: var(--tl-amber); }
.vs-single__hero .vs-blog-badge,
.vs-blog-hero .vs-blog-badge {
  color: var(--tl-amber);
  background: rgba(255, 187, 51, .14);
  border-color: rgba(255, 187, 51, .5);
}
.vs-blog-hero .vs-blog-hero__desc strong { color: var(--tl-amber); }
