*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { max-width: 100%; }
:root {
  --pri: #2985e7;
  --pri-d: #2371c4;
  --pri-l: #f0f6fd;
  --accent: #ff6b35;
  --footer-bg: #ffffff;
  --yellow: #ffe066;
  --green: #1a8a3c;
  --green-l: #e6f9ee;
  --gray: #f5f6f8;
  --border: #e2e5ea;
  --text: #1f2430;
  --muted: #666f7d;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 2px 14px rgba(0,0,0,.08);
}
body { font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif; color: var(--text); background: #f0f1f3; font-size: 14px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.badge-accent { background: linear-gradient(90deg,var(--accent),var(--pri)); color: #fff; }
.badge-green { background: var(--green-l); color: var(--green); }
.section { padding: 44px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.section-eyebrow { display: inline-block; color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.section-title { font-size: 26px; font-weight: 800; color: var(--text); }
.section-desc { color: var(--muted); margin-top: 10px; font-size: 14px; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-view-all { font-size: 13px; color: var(--pri); font-weight: 700; }
.section-view-all:hover { text-decoration: underline; }

/* ---- Top bar ---- */
.top-bar { background: var(--pri-d); color: rgba(255,255,255,.85); font-size: 12px; }
.top-bar-inner { max-width: 1180px; margin: 0 auto; padding: 6px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.top-bar-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.top-bar a:hover { color: #fff; }

/* ---- Header ---- */
.sticky-head-wrap { position: sticky; top: 0; z-index: 500; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.header { background: var(--pri); }
.header-inner { display: flex; align-items: center; gap: 16px; padding: 14px 16px; max-width: 1180px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }
.logo-icon { width: 46px; height: 46px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; color: #fff; }
.logo-img { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .3px; }
.logo-text span { color: rgba(255,255,255,.75); font-size: 10px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.logo-text-mobile { display: none; }
.logo-tagline-break { display: none; }
.header-spacer { flex: 1; }
.header-hotline-wrap { display: flex; align-items: center; gap: 10px; }
.header-hotline-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.header-hotline-icon svg { width: 20px; height: 20px; }
.header-hotline-text { display: flex; flex-direction: column; }
.header-hotline-label { font-size: 10px; color: rgba(255,255,255,.7); }
.header-hotline { color: var(--yellow); font-weight: 800; font-size: 17px; line-height: 1.2; }
.header-cta { background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; padding: 11px 20px; border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 12px rgba(255,107,53,.4); transition: background .2s, transform .2s; }
.header-cta:hover { background: #e14f22; transform: translateY(-1px); }
@media(max-width:900px){ .header-hotline-wrap { display: none; } }
@media(max-width:600px){
  .header-cta { padding: 9px 14px; font-size: 12px; flex-shrink: 0; }
  .logo-text-desktop { display: none; }
  .logo { flex-shrink: 1; }
  .logo-text { min-width: 0; }
  .logo-text-mobile { display: block; max-width: 100%; white-space: normal; word-break: break-word; }
  .logo-text > span { display: none; }
}

/* ---- Nav ---- */
.nav-links { background: var(--pri-d); }
.nav-links-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 16px; }
.nav-links-scroll { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.nav-links-scroll::-webkit-scrollbar { display: none; }
.nav-link { color: rgba(255,255,255,.88); font-size: 15px; font-weight: 600; padding: 7px 14px; white-space: nowrap; border-radius: 5px; transition: background .2s, color .2s; }
.nav-link:hover { background: rgba(255,255,255,.16); color: #fff; }
.nav-menu-btn { display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: transparent; color: #fff; border: none; border-radius: 6px; width: 36px; height: 36px; cursor: pointer; transition: background .2s; }
.nav-menu-btn:hover { background: rgba(255,255,255,.16); }
.category-menu-wrap { position: relative; flex-shrink: 0; }
.category-menu-mobile { display: none; }
.category-dropdown { display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: #fff; border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.18); padding: 8px; z-index: 200; flex-direction: column; gap: 2px; }
.category-dropdown.open { display: flex; }
.category-dropdown a { color: var(--text); font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: 7px; white-space: nowrap; transition: background .15s; }
.category-dropdown a:hover { background: var(--gray); color: var(--pri); }
.category-dropdown-all { color: var(--pri) !important; border-bottom: 1px solid var(--border); border-radius: 7px 7px 0 0 !important; margin-bottom: 4px; padding-bottom: 12px !important; }
@media(max-width:768px){
  .nav-links { display: none; }
  .category-menu-mobile { display: block; }
  .category-menu-desktop { display: none; }
}

/* ---- Hero / Banner ---- */
.hero-section { padding: 16px 0 0; }
.hero-slider { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-slides { display: flex; transition: transform .6s ease; }
.hero-slide { min-width: 100%; position: relative; }
.hero-slide img { width: 100%; height: 420px; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,26,46,.78) 0%, rgba(26,26,46,.35) 55%, rgba(26,26,46,.05) 100%); display: flex; align-items: center; }
.hero-content { padding: 0 6%; max-width: 560px; color: #fff; }
.hero-content .eyebrow { color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.hero-content h1 { font-size: 32px; font-weight: 900; line-height: 1.25; margin-bottom: 14px; }
.hero-content p { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 22px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 13px; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(255,107,53,.4); }
.btn-accent:hover { background: #e14f22; transform: translateY(-2px); }
.btn-outline { border: 2px solid rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.hero-dots { display: flex; justify-content: center; gap: 6px; position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); transition: background .3s, transform .3s; border: none; }
.hero-dot.active { background: #fff; transform: scale(1.3); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.3); color: #fff; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background .2s; }
.hero-arrow:hover { background: rgba(0,0,0,.55); }
.hero-arrow.prev { left: 14px; }
.hero-arrow.next { right: 14px; }
@media(max-width:768px){ .hero-slide img { height: 320px; } .hero-content h1 { font-size: 24px; } .hero-content p { display: none; } }
@media(max-width:480px){ .hero-slide img { height: 260px; } .hero-overlay { background: linear-gradient(180deg, rgba(26,26,46,.2) 0%, rgba(26,26,46,.85) 100%); align-items: flex-end; } .hero-content { padding: 0 20px 24px; max-width: 100%; } }

/* An banner tren dien thoai theo cau hinh cua Admin (muc "Trang Chu" > Banner tren dien thoai) */
@media(max-width:768px){
  .hero-section.hero-mobile-off .hero-slider { display: none; }
}

/* ---- Stats ---- */
.stats-bar { background: var(--pri); margin-top: 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); }
@media(min-width:700px){ .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-item { text-align: center; padding: 26px 10px; border-right: 1px solid rgba(255,255,255,.12); }
.stat-item:last-child, .stat-item:nth-child(2) { border-right: none; }
@media(min-width:700px){ .stat-item:nth-child(2){ border-right: 1px solid rgba(255,255,255,.12); } .stat-item:last-child { border-right: none; } }
.stat-num { color: var(--yellow); font-size: 30px; font-weight: 900; }
.stat-label { color: rgba(255,255,255,.85); font-size: 12px; font-weight: 600; margin-top: 4px; }

/* Dich vu dung chung the "san pham" voi Thiet bi cho thue (xem khoi "Thiet bi cho thue" ben duoi: .equip-*) */

/* ---- Commitments ---- */
.commit-section { background: var(--white); }
.commit-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
@media(min-width:700px){ .commit-grid { grid-template-columns: repeat(3,1fr); } }
.commit-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); transition: box-shadow .2s, transform .2s; }
.commit-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.commit-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--green-l); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.commit-title { font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.commit-desc { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ---- Process ---- */
.process-section { background: var(--gray); }
.process-grid { display: grid; grid-template-columns: repeat(1,1fr); gap: 20px; }
@media(min-width:700px){ .process-grid { grid-template-columns: repeat(5,1fr); } }
.process-item { text-align: center; position: relative; }
.process-num { width: 48px; height: 48px; border-radius: 50%; background: var(--pri); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; position: relative; z-index: 1; }
@media(min-width:700px){ .process-item:not(:last-child)::after { content: ''; position: absolute; top: 24px; left: 60%; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px); } }
.process-title { font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.process-desc { font-size: 12px; color: var(--muted); line-height: 1.6; padding: 0 6px; }

/* ---- Projects ---- */
.proj-grid { display: grid; grid-template-columns: repeat(1,1fr); gap: 20px; }
@media(min-width:640px){ .proj-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:980px){ .proj-grid { grid-template-columns: repeat(3,1fr); } }
.proj-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.proj-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.12); transform: translateY(-4px); }
.proj-img-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--gray); }
.proj-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; transition: transform .4s; }
.proj-card:hover .proj-img-wrap img { transform: scale(1.06); }
.proj-badge { position: absolute; top: 10px; left: 10px; }
.proj-body { padding: 16px; }
.proj-cat { font-size: 11px; color: var(--pri); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.proj-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.4; }
.proj-meta { font-size: 12px; color: var(--muted); border-top: 1px dashed var(--border); padding-top: 10px; }

/* ---- Trang tong quan tat ca danh muc (danh-muc.php khong co ?cat=) ---- */
.cat-overview-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
@media(min-width:640px){ .cat-overview-grid { grid-template-columns: repeat(3,1fr); } }
@media(min-width:980px){ .cat-overview-grid { grid-template-columns: repeat(4,1fr); } }
.cat-overview-card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 18px; text-align: center; transition: box-shadow .2s, transform .2s, border-color .2s; }
.cat-overview-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--pri); }
.cat-overview-icon { font-size: 32px; margin-bottom: 12px; }
.cat-overview-name { font-weight: 700; color: var(--text); margin-bottom: 6px; font-size: 15px; }
.cat-overview-count { font-size: 12px; color: var(--muted); }

/* ---- Thiet bi cho thue ---- */
.equip-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
@media(min-width:640px){ .equip-grid { grid-template-columns: repeat(3,1fr); } }
@media(min-width:980px){ .equip-grid { grid-template-columns: repeat(4,1fr); } }
.equip-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column; }
.equip-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.12); transform: translateY(-4px); }
.equip-img-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--gray); }
.equip-img-link { display: block; width: 100%; height: 100%; }
.equip-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; transition: transform .4s; }
.equip-card:hover .equip-img-wrap img { transform: scale(1.06); }
.equip-badge { position: absolute; top: 8px; left: 8px; }
.equip-cart { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: 0 2px 8px rgba(0,0,0,.18); color: var(--pri); transition: background .2s, color .2s; }
.equip-cart:hover { background: var(--pri); color: #fff; }
.equip-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.equip-name { display: block; font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.4; min-height: 2.8em; }
.equip-name:hover { color: var(--pri); }
.equip-price { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.equip-price-main { font-size: 17px; font-weight: 800; color: #e2231a; overflow-wrap: break-word; }
.equip-price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; overflow-wrap: break-word; }
.equip-features { display: flex; flex-direction: column; gap: 4px; }
.equip-feature { font-size: 11.5px; color: var(--muted); display: flex; align-items: flex-start; gap: 5px; line-height: 1.5; }
.equip-feature::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.equip-btn { margin: 0 -14px -14px; margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--pri); color: #fff; font-size: 13px; font-weight: 700; padding: 12px; transition: background .2s; }
.equip-btn:hover { background: var(--pri-d); }

/* ---- Trang chi tiet 1 san pham (dich vu / thiet bi) ---- */
.detail-wrap { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media(min-width:860px){ .detail-wrap { grid-template-columns: 1.1fr .9fr; } }
.detail-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--gray); width: 100%; max-width: 600px; aspect-ratio: 1/1; margin: 0 auto; }
.detail-img-wrap img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.detail-zoom-hint { position: absolute; bottom: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; pointer-events: none; }
.detail-badge { position: absolute; top: 14px; left: 14px; }
.detail-title { font-size: 24px; font-weight: 800; color: var(--text); line-height: 1.35; margin-bottom: 14px; }
.detail-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.detail-price-main { font-size: 26px; font-weight: 900; color: #e2231a; overflow-wrap: break-word; }
.detail-price-old { font-size: 15px; color: var(--muted); text-decoration: line-through; overflow-wrap: break-word; }
.detail-desc { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
/* Chong loi gian dong: nội dung dán từ trình soạn thảo có xuống dòng trong mã HTML;
   ép white-space:normal để cac dau xuong dong khong bi bien thanh dong trong. */
.detail-desc.rich-content, .pinfo-box.rich-content { white-space: normal; }
/* Font Montserrat nhung de doc hon: co 16px, weight 500 (dam vua, ro net), gian dong & gian chu thoang. */
.detail-desc.rich-content { color: var(--text); font-size: 16px; line-height: 1.85; font-weight: 500; letter-spacing: .2px; }
.detail-desc.rich-content p { margin: 0 0 14px; }
.detail-desc.rich-content strong { color: var(--text); font-weight: 700; }
/* Tieu de tung muc: gach chan mau cam de tach muc ro rang (giong mau tham khao) */
.detail-desc.rich-content h2 { color: var(--text); font-weight: 800; font-size: 18px; margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.detail-desc.rich-content h3 { color: var(--text); font-weight: 800; font-size: 16px; margin: 20px 0 10px; }
.detail-desc.rich-content ul, .detail-desc.rich-content ol { margin: 0 0 14px; padding-left: 20px; }
.detail-desc.rich-content li { margin-bottom: 6px; color: var(--text); }
/* Khung vang: boc <div class="info-box"> quanh doan bat ky (them/xoa bang nut trong admin).
   KHONG con tu dong box -> tranh long 2 khung. */
.detail-desc.rich-content .info-box {
  background: #fff8e6; border: 1px solid #f2e2b0; border-radius: 12px;
  padding: 16px 22px; margin: 18px 0;
}
.detail-desc.rich-content .info-box > :first-child { margin-top: 0; }
.detail-desc.rich-content .info-box > :last-child { margin-bottom: 0; }
/* Tieu de trong khung vang: mau cam + icon, bo gach chan (giong hop "Thong tin nhanh"). */
.detail-desc.rich-content .info-box h2,
.detail-desc.rich-content .info-box h3 {
  color: var(--accent); background: none; border: 0;
  padding: 0; margin: 0 0 10px; font-size: 16px;
}
.detail-desc.rich-content .info-box h2::before,
.detail-desc.rich-content .info-box h3::before { content: "\26A1  "; }
/* Bang so sanh 2 cot: cot trai header do, cot phai header xanh (them bang nut trong admin). */
.detail-desc.rich-content .compare-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.detail-desc.rich-content .compare-table th { padding: 12px 14px; text-align: left; color: #fff; font-weight: 800; border: 1px solid #dfe3e8; }
.detail-desc.rich-content .compare-table th:first-child { background: #c0392b; }
.detail-desc.rich-content .compare-table th:last-child { background: #1e9e57; }
.detail-desc.rich-content .compare-table td { padding: 11px 14px; border: 1px solid #dfe3e8; color: var(--text); }
.detail-desc.rich-content .compare-table tr:nth-child(even) td { background: #f7f9fb; }
.detail-desc.rich-content img { max-width: 100%; border-radius: 8px; margin: 10px 0; }
.detail-media { display: flex; flex-direction: column; gap: 10px; }
.detail-gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.detail-gallery img { width: calc((100% - 50px) / 6); aspect-ratio: 1/1; object-fit: cover; border-radius: 6px; border: 2px solid transparent; cursor: pointer; opacity: .75; transition: .15s; }
.detail-gallery img:hover { opacity: 1; }
.detail-gallery img.active { border-color: var(--pri); opacity: 1; }
.detail-video-embed { position: absolute; inset: 0; }
.detail-video-embed iframe { width: 100%; height: 100%; border: 0; }
.detail-gallery-video { position: relative; width: calc((100% - 50px) / 6); aspect-ratio: 1/1; border-radius: 6px; overflow: hidden; border: 2px solid transparent; cursor: pointer; opacity: .75; transition: .15s; }
.detail-gallery-video:hover { opacity: 1; }
.detail-gallery-video.active { border-color: var(--pri); opacity: 1; }
.detail-gallery-video img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery-video .play-badge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.35); color: #fff; font-size: 16px; }
@media(max-width:480px){ .detail-gallery img, .detail-gallery-video { width: calc((100% - 30px) / 4); } }

/* Lightbox xem anh lon khi bam vao anh chinh, giong vuagiatreo */
.lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 2000; align-items: center; justify-content: center; }
.lightbox-overlay.active { display: flex; }
.lightbox-img { max-width: 95vw; max-height: 92vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox-close { position: absolute; top: 16px; right: 20px; width: 40px; height: 40px; border: none; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 26px; font-weight: 700; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); color: #fff; border: none; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media(max-width:768px){ .lightbox-nav { width: 38px; height: 38px; font-size: 18px; } .lightbox-close { width: 34px; height: 34px; font-size: 20px; } }
.detail-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.detail-feature { font-size: 13.5px; color: var(--text); display: flex; align-items: flex-start; gap: 8px; line-height: 1.6; }
.detail-feature::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; }
.detail-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.related-section { margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--border); }

/* ---- Contact ---- */
.contact-section { background: var(--gray); }
.contact-wrap { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media(min-width:900px){ .contact-wrap { grid-template-columns: .9fr 1.1fr; } }
.contact-info { background: var(--pri); color: #fff; border-radius: var(--radius); padding: 30px; }
.contact-info h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.contact-info p { font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.8; margin-bottom: 22px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-info-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-label { font-size: 11px; color: rgba(255,255,255,.65); }
.contact-info-value { font-size: 13.5px; font-weight: 700; }
.contact-form { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.contact-form .sub { font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
@media(min-width:520px){ .form-row.two { grid-template-columns: 1fr 1fr; } }
.form-field label { display: block; font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 11px 14px; font-size: 13px; font-family: inherit; outline: none; transition: border-color .2s; background: var(--white); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--pri); }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-submit { width: 100%; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; padding: 13px; border-radius: 8px; transition: background .2s; }
.form-submit:hover { background: #e14f22; }
.form-note { font-size: 11px; color: var(--muted); margin-top: 10px; text-align: center; }
.form-success { display: none; background: var(--green-l); color: var(--green); border: 1px solid var(--green); border-radius: 8px; padding: 12px 14px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.form-success.show { display: block; }

/* ---- Map ---- */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 26px; }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---- Footer ---- */
.footer { background: var(--footer-bg); color: var(--muted); padding: 46px 0 20px; margin-top: 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
@media(max-width:900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px){ .footer-grid { grid-template-columns: 1fr; } }
.footer h3 { color: var(--text); font-size: 14px; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.footer ul li { margin-bottom: 10px; font-size: 13px; }
.footer ul li a:hover { color: var(--pri); }
.footer-logo { font-size: 20px; font-weight: 900; color: var(--text); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-logo .logo-icon { width: 38px; height: 38px; border-radius: 8px; font-size: 15px; }
.footer-logo .logo-img { width: 38px; height: 38px; border-radius: 8px; }
.footer-desc { font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
.footer-hotlines { display: flex; flex-direction: column; gap: 8px; }
.footer-hotline-item { font-size: 13px; }
.footer-hotline-item a { color: var(--pri); font-weight: 700; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 18px; text-align: center; font-size: 12px; color: var(--muted); }

/* ---- Mobile bar / floating ---- */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); z-index: 1000; padding-bottom: env(safe-area-inset-bottom); }
@media(max-width:768px){ .mobile-bar { display: flex; } }
.mobile-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 2px; font-size: 10px; font-weight: 600; color: var(--muted); gap: 3px; }
.mobile-bar a .mb-icon { width: 22px; height: 22px; }
.mobile-bar a.call { color: var(--pri); }
.mobile-bar a.zalo { color: #0068ff; }
.mobile-bar a.call .mb-icon, .mobile-bar a.zalo .mb-icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.mobile-bar a.call .mb-icon svg, .mobile-bar a.zalo .mb-icon svg { width: 17px; height: 17px; }
.mobile-bar a.call .mb-icon { background: var(--pri); animation: pulse-ring 1s ease-in-out infinite alternate; }
.mobile-bar a.zalo .mb-icon { background: #0068ff; }
@keyframes pulse-ring { from { box-shadow: 0 0 0 0 rgba(41,133,231,.4); } to { box-shadow: 0 0 0 8px rgba(41,133,231,0); } }
@media(max-width:768px){ body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); } }
.float-call, .float-zalo { display: none; }
@media(min-width:769px){
  .float-call { display: flex; position: fixed; right: 20px; bottom: 96px; width: 54px; height: 54px; border-radius: 50%; background: var(--pri); color: #fff; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(41,133,231,.45); z-index: 999; animation: pulse-ring 1.2s ease-in-out infinite alternate; }
  .float-call svg { width: 24px; height: 24px; }
  .float-zalo { display: flex; position: fixed; right: 20px; bottom: 164px; align-items: center; gap: 8px; background: #0068ff; color: #fff; border-radius: 24px; padding: 11px 18px; font-size: 14px; font-weight: 700; box-shadow: 0 4px 16px rgba(0,104,255,.45); z-index: 999; }
}
.back-top { position: fixed; bottom: 88px; right: 20px; width: 44px; height: 44px; background: var(--pri); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 4px 14px rgba(41,133,231,.4); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 999; }
.back-top.show { opacity: 1; pointer-events: auto; }
@media(min-width:769px){ .back-top { bottom: 24px; } }

/* ---- Admin (shared tokens used by admin.css) ---- */
:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --ink: var(--text);
  --ink-soft: var(--muted);
  --ink-faint: #99a1ad;
  --line: var(--border);
  --line-strong: #c7cdd6;
  --accent-ink: #fff;
}
.btn-primary { background: var(--accent); color: #fff; font-weight: 700; }
.btn-primary:hover { background: #e14f22; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--pri); color: var(--pri); }

/* ===== Khoi "Thong Tin San Pham" (mo ta + uu diem + thong so) ===== */
.pinfo-single { margin-top: 38px; }
.pinfo-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; margin-top: 38px; align-items: start; }
.pinfo-grid--single { grid-template-columns: 1fr; }
@media (max-width: 900px) { .pinfo-grid { grid-template-columns: 1fr; gap: 26px; } }
.pinfo-title, .spec-title, .faq-title { font-size: 20px; font-weight: 800; color: var(--text); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--pri); }
.pinfo-box { background: #fdf7e3; border: 1px solid #f0e3b8; border-radius: 12px; padding: 18px 20px; color: var(--text); font-size: 14px; line-height: 1.7; }
.pinfo-subtitle { font-size: 16px; font-weight: 800; color: var(--text); margin: 22px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--accent); }
.pinfo-adv { margin: 0; padding-left: 20px; }
.pinfo-adv li { margin-bottom: 8px; color: var(--pri-d); font-weight: 600; }
.pinfo-side .spec-section { margin-top: 0; }
/* Hop "Thong tin nhanh" (tu Tinh nang noi bat) - nen vang nhat, tieu de cam nhu mau tham khao */
.pinfo-quick { background: #fff8e6; border: 1px solid #f2e2b0; border-radius: 12px; padding: 16px 20px; margin: 18px 0 4px; }
.pinfo-quick-title { color: var(--accent); font-weight: 800; font-size: 15px; margin-bottom: 10px; }
.pinfo-quick-list { margin: 0; padding-left: 20px; }
.pinfo-quick-list li { margin-bottom: 9px; color: var(--text); line-height: 1.7; font-size: 15px; font-weight: 500; }
.pinfo-quick-list li strong { font-weight: 700; }

/* ===== Bang thong so ky thuat + FAQ (trang chi tiet) ===== */
.spec-section, .faq-section { margin-top: 34px; }
.spec-table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--border); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.spec-table th { background: var(--pri); color: #fff; text-align: left; padding: 11px 16px; font-weight: 700; }
.spec-table th:first-child { width: 40%; }
.spec-table td { padding: 10px 16px; border-top: 1px solid var(--border); color: var(--text); }
.spec-table td:first-child { font-weight: 700; }
.spec-table tbody tr:nth-child(even) { background: var(--pri-l); }
/* FAQ dang the luon mo (khong con accordion): the trang, vach do ben trai, cau hoi do + dau "?". */
.faq-title { border-bottom-color: #d32f2f; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid #eef1f4; border-left: 4px solid #d32f2f; border-radius: 10px; padding: 16px 20px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.faq-q { color: #d32f2f; font-weight: 800; font-size: 16px; line-height: 1.5; margin-bottom: 8px; }
.faq-q::before { content: '? '; font-weight: 800; }
.faq-a { color: var(--muted); font-size: 14px; line-height: 1.75; }
