/* ==========================================================
   STYLE CHUNG — Website nồi hơi
   Muốn đổi màu toàn trang: chỉ sửa các biến trong :root
   ========================================================== */
:root {
  --mau-chinh: #122a42;      /* xanh thép đậm */
  --mau-chinh-2: #1d3f61;
  --mau-nhan: #e85d04;       /* cam lửa */
  --mau-nhan-2: #ff7b25;
  --nen: #f5f7fa;
  --chu: #1f2933;
  --chu-phu: #5b6b7b;
  --vien: #e1e6ec;
  --trang: #ffffff;
  --bo-goc: 14px;
  --bong: 0 10px 30px rgba(18, 42, 66, .10);
  --rong: 1200px;
  --font: "Be Vietnam Pro", "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); color: var(--chu); background: var(--trang); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.container { width: min(var(--rong), 92%); margin: 0 auto; }
.section { padding: 90px 0; }
.section--xam { background: var(--nen); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section__tag { display: inline-block; color: var(--mau-nhan); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.section__title { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--mau-chinh); line-height: 1.25; margin-bottom: 14px; }
.section__desc { color: var(--chu-phu); }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 50px; font-weight: 600; border: 2px solid transparent; cursor: pointer; transition: .25s; font-size: 1rem; font-family: inherit; }
.btn--chinh { background: var(--mau-nhan); color: #fff; }
.btn--chinh:hover { background: var(--mau-nhan-2); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232, 93, 4, .35); }
.btn--vien { border-color: #fff; color: #fff; }
.btn--vien:hover { background: #fff; color: var(--mau-chinh); }
.btn--vien-dam { border-color: var(--mau-chinh); color: var(--mau-chinh); }
.btn--vien-dam:hover { background: var(--mau-chinh); color: #fff; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: .3s; padding: 16px 0; }
.header.is-scrolled, .header--dac { background: rgba(255, 255, 255, .97); box-shadow: 0 2px 20px rgba(0, 0, 0, .08); padding: 10px 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header__logo img { height: 44px; width: auto; }
.header__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: #fff; }
.header.is-scrolled .header__logo, .header--dac .header__logo { color: var(--mau-chinh); }
.nav__list { display: flex; gap: 30px; }
.nav__link { color: #fff; font-weight: 500; position: relative; }
.header.is-scrolled .nav__link, .header--dac .nav__link { color: var(--chu); }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--mau-nhan); transition: .25s; }
.nav__link:hover::after { width: 100%; }
.header__cta { padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.nav-toggle span { display: block; height: 2px; width: 26px; margin: 6px auto; background: #fff; transition: .3s; }
.header.is-scrolled .nav-toggle span, .header--dac .nav-toggle span { background: var(--mau-chinh); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 25, 41, .92) 0%, rgba(10, 25, 41, .65) 55%, rgba(232, 93, 4, .25) 100%); }
.hero__content { max-width: 680px; padding-top: 80px; }
.hero__badge { display: inline-block; background: rgba(232, 93, 4, .18); border: 1px solid rgba(232, 93, 4, .6); color: #ffb17a; padding: 6px 14px; border-radius: 30px; font-size: .9rem; margin-bottom: 20px; }
.hero__title { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.15; margin-bottom: 20px; }
.hero__title span { color: var(--mau-nhan-2); }
.hero__desc { font-size: 1.12rem; color: #d6e0ea; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Số liệu ---------- */
.stats { margin-top: -60px; position: relative; z-index: 5; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--bo-goc); box-shadow: var(--bong); overflow: hidden; }
.stat { padding: 30px 20px; text-align: center; border-right: 1px solid var(--vien); }
.stat:last-child { border-right: 0; }
.stat__number { font-size: 2.3rem; font-weight: 800; color: var(--mau-nhan); line-height: 1.1; }
.stat__label { color: var(--chu-phu); font-size: .95rem; }

/* ---------- Giới thiệu ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about__img { border-radius: var(--bo-goc); overflow: hidden; box-shadow: var(--bong); }
.about__text p { color: var(--chu-phu); margin-bottom: 16px; }
.about__list { margin: 20px 0 30px; display: grid; gap: 10px; }
.about__list li { padding-left: 30px; position: relative; }
.about__list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--mau-nhan); color: #fff; font-size: .75rem; display: grid; place-items: center; margin-top: 3px; }

/* ---------- Thẻ sản phẩm (hover hiện thông tin ngắn) ---------- */
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { background: #fff; border-radius: var(--bo-goc); overflow: hidden; box-shadow: var(--bong); transition: .3s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(18, 42, 66, .18); }
.product-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 42, 66, .2), rgba(18, 42, 66, .94)); color: #fff; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; transform: translateY(20px); transition: .35s; }
.product-card__overlay ul { display: grid; gap: 6px; font-size: .93rem; margin-bottom: 14px; }
.product-card__overlay li strong { color: #ffb17a; font-weight: 600; }
.product-card__overlay-note { font-size: .85rem; color: #c9d6e3; }
.product-card__media:hover .product-card__overlay,
.product-card__media.is-active .product-card__overlay { opacity: 1; transform: translateY(0); }
.product-card__media:hover img,
.product-card__media.is-active img { transform: scale(1.08); filter: blur(1px); }
.product-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-size: .8rem; color: var(--mau-nhan); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.product-card__name { font-size: 1.2rem; color: var(--mau-chinh); margin: 6px 0 10px; }
.product-card__desc { color: var(--chu-phu); font-size: .95rem; margin-bottom: 18px; flex: 1; }
.product-card__link { color: var(--mau-nhan); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.product-card__link:hover { gap: 12px; }

/* ---------- Ưu điểm ---------- */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature { background: #fff; padding: 32px 28px; border-radius: var(--bo-goc); border: 1px solid var(--vien); transition: .3s; }
.feature:hover { border-color: var(--mau-nhan); box-shadow: var(--bong); }
.feature__icon { width: 58px; height: 58px; border-radius: 14px; background: rgba(232, 93, 4, .1); display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 18px; }
.feature__title { color: var(--mau-chinh); font-size: 1.15rem; margin-bottom: 8px; }
.feature__desc { color: var(--chu-phu); font-size: .95rem; }

/* ---------- Ứng dụng ---------- */
.apps__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.app { background: var(--mau-chinh); color: #fff; border-radius: var(--bo-goc); padding: 26px 12px; text-align: center; transition: .3s; }
.app:hover { background: var(--mau-nhan); transform: translateY(-4px); }
.app__icon { font-size: 2rem; margin-bottom: 8px; }
.app__name { font-weight: 600; font-size: .95rem; }

/* ---------- Quy trình ---------- */
.process__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: buoc; position: relative; }
.process__list::before { content: ""; position: absolute; top: 30px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--mau-nhan) 0 10px, transparent 10px 18px); }
.process__item { text-align: center; position: relative; counter-increment: buoc; }
.process__item::before { content: counter(buoc, decimal-leading-zero); display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: var(--mau-nhan); color: #fff; font-weight: 800; font-size: 1.1rem; position: relative; box-shadow: 0 0 0 8px #fff; }
.process__title { color: var(--mau-chinh); font-size: 1.05rem; margin-bottom: 6px; }
.process__desc { color: var(--chu-phu); font-size: .9rem; }

/* ---------- Dự án ---------- */
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project { position: relative; border-radius: var(--bo-goc); overflow: hidden; aspect-ratio: 4 / 3; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.project__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.project__caption strong { display: block; }
.project__caption span { font-size: .85rem; color: #d0d8e0; }
.project:hover img { transform: scale(1.07); }

/* ---------- FAQ ---------- */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--vien); border-radius: 12px; overflow: hidden; }
.faq__item summary { padding: 20px 56px 20px 24px; font-weight: 600; color: var(--mau-chinh); cursor: pointer; list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--mau-nhan); transition: .3s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__answer { padding: 0 24px 20px; color: var(--chu-phu); }

/* ---------- Liên hệ ---------- */
.contact { background: var(--mau-chinh); color: #fff; }
.contact .section__title { color: #fff; }
.contact .section__desc { color: #b8c7d6; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact__info { display: grid; gap: 22px; align-content: start; }
.contact__row { display: flex; gap: 16px; align-items: flex-start; }
.contact__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; font-size: 1.3rem; }
.contact__row strong { display: block; }
.contact__row span, .contact__row a { color: #b8c7d6; }
.contact__map { border-radius: var(--bo-goc); overflow: hidden; height: 220px; border: 0; width: 100%; }
.form { background: #fff; color: var(--chu); padding: 34px; border-radius: var(--bo-goc); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group { display: grid; gap: 6px; }
.form__group label { font-weight: 600; font-size: .9rem; }
.form__group input, .form__group select, .form__group textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--vien); border-radius: 10px; font: inherit; transition: .2s; background: #fff; }
.form__group input:focus, .form__group select:focus, .form__group textarea:focus { outline: none; border-color: var(--mau-nhan); box-shadow: 0 0 0 3px rgba(232, 93, 4, .15); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* bẫy chống spam, KHÔNG xoá */
.form__msg { font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form__msg.is-ok { color: #12813f; }
.form__msg.is-err { color: #c62828; }

/* ---------- Footer ---------- */
.footer { background: #0b1b2b; color: #9fb0c2; padding: 60px 0 24px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__title { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer__links { display: grid; gap: 8px; }
.footer__links a:hover { color: var(--mau-nhan-2); }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: #fff; }
.footer__social a:hover { background: var(--mau-nhan); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 20px; text-align: center; font-size: .85rem; }

/* ---------- Nút gọi nổi ---------- */
.float-call { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; gap: 12px; }
.float-call a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); font-size: .8rem; }
.float-call__phone { background: var(--mau-nhan); animation: rung 2s infinite; font-size: 1.4rem !important; }
.float-call__zalo { background: #0068ff; }
@keyframes rung { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 93, 4, .6); } 70% { box-shadow: 0 0 0 16px rgba(232, 93, 4, 0); } }

/* ---------- Hiệu ứng hiện khi cuộn ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { transition: none !important; animation: none !important; } }

/* ==========================================================
   TRANG CHI TIẾT SẢN PHẨM
   ========================================================== */
.page-top { padding: 120px 0 40px; background: var(--nen); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--chu-phu); }
.breadcrumb a:hover { color: var(--mau-nhan); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; }
.detail__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.gallery__main { border-radius: var(--bo-goc); overflow: hidden; box-shadow: var(--bong); aspect-ratio: 4 / 3; background: #ddd; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.gallery__thumb { border-radius: 10px; overflow: hidden; border: 2px solid transparent; cursor: pointer; padding: 0; background: none; aspect-ratio: 4 / 3; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--mau-nhan); }
.detail__cat { color: var(--mau-nhan); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.detail__title { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--mau-chinh); line-height: 1.25; margin: 8px 0 16px; }
.detail__summary { color: var(--chu-phu); margin-bottom: 24px; }
.detail__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.detail__quick div { background: var(--nen); border-radius: 10px; padding: 14px 16px; }
.detail__quick span { display: block; font-size: .82rem; color: var(--chu-phu); }
.detail__quick strong { color: var(--mau-chinh); }
.detail__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.detail__block { margin-top: 60px; }
.detail__block h2 { color: var(--mau-chinh); font-size: 1.5rem; margin-bottom: 18px; padding-left: 14px; border-left: 4px solid var(--mau-nhan); }
.detail__block p { color: var(--chu-phu); margin-bottom: 14px; }
.detail__block ul.bullets { display: grid; gap: 10px; }
.detail__block ul.bullets li { padding-left: 26px; position: relative; color: var(--chu-phu); }
.detail__block ul.bullets li::before { content: "●"; color: var(--mau-nhan); position: absolute; left: 4px; font-size: .7rem; top: 5px; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--bong); }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--vien); }
.spec-table th { background: var(--mau-chinh); color: #fff; font-weight: 600; }
.spec-table tr:nth-child(even) td { background: var(--nen); }
.spec-table td:first-child { font-weight: 600; color: var(--mau-chinh); width: 40%; }
.table-wrap { overflow-x: auto; }
.cta-box { margin-top: 60px; background: linear-gradient(110deg, var(--mau-chinh), var(--mau-chinh-2)); color: #fff; border-radius: var(--bo-goc); padding: 44px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-box h2 { font-size: 1.6rem; }
.cta-box p { color: #c3d1de; }

/* 404 */
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 120px 0 60px; }
.notfound h1 { font-size: 5rem; color: var(--mau-nhan); }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .products__grid, .features__grid, .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .apps__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .process__list { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process__list::before { display: none; }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(300px, 80%); background: #fff; padding: 90px 30px; transform: translateX(100%); transition: .35s; box-shadow: -10px 0 30px rgba(0, 0, 0, .15); }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; gap: 22px; }
  .nav__link { color: var(--chu) !important; font-size: 1.1rem; }
  .nav-toggle { display: block; position: relative; z-index: 110; }
  .nav-toggle.is-open span { background: var(--mau-chinh); }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .header__cta { display: none; }
  .about__grid, .contact__grid, .detail__grid { grid-template-columns: 1fr; gap: 36px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--vien); }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .products__grid, .features__grid, .projects__grid, .form__row, .footer__grid { grid-template-columns: 1fr; }
  .apps__grid { grid-template-columns: repeat(2, 1fr); }
  .process__list { grid-template-columns: 1fr 1fr; }
  .form { padding: 24px; }
  .cta-box { padding: 30px; }
  .detail__quick { grid-template-columns: 1fr; }
}
.section--chi-tiet { padding-top: 50px; }

/* ==========================================================
   ========== V2: GIAO DIỆN NÂNG CẤP ==========
   ========================================================== */
body.no-scroll { overflow: hidden; }
::selection { background: var(--mau-nhan); color: #fff; }
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; }
.text-grad { background: linear-gradient(90deg, #ff9a3c, var(--mau-nhan), #ffb36b); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: grad 5s linear infinite; }
@keyframes grad { to { background-position: 200% center; } }

/* Tiêu đề mục có gạch chân */
.section__title::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; margin: 16px auto 0; background: linear-gradient(90deg, var(--mau-nhan), #ffb36b); }
.about__text .section__title::after { margin-left: 0; }

/* Thanh tiến trình cuộn + nút lên đầu */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: linear-gradient(90deg, var(--mau-nhan), #ffb36b); transform-origin: 0 50%; transform: scaleX(0); }
.to-top { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--mau-chinh); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s; box-shadow: var(--bong); }
.to-top.is-show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--mau-nhan); }
.to-top svg { width: 22px; height: 22px; }

/* Header kính mờ + mục đang xem */
.header.is-scrolled, .header--dac { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); }
.nav__link.is-active { color: var(--mau-nhan) !important; }
.nav__link.is-active::after { width: 100%; }

/* ---------- HERO SLIDER ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: block; isolation: isolate; background: #0a1929; }
.hero::before { display: none; }
.hero__slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.15); transition: transform 8s ease-out; }
.hero-slide.is-active .hero-slide__bg { transform: scale(1); }
.hero-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 20, 34, .94) 0%, rgba(8, 20, 34, .7) 50%, rgba(232, 93, 4, .22) 100%); }
.hero-slide .hero__content > * { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.hero-slide.is-active .hero__content > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero__content > :nth-child(1) { transition-delay: .3s; }
.hero-slide.is-active .hero__content > :nth-child(2) { transition-delay: .45s; }
.hero-slide.is-active .hero__content > :nth-child(3) { transition-delay: .6s; }
.hero-slide.is-active .hero__content > :nth-child(4) { transition-delay: .75s; }
.hero__arrow { position: absolute; top: 50%; z-index: 5; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: .3s; }
.hero__arrow:hover { background: var(--mau-nhan); border-color: var(--mau-nhan); transform: translateY(-50%) scale(1.08); }
.hero__arrow svg { width: 26px; height: 26px; }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }
.hero__dots { position: absolute; z-index: 5; left: 50%; bottom: 96px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dot { width: 12px; height: 12px; border-radius: 12px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .4); transition: .35s; }
.hero__dot.is-active { width: 40px; background: var(--mau-nhan); }
.hero__timer { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; z-index: 5; background: rgba(255, 255, 255, .12); }
.hero__timer span { display: block; height: 100%; width: 100%; background: var(--mau-nhan); transform-origin: 0 50%; transform: scaleX(0); }
.hero.is-timing .hero__timer span { animation: timer var(--hero-delay, 6000ms) linear forwards; }
@keyframes timer { to { transform: scaleX(1); } }
.hero__scroll { position: absolute; z-index: 5; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: chuot 1.6s infinite; }
@keyframes chuot { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(14px); } }
.hero__content { padding-top: 70px; }

/* Hơi nước bay lên trong banner */
.steam { position: absolute; inset: auto 0 0 0; height: 70%; z-index: 2; pointer-events: none; overflow: hidden; }
.steam span { position: absolute; bottom: -120px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 70%); filter: blur(8px); animation: hoi 14s linear infinite; }
.steam span:nth-child(1) { left: 55%; animation-delay: 0s; }
.steam span:nth-child(2) { left: 65%; animation-delay: 2.5s; width: 220px; height: 220px; }
.steam span:nth-child(3) { left: 75%; animation-delay: 5s; }
.steam span:nth-child(4) { left: 85%; animation-delay: 7.5s; width: 240px; height: 240px; }
.steam span:nth-child(5) { left: 60%; animation-delay: 10s; }
.steam span:nth-child(6) { left: 92%; animation-delay: 12s; }
@keyframes hoi { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(-80px, -110vh) scale(1.8); opacity: 0; } }

/* ---------- BĂNG CHUYỀN VÔ TẬN ---------- */
.loop-carousel { position: relative; }
.loop-carousel__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.loop-carousel__track { display: flex; gap: 24px; width: max-content; will-change: transform; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.loop-carousel.is-dragging .loop-carousel__track { cursor: grabbing; }
.loop-carousel__item { flex: none; width: 380px; }
.loop-carousel__btn { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; color: var(--mau-chinh); box-shadow: 0 8px 24px rgba(18, 42, 66, .2); display: grid; place-items: center; transition: .3s; }
.loop-carousel__btn:hover { background: var(--mau-nhan); color: #fff; transform: translateY(-50%) scale(1.1); }
.loop-carousel__btn svg { width: 24px; height: 24px; }
.loop-carousel__btn--prev { left: -8px; }
.loop-carousel__btn--next { right: -8px; }
.loop-carousel__hint { text-align: center; color: var(--chu-phu); font-size: .88rem; margin-top: 22px; }

/* Đối tác (logo chạy liên tục) */
.partners { padding: 70px 0 40px; }
.partners__title { text-align: center; color: var(--chu-phu); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; margin-bottom: 28px; }
.loop-carousel--logos .loop-carousel__track { gap: 56px; cursor: default; }
.loop-carousel--logos .loop-carousel__item { width: 170px; }
.loop-carousel--logos img { width: 100%; height: auto; filter: grayscale(1); opacity: .6; transition: .3s; }
.loop-carousel--logos .loop-carousel__item:hover img { filter: none; opacity: 1; }

/* Dự án trong băng chuyền */
.project { display: block; aspect-ratio: 4 / 3; border-radius: 18px; }
.project__zoom { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--mau-chinh); display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: .3s; }
.project__zoom svg { width: 20px; height: 20px; }
.project:hover .project__zoom { opacity: 1; transform: none; }
.project__caption { transform: translateY(6px); transition: .35s; }
.project:hover .project__caption { transform: none; }
.project__caption strong { font-size: 1.08rem; }

/* ---------- Bộ lọc sản phẩm ---------- */
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -20px 0 40px; }
.filter__btn { border: 1px solid var(--vien); background: #fff; color: var(--chu); padding: 10px 22px; border-radius: 40px; font: inherit; font-weight: 600; cursor: pointer; transition: .25s; }
.filter__btn:hover { border-color: var(--mau-nhan); color: var(--mau-nhan); }
.filter__btn.is-active { background: var(--mau-chinh); border-color: var(--mau-chinh); color: #fff; box-shadow: 0 6px 16px rgba(18, 42, 66, .25); }
.product-card.is-hidden { display: none; }
.products__grid--filter .product-card { animation: hienThe .5s ease; }
@keyframes hienThe { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

/* Hiệu ứng ánh sáng lướt qua ảnh sản phẩm */
.product-card__media::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; z-index: 2; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); pointer-events: none; }
.product-card__media:hover::after { animation: loe .9s ease; }
@keyframes loe { to { left: 130%; } }
.product-card__badge { position: absolute; top: 14px; left: 14px; z-index: 3; background: var(--mau-nhan); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.product-card__overlay { z-index: 1; }
.loop-carousel .product-card { height: 100%; }

/* ---------- Ưu điểm: icon SVG ---------- */
.feature { position: relative; overflow: hidden; }
.feature::before { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--mau-nhan), #ffb36b); transform: scaleX(0); transform-origin: left; transition: .4s; }
.feature:hover::before { transform: scaleX(1); }
.feature:hover { transform: translateY(-6px); }
.feature__icon { color: var(--mau-nhan); transition: .4s; }
.feature__icon svg { width: 28px; height: 28px; }
.feature:hover .feature__icon { background: var(--mau-nhan); color: #fff; transform: rotate(-8deg) scale(1.08); }
.app__icon { display: grid; place-items: center; }
.app__icon svg { width: 34px; height: 34px; }
.contact__icon svg { width: 22px; height: 22px; color: #ffb17a; }

/* ---------- Dải kêu gọi có nền parallax ---------- */
.cta-band { position: relative; padding: 110px 0; color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.cta-band__bg { position: absolute; inset: -20% 0; z-index: -2; background: url("../images/cta-bg.jpg") center / cover no-repeat fixed; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(232, 93, 4, .9), rgba(18, 42, 66, .92)); }
.cta-band__title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.25; margin-bottom: 14px; }
.cta-band__desc { color: #e5ecf3; max-width: 620px; margin: 0 auto 30px; }
.cta-band .btn--chinh { background: #fff; color: var(--mau-nhan); }
.cta-band .btn--chinh:hover { background: var(--mau-chinh); color: #fff; }
@media (hover: none) { .cta-band__bg { background-attachment: scroll; } }

/* Nút có viền nhấp nháy nhẹ */
.btn--chinh { position: relative; overflow: hidden; }
.btn--chinh::after { content: ""; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); }
.btn--chinh:hover::after { animation: loe2 .8s ease; }
@keyframes loe2 { to { left: 140%; } }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }

/* Biến thể hiện dần */
.reveal--left { transform: translateX(-50px); }
.reveal--right { transform: translateX(50px); }
.reveal--zoom { transform: scale(.9); }
.delay-1 { transition-delay: .1s; } .delay-2 { transition-delay: .2s; } .delay-3 { transition-delay: .3s; } .delay-4 { transition-delay: .4s; } .delay-5 { transition-delay: .5s; }

/* Ảnh giới thiệu có khung trang trí */
.about__img { position: relative; overflow: visible; box-shadow: none; }
.about__img img { border-radius: var(--bo-goc); box-shadow: var(--bong); position: relative; z-index: 1; }
.about__img::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 3px solid var(--mau-nhan); border-radius: var(--bo-goc); }
.about__exp { position: absolute; z-index: 2; left: -20px; bottom: 30px; background: var(--mau-nhan); color: #fff; border-radius: 14px; padding: 18px 22px; box-shadow: 0 12px 30px rgba(232, 93, 4, .4); animation: troi 4s ease-in-out infinite; }
.about__exp strong { display: block; font-size: 2rem; line-height: 1; }
.about__exp span { font-size: .85rem; }
@keyframes troi { 50% { transform: translateY(-10px); } }

/* ---------- LIGHTBOX ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5, 12, 20, .94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { max-width: 90vw; max-height: 86vh; text-align: center; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox__img { max-width: 90vw; max-height: 78vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox__img.is-in, .gallery__main img.is-in { animation: anhVao .45s ease; }
@keyframes anhVao { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lightbox__cap { color: #dbe4ec; margin-top: 14px; }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .1); border-radius: 50%; width: 52px; height: 52px; display: grid; place-items: center; transition: .25s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--mau-nhan); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__count { position: absolute; top: 32px; left: 30px; color: #9fb0c2; font-size: .9rem; }
.lightbox.is-single .lightbox__nav, .lightbox.is-single .lightbox__count { display: none; }

/* ---------- Trang chi tiết: ảnh có nút trái/phải + phóng to ---------- */
.gallery__main { position: relative; }
.gallery__nav, .gallery__zoom { position: absolute; z-index: 2; border: 0; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--mau-chinh); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); transition: .25s; }
.gallery__nav svg, .gallery__zoom svg { width: 22px; height: 22px; }
.gallery__nav:hover, .gallery__zoom:hover { background: var(--mau-nhan); color: #fff; }
.gallery__nav { top: 50%; transform: translateY(-50%); opacity: 0; }
.gallery__main:hover .gallery__nav { opacity: 1; }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery__zoom { top: 14px; right: 14px; }
.gallery__thumb { transition: .25s; opacity: .65; }
.gallery__thumb.is-active, .gallery__thumb:hover { opacity: 1; }
.detail__quick div { border-left: 3px solid var(--mau-nhan); }
.detail__badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; color: var(--chu-phu); font-size: .9rem; }
.detail__badges span { display: inline-flex; align-items: center; gap: 6px; }
.detail__badges svg { width: 18px; height: 18px; color: #12813f; }

/* Responsive v2 */
@media (max-width: 860px) {
  .hero__arrow { width: 44px; height: 44px; top: auto; bottom: 84px; transform: none; }
  .hero__arrow:hover { transform: none; }
  .hero__arrow--prev { left: 4%; }
  .hero__arrow--next { right: 4%; }
  .hero__dots { bottom: 100px; }
  .hero__scroll { display: none; }
  .loop-carousel__item { width: 300px; }
  .loop-carousel__btn { width: 44px; height: 44px; }
  .loop-carousel__btn--prev { left: 4px; }
  .loop-carousel__btn--next { right: 4px; }
  .about__exp { left: 10px; }
  .gallery__nav { opacity: 1; }
}
@media (max-width: 600px) {
  .hero__content { padding-top: 40px; padding-bottom: 120px; }
  .loop-carousel__item { width: 78vw; }
  .loop-carousel--logos .loop-carousel__item { width: 120px; }
  .lightbox__nav { top: auto; bottom: 24px; }
  .about__img::before { inset: 14px -10px -14px 14px; }
}
.cta-band__actions { justify-content: center; }
.hero__scroll { display: none; } .hero__dots { bottom: 92px; }
/* Chống tràn ngang trên điện thoại */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.hero, .section, .partners { overflow-x: clip; }
@media (max-width: 860px) {
  .hero__arrow { bottom: 82px; width: 42px; height: 42px; }
  .hero__arrow--prev { left: calc(50% - 100px); }
  .hero__arrow--next { right: calc(50% - 100px); left: auto; }
  .hero__dots { bottom: 97px; }
}

/* ---------- Nút chuyển ngôn ngữ VI | EN ---------- */
.lang-switch { display: inline-flex; padding: 3px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); }
.lang-switch a { padding: 5px 11px; border-radius: 30px; font-size: .82rem; font-weight: 700; color: #fff; letter-spacing: .04em; transition: .25s; }
.lang-switch a:hover { color: #ffb17a; }
.lang-switch a.is-active { background: var(--mau-nhan); color: #fff; }
.header.is-scrolled .lang-switch, .header--dac .lang-switch { border-color: var(--vien); background: var(--nen); }
.header.is-scrolled .lang-switch a:not(.is-active), .header--dac .lang-switch a:not(.is-active) { color: var(--chu); }
.header__inner .nav { margin-left: auto; }
@media (max-width: 860px) {
  .lang-switch { margin-left: auto; position: relative; z-index: 110; }
  .header__inner .nav { margin-left: 0; }
}
.nav.is-open ~ .lang-switch { border-color: var(--vien); background: var(--nen); }
.nav.is-open ~ .lang-switch a:not(.is-active) { color: var(--chu); }

/* ==========================================================
   ========== V4: WEBSITE TIẾN LỘC PHÁT (nhiều trang) ==========
   ========================================================== */
/* ---------- Thanh thông tin trên cùng ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 101; height: 36px; background: #0b1b2b; color: #b8c7d6; font-size: .85rem; transition: transform .3s; }
.topbar__inner { height: 100%; display: flex; align-items: center; gap: 26px; }
.topbar__inner span { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--mau-nhan-2); }
.topbar .icon { color: var(--mau-nhan-2); }
.topbar__mail { margin-left: auto; }
.header { top: 36px; }
body.is-scrolled .topbar { transform: translateY(-100%); }
body.is-scrolled .header { top: 0; }

/* ---------- Logo + tên thương hiệu ---------- */
.header__logo img { height: 52px; width: auto; }
.header__brand { display: flex; flex-direction: column; line-height: 1.15; }
.header__brand strong { font-size: 1.12rem; letter-spacing: .04em; }
.header__brand small { font-size: .72rem; font-weight: 500; opacity: .85; }

/* ---------- Menu + menu con sản phẩm ---------- */
.nav__list { gap: 24px; align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; font-size: .96rem; white-space: nowrap; }
.nav__caret .icon { width: 14px; height: 14px; transition: .25s; }
.nav__item--sub { position: relative; }
.nav__sub-toggle { display: none; }
.nav__sub { position: absolute; top: calc(100% + 14px); left: -24px; min-width: 360px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(18, 42, 66, .18); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; z-index: 5; }
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__sub a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--chu); font-size: .93rem; font-weight: 500; }
.nav__sub a:hover { background: var(--nen); color: var(--mau-nhan); }
.nav__sub-all a { color: var(--mau-nhan); font-weight: 700; border-top: 1px solid var(--vien); margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__item--sub:hover .nav__caret .icon { transform: rotate(180deg); }

@media (max-width: 1180px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86%); background: #fff; padding: 90px 26px 30px; transform: translateX(100%); transition: .35s; box-shadow: -10px 0 30px rgba(0, 0, 0, .15); overflow-y: auto; margin-left: 0 !important; }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__item { position: relative; border-bottom: 1px solid var(--vien); }
  .nav__link { color: var(--chu) !important; font-size: 1.05rem; padding: 12px 0; }
  .nav__link::after { display: none; }
  .nav__caret { display: none; }
  .nav__sub-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 4px; width: 40px; height: 40px; border: 0; background: var(--nen); border-radius: 8px; cursor: pointer; color: var(--mau-chinh); }
  .nav__sub-toggle .icon { width: 18px; height: 18px; transition: .25s; }
  .nav__item--sub.is-open .nav__sub-toggle .icon { transform: rotate(180deg); }
  .nav__sub { position: static; min-width: 0; box-shadow: none; padding: 0 0 10px 10px; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav__sub::before { display: none; }
  .nav__item--sub.is-open .nav__sub { display: block; }
  .nav__item--sub:hover .nav__sub { opacity: 1; }
  .nav__sub a { padding: 8px 10px; font-size: .92rem; }
  .nav-toggle { display: block; position: relative; z-index: 110; }
  .nav-toggle.is-open span { background: var(--mau-chinh); }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .lang-switch { margin-left: auto; position: relative; z-index: 110; }
}
@media (max-width: 860px) {
  .topbar { display: none; }
  .header { top: 0; }
  .header__cta { display: none; }
  .header__logo img { height: 42px; }
  .header__brand small { display: none; }
}
@media (max-width: 420px) { .header__brand { display: none; } }

/* ---------- Banner đầu trang con ---------- */
.page-banner { position: relative; padding: 190px 0 70px; color: #fff; overflow: hidden; isolation: isolate; background: var(--mau-chinh); }
.page-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 20, 34, .93) 0%, rgba(8, 20, 34, .75) 60%, rgba(232, 93, 4, .35) 100%); }
.page-banner .breadcrumb { color: #c3d1de; margin-bottom: 14px; }
.page-banner .breadcrumb a:hover { color: #ffb17a; }
.page-banner__title { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.15; margin-bottom: 12px; }
.page-banner__lead { color: #d6e0ea; max-width: 640px; font-size: 1.08rem; }
.page-top { padding-top: 150px; }
@media (max-width: 860px) { .page-banner { padding: 120px 0 50px; } .page-top { padding-top: 100px; } }

/* ---------- Khách hàng (chữ chạy) ---------- */
.loop-carousel--logos .loop-carousel__item { width: auto; }
.loop-carousel--logos .loop-carousel__track { gap: 18px; }
.client-chip { display: inline-block; white-space: nowrap; padding: 12px 22px; border-radius: 40px; border: 1px solid var(--vien); background: #fff; color: var(--mau-chinh); font-weight: 700; font-size: .95rem; }

/* ---------- Phụ kiện nhỏ trong băng chuyền ---------- */
.loop-carousel--parts .loop-carousel__item { width: 240px; }
.part-mini { display: block; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--bong); transition: .3s; }
.part-mini img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: .4s; }
.part-mini span { display: block; padding: 12px 14px; font-weight: 600; color: var(--mau-chinh); font-size: .95rem; }
.part-mini:hover { transform: translateY(-4px); }
.part-mini:hover img { transform: scale(1.05); }

/* ---------- Chung ---------- */
a.feature { display: block; color: inherit; }
.features__grid--4 { grid-template-columns: repeat(4, 1fr); }
.section__more { text-align: center; margin-top: 36px; }
.section__title--sm { font-size: 1.5rem; margin-top: 28px; }
.section__title--sm::after { margin-left: 0; }
.stats--static { margin-top: 0; padding: 10px 0 40px; }
.cta-box__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-box .btn--vien { border-color: rgba(255, 255, 255, .7); }
.about__text p { line-height: 1.75; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__brand img { width: 56px; height: 56px; background: #fff; border-radius: 50%; padding: 3px; }
.footer__brand strong { color: #fff; font-size: 1rem; line-height: 1.35; }
.footer__contact li { line-height: 1.6; }
.footer__contact strong { color: #dbe4ec; }
.footer__social a .icon { width: 16px; height: 16px; }
.contact__icon { font-weight: 800; color: #ffb17a; }
.contact__info .contact__map + .contact__map { margin-top: 4px; }
.contact__row span a { color: #b8c7d6; }
.contact__row span a:hover, .contact__row a:hover { color: #fff; }

/* ---------- Thư viện ảnh xưởng ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-tile { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.gallery-tile span { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; color: #fff; font-size: .88rem; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.gallery-tile:hover img { transform: scale(1.07); }

/* ---------- Ngành nghề / khách hàng ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry { background: #fff; border-radius: 14px; padding: 24px; border-top: 4px solid var(--mau-nhan); box-shadow: var(--bong); }
.industry h3 { color: var(--mau-chinh); margin-bottom: 10px; font-size: 1.1rem; }
.industry li { color: var(--chu-phu); padding: 5px 0 5px 20px; position: relative; font-size: .94rem; }
.industry li::before { content: "▸"; position: absolute; left: 0; color: var(--mau-nhan); }
.industries__more { text-align: center; color: var(--chu-phu); margin-top: 26px; font-style: italic; }

/* ---------- Trang phụ kiện ---------- */
.parts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.part-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--bong); display: flex; flex-direction: column; transition: .3s; }
.part-card:hover { transform: translateY(-5px); }
.part-card__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.part-card__media img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.part-card:hover .part-card__media img { transform: scale(1.06); }
.part-card__count { position: absolute; right: 10px; bottom: 10px; background: rgba(11, 27, 43, .8); color: #fff; font-size: .78rem; padding: 5px 10px; border-radius: 20px; display: inline-flex; gap: 5px; align-items: center; }
.part-card__body { padding: 16px 18px 20px; }
.part-card__name { font-size: 1.05rem; color: var(--mau-chinh); margin-bottom: 6px; }
.part-card__body p { color: var(--chu-phu); font-size: .92rem; }

/* ---------- Trang dịch vụ ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 30px 0; scroll-margin-top: 120px; }
.service-row + .service-row { border-top: 1px solid var(--vien); }
.service-row--rev .service-row__img { order: 2; }
.service-row__img img { border-radius: var(--bo-goc); box-shadow: var(--bong); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-row__title { color: var(--mau-chinh); font-size: 1.7rem; margin: 6px 0 12px; }
.service-row__text p { color: var(--chu-phu); margin-bottom: 20px; }
.service-row__text .feature__icon { margin-bottom: 10px; }

/* ---------- Trang dự án ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--bong); }
.project-card .project { border-radius: 0; }
.project-card__body { padding: 20px 22px 24px; }
.project-card__title { font-size: 1.15rem; color: var(--mau-chinh); margin-bottom: 4px; }
.project-card__body p { color: var(--chu-phu); margin-bottom: 12px; font-size: .95rem; }
.detail__project { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: center; }
.detail__project h3 { color: var(--mau-chinh); font-size: 1.25rem; margin-bottom: 6px; }
.gallery--single .gallery__thumbs, .gallery--single .gallery__nav { display: none; }
.gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }

@media (max-width: 1024px) {
  .features__grid--4, .parts-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .industries, .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .service-row, .detail__project { grid-template-columns: 1fr; gap: 22px; }
  .service-row--rev .service-row__img { order: 0; }
}
@media (max-width: 600px) {
  .features__grid--4, .industries, .projects-grid { grid-template-columns: 1fr; }
  .parts-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .part-card__body { padding: 12px; }
  .part-card__name { font-size: .95rem; }
  .part-card__body p { display: none; }
}
.header__logo img { background: #fff; border-radius: 50%; padding: 2px; }
/* Giữ đúng tỉ lệ ảnh (ảnh có khai báo width/height) */
img { height: auto; }
.part-mini img, .service-row__img img { height: auto; }

/* ===================== v5 – Trang Nhà xưởng & khối nhà xưởng ở trang chủ ===================== */
.fx-teaser { background: var(--mau-chinh); color: rgba(255,255,255,.86); }
.fx-teaser .section__title { color: #fff; }
.fx-teaser .section__tag { color: #ffb36b; }
.fx-teaser__imgs { position: relative; padding: 0 0 22% 0; }
.fx-teaser__img { border-radius: var(--bo-goc); box-shadow: 0 20px 40px rgba(0,0,0,.35); object-fit: cover; aspect-ratio: 4 / 3; }
.fx-teaser__img--a { width: 82%; }
.fx-teaser__img--b { position: absolute; right: 0; bottom: 0; width: 52%; border: 6px solid var(--mau-chinh); }
.equip__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.equip { background: #fff; border: 1px solid var(--vien); border-radius: var(--bo-goc); overflow: hidden; transition: .3s; }
.equip:hover { border-color: var(--mau-nhan); box-shadow: var(--bong); transform: translateY(-4px); }
.equip__img { display: block; overflow: hidden; }
.equip__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s; }
.equip:hover .equip__img img { transform: scale(1.06); }
.equip__body { padding: 22px 24px 26px; }
.equip__title { font-size: 1.2rem; margin-bottom: 8px; color: var(--mau-chinh); }
.equip__body p { margin: 0; }
.stats--static .stat__number { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
@media (max-width: 860px) {
  .equip__grid { grid-template-columns: 1fr; }
  .fx-teaser__imgs { margin-bottom: 10px; }
}
/* v5 – menu 8 mục: giữ một dòng trên màn hình laptop */
.header__cta, .header__brand strong, .header__brand small { white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1440px) {
  .nav__list { gap: 18px; }
  .nav__link { font-size: .92rem; }
  .header__brand small { display: none; }
  .header__cta { padding: 10px 16px; }
}
.fx-teaser .about__text p { color: rgba(255,255,255,.82); }
.fx-teaser .about__list li { color: #fff; }
/* v5 – vùng chạm đủ lớn trên điện thoại */
.hero__dot { position: relative; }
.hero__dot::after { content: ""; position: absolute; inset: -14px -4px; }
@media (hover: none), (max-width: 860px) {
  .product-card__link { padding: 10px 0; margin: -4px 0; }
}
/* v5 – nút nổi gọn hơn trên điện thoại, không che nội dung cuối trang */
@media (max-width: 600px) {
  .float-call { right: 12px; bottom: 14px; gap: 10px; }
  .float-call a { width: 48px; height: 48px; }
  .to-top { display: none; }
  .footer { padding-bottom: 70px; }
}
