/* ============================================================
   site.css — BỘ THƯ VIỆN GIAO DIỆN DUY NHẤT (thay base/content/product.css)
   Chủ đề SÁNG theo mẫu doanh nghiệp: trắng + xanh dương + xanh lá.
   Quy ước: GIỮ NGUYÊN tên class cũ (.prose, .card, .p-specgrid, .chip…)
   và re-skin — nhờ vậy 45 trang nội dung cũ không phải sửa markup.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --blue:      #0e6cb4;   /* primary — khớp logo */
  --blue-d:    #0a4f86;
  --blue-dd:   #083c66;   /* topbar / footer đậm */
  --blue-l:    #e8f2fa;   /* nền khối nhạt */
  --green:     #1fa14b;   /* CTA */
  --green-d:   #178a3e;
  --amber:     #f59e0b;
  --ink:       #142a3d;   /* chữ chính */
  --ink-2:     #33506a;   /* chữ phụ */
  --ink-3:     #5d7891;   /* chữ mờ */
  --line:      #dbe6ef;
  --bg:        #ffffff;
  --bg-2:      #f4f8fb;   /* section xen kẽ */
  --card:      #ffffff;
  --shadow:    0 2px 10px rgba(16, 42, 67, .07);
  --shadow-lg: 0 12px 32px rgba(16, 42, 67, .14);
  --radius:    12px;
  --font:      'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Space Grotesk', 'Inter', sans-serif;
  --wrap:      1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wrap, .wrap-wide { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap { max-width: 1000px; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--blue-dd); color: #cfe3f4; font-size: 13px;
}
.topbar-in {
  max-width: var(--wrap); margin: 0 auto; padding: 7px 20px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar .tb-phone { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
@media (max-width: 640px) { .topbar .tb-tagline { display: none; } .topbar-in { justify-content: center; } }

/* ---------- Header + Nav ---------- */
.site-header {
  background: var(--bg); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 0 rgba(16,42,67,.03);
}
.header-in {
  max-width: var(--wrap); margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand b {
  font-family: var(--font-head); font-size: 17px; letter-spacing: .3px;
  color: var(--blue-d); display: block; line-height: 1.15;
}
.brand small { display: block; font-size: 11px; color: var(--ink-3); letter-spacing: .4px; }

.nav-main { display: flex; align-items: center; gap: 2px; }
.nav-main > li { list-style: none; position: relative; }
.nav-main { margin: 0; padding: 0; }
.nav-main > li > a {
  display: block; padding: 10px 13px; font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .3px; color: var(--ink);
  border-radius: 8px; position: relative;
}
.nav-main > li > a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-main > li > a:hover::after, .nav-main > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-main > li > a[aria-current="page"] { color: var(--blue); }

/* dropdown */
.nav-main .has-sub > a .car { font-size: 10px; margin-left: 3px; color: var(--ink-3); }
.nav-sub {
  position: absolute; top: 100%; left: 0; min-width: 240px; margin: 0; padding: 8px;
  list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.nav-main .has-sub:hover > .nav-sub,
.nav-main .has-sub:focus-within > .nav-sub { opacity: 1; visibility: visible; transform: translateY(2px); }
.nav-sub li { list-style: none; }
.nav-sub a {
  display: block; padding: 9px 12px; font-size: 14px; font-weight: 600;
  color: var(--ink-2); border-radius: 7px;
}
.nav-sub a:hover { background: var(--blue-l); color: var(--blue-d); }

.btn-cta {
  display: inline-block; background: var(--green); color: #fff !important;
  font-weight: 800; font-size: 14px; letter-spacing: .3px; text-transform: uppercase;
  padding: 11px 20px; border-radius: 8px; border: 0; cursor: pointer;
  box-shadow: 0 4px 14px rgba(31,161,75,.32); transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn-cta:hover { background: var(--green-d); transform: translateY(-1px); box-shadow: 0 7px 18px rgba(31,161,75,.4); }
.btn-ghost {
  display: inline-block; padding: 11px 20px; border-radius: 8px; font-weight: 700; font-size: 14px;
  color: var(--blue-d); border: 1.5px solid var(--blue); background: #fff; cursor: pointer;
  transition: background .15s;
}
.btn-ghost:hover { background: var(--blue-l); }

/* mobile nav */
.nav-burger {
  display: none; background: none; border: 1.5px solid var(--line); border-radius: 8px;
  width: 42px; height: 42px; cursor: pointer; color: var(--ink); font-size: 20px; line-height: 1;
}
@media (max-width: 980px) {
  .nav-burger { display: block; }
  .nav-main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; padding: 10px 14px 16px; gap: 0;
  }
  .nav-main.open { display: flex; }
  .nav-main > li > a { padding: 12px 8px; border-bottom: 1px solid var(--bg-2); }
  .nav-main > li > a::after { display: none; }
  .nav-sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 0 14px; display: none;
  }
  .nav-main .has-sub.open > .nav-sub { display: block; }
  .header-cta { display: none; }
}

/* ---------- Breadcrumb ---------- */
.crumbs {
  font-size: 13px; color: var(--ink-3); margin: 18px 0 10px;
}
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--blue); }

/* ---------- Hero (trang chủ + trang con) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden; background: var(--blue-dd);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,45,78,.88) 0%, rgba(8,45,78,.62) 45%, rgba(8,45,78,.18) 100%);
}
.hero-in {
  position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 20px;
}
.hero h1 {
  color: #fff; font-size: clamp(30px, 4.6vw, 52px); letter-spacing: .5px; margin-bottom: 6px;
}
.hero .hero-sub { color: #9fdcff; font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 2.4vw, 26px); }
.hero .hero-desc { color: #d9ecfa; max-width: 560px; margin: 14px 0 18px; font-size: 17px; }
.hero-ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.hero-ticks li { display: flex; gap: 9px; align-items: start; color: #eaf6ff; font-weight: 600; font-size: 15.5px; }
.hero-ticks li::before { content: "✓"; color: #6fe39a; font-weight: 800; }
.hero-page { padding: 0; }
.hero-page .hero-in { padding: clamp(30px, 5vw, 54px) 20px; }

/* ---------- Dải USP ---------- */
.usp-strip {
  max-width: var(--wrap); margin: -34px auto 0; padding: 0 20px;
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.usp {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 18px; display: flex; gap: 12px; align-items: center;
}
.usp .ic {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%;
  background: var(--blue-l); color: var(--blue); display: grid; place-items: center;
}
.usp .ic svg { width: 22px; height: 22px; }
.usp b { display: block; font-size: 14.5px; }
.usp span { font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 900px) { .usp-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .usp-strip { grid-template-columns: 1fr; margin-top: -20px; } }

/* ---------- Section ---------- */
.section { padding: clamp(40px, 6vw, 68px) 0; }
.section.alt { background: var(--bg-2); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.sec-head h2 { color: var(--blue-d); text-transform: uppercase; letter-spacing: .5px; }
.sec-head h2::after {
  content: ""; display: block; width: 64px; height: 3px; margin: 12px auto 0;
  background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 2px;
}
.sec-head p { color: var(--ink-3); margin-top: 12px; }

/* ---------- Cards (dùng lại class cũ .cards/.card) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 22px 0; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); color: inherit; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #bcd6ea; color: inherit; }
.card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
a.card:hover .thumb img { transform: scale(1.05); }
.card .thumb.contain img { object-fit: contain; padding: 16px; }
.card .thumb .brand-tile {
  height: 100%; display: grid; place-items: center; background: var(--blue-l); color: var(--blue-d);
  font-family: var(--font-head); text-align: center;
}
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card .tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--blue);
}
.card .t, .card h3 { font-size: 17px; font-weight: 700; font-family: var(--font-head); margin: 0; color: var(--ink); }
.card p { font-size: 14px; color: var(--ink-2); margin: 0; }
.card .date { font-size: 12.5px; color: var(--ink-3); margin-top: auto; }
.p-mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.p-mini span {
  font-size: 12px; font-weight: 700; color: var(--blue-d); background: var(--blue-l);
  border: 1px solid #cfe4f4; padding: 3px 9px; border-radius: 20px;
}

/* ---------- Badge / note / lead (class cũ) ---------- */
.badge {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .6px;
  text-transform: uppercase; color: var(--blue-d); background: var(--blue-l);
  border: 1px solid #c7e0f2; padding: 5px 12px; border-radius: 20px; margin-bottom: 12px;
}
.b-cyan, .b-amber, .b-violet { color: var(--blue-d); }
.lead { font-size: 17.5px; color: var(--ink-2); }
.note {
  background: #fff8e8; border: 1px solid #f3dfae; border-left: 4px solid var(--amber);
  border-radius: 8px; padding: 12px 16px; font-size: 14.5px; margin: 18px 0;
}
.note-green { background: #eefaf1; border-color: #c4e8cf; border-left-color: var(--green); }
.meta { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }

/* ---------- Prose (bài viết) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; color: var(--blue-d); }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
article.prose { padding-bottom: 20px; }
.img-box { margin: 22px 0; }
.img-box img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.img-box figcaption { font-size: 13px; color: var(--ink-3); margin-top: 8px; text-align: center; }
.sources { font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line); margin-top: 28px; padding-top: 14px; }

/* ---------- Bảng ---------- */
.tbl-scroll { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; background: #fff; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th, tr:first-child th {
  background: var(--blue-l); color: var(--blue-d); font-family: var(--font-head);
  font-size: 13.5px; letter-spacing: .3px;
}
tbody tr:nth-child(even) td { background: #fafcfe; }
tbody tr:last-child td { border-bottom: 0; }
td em { color: var(--ink-3); font-size: 13px; }
td strong { color: var(--blue-d); }

/* ---------- FAQ ---------- */
.faq {
  border: 1px solid var(--line); border-radius: 10px; margin: 10px 0; background: #fff;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: 15.5px; color: var(--ink);
  list-style: none; position: relative; padding-right: 40px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--blue-l); color: var(--blue);
  display: grid; place-items: center; font-weight: 800; transition: transform .2s;
}
.faq[open] summary::after { content: "–"; transform: translateY(-50%); background: var(--blue); color: #fff; }
.faq > div { padding: 0 18px 16px; color: var(--ink-2); font-size: 14.5px; }

/* ---------- CTA box trong bài ---------- */
.cta-box {
  background: linear-gradient(120deg, var(--blue-d), var(--blue)); color: #fff;
  border-radius: var(--radius); padding: 26px 28px; margin: 30px 0; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-box b { font-family: var(--font-head); font-size: 20px; display: block; margin-bottom: 6px; }
.cta-box p { color: #d9ecfa; margin: 0 0 16px; }

/* ---------- CTA band (layout chung, trước footer) ---------- */
.cta-band { background: linear-gradient(115deg, var(--blue-d) 0%, var(--blue) 70%, #1585d8 100%); color: #fff; }
.cta-band-in { max-width: var(--wrap); margin: 0 auto; padding: 36px 20px; text-align: center; }
.cta-band h2 { color: #fff; text-transform: uppercase; margin-bottom: 4px; font-size: clamp(20px, 2.6vw, 28px); }
.cta-band p { color: #cfe6f8; margin-bottom: 18px; }
.cta-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cta-form input {
  flex: 1 1 200px; max-width: 260px; padding: 12px 14px; border-radius: 8px; border: 0;
  font-family: inherit; font-size: 14.5px; color: var(--ink);
}
.cta-form input::placeholder { color: var(--ink-3); }
@media (max-width: 640px) { .cta-form input { max-width: none; flex-basis: 100%; } }

/* ---------- Footer ---------- */
.footer { background: var(--blue-dd); color: #b9d4e8; font-size: 14px; }
.footer-in {
  max-width: var(--wrap); margin: 0 auto; padding: 44px 20px 30px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 30px;
}
.footer b { color: #fff; display: block; margin-bottom: 12px; font-family: var(--font-head); font-size: 15px; }
.footer a { display: block; color: #b9d4e8; margin-bottom: 9px; }
.footer a:hover { color: #fff; }
.footer .f-brand img { width: 52px; margin-bottom: 10px; }
.footer .f-social { display: flex; gap: 10px; margin-top: 14px; }
.footer .f-social a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.12);
  display: grid; place-items: center; margin: 0;
}
.footer .f-social a:hover { background: var(--green); }
.footer .f-social svg { width: 16px; height: 16px; }
.copy {
  border-top: 1px solid rgba(255,255,255,.14); text-align: center;
  padding: 14px 20px; font-size: 13px; color: #8fb2cc;
}
@media (max-width: 900px) { .footer-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-in { grid-template-columns: 1fr; } }

/* ============================================================
   COMPONENTS TRANG SẢN PHẨM (re-skin class cũ product.css)
   ============================================================ */
.p-hero {
  display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 34px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: clamp(20px, 3vw, 34px); margin: 22px 0 30px;
  position: relative; overflow: hidden;
}
.p-hero::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 6px;
  background: linear-gradient(180deg, var(--blue), var(--green));
}
.p-hero-media { display: grid; place-items: center; position: relative; background: var(--bg-2); border-radius: 10px; padding: 22px; }
.p-hero-media img { max-height: 380px; width: auto; object-fit: contain; }
.p-brandmark {
  position: absolute; top: 12px; left: 12px; font-size: 11.5px; font-weight: 800; letter-spacing: 1px;
  color: var(--blue-d); background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 4px 12px; display: inline-flex; align-items: center; gap: 6px; box-shadow: var(--shadow);
}
.p-brandmark .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.p-hero-info .lead { font-size: 15.5px; }
.p-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 18px 0; }
.p-stat {
  background: var(--blue-l); border: 1px solid #cfe4f4; border-radius: 10px;
  padding: 12px 14px; text-align: center;
}
.p-stat b { display: block; font-family: var(--font-head); font-size: 20px; color: var(--blue-d); }
.p-stat span { font-size: 12px; color: var(--ink-3); }
.p-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 800px) { .p-hero { grid-template-columns: 1fr; } }

.p-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin: 26px 0; }
.p-hl {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; transition: transform .2s, box-shadow .2s; color: inherit;
}
.p-hl:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.p-hl .ic {
  width: 44px; height: 44px; border-radius: 10px; background: var(--blue-l); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 12px;
}
.p-hl .ic svg { width: 22px; height: 22px; }
.p-hl b { display: block; font-family: var(--font-head); font-size: 16px; margin-bottom: 6px; }
.p-hl p { font-size: 14px; color: var(--ink-2); margin: 0; }

.p-specgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; }
.p-specgroup {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px;
}
.p-specgroup h3 { display: flex; align-items: center; gap: 9px; font-size: 15.5px; color: var(--blue-d); margin-bottom: 10px; }
.p-specgroup h3 svg { width: 19px; height: 19px; color: var(--blue); }
.p-specgroup dl { margin: 0; }
.p-specgroup dl > div {
  display: flex; justify-content: space-between; gap: 14px; padding: 8px 2px;
  border-bottom: 1px dashed var(--line); font-size: 14px;
}
.p-specgroup dl > div:last-child { border-bottom: 0; }
.p-specgroup dt { color: var(--ink-3); }
.p-specgroup dd { margin: 0; text-align: right; font-weight: 600; }
.p-specgroup dd.hi, .p-specgroup dd strong { color: var(--blue-d); }
@media (max-width: 760px) { .p-specgrid { grid-template-columns: 1fr; } }

.p-compare table th.is-this, .p-compare table td.is-this { background: var(--blue-l); }
.p-compare thead th.is-this { background: var(--blue); color: #fff; }
.p-proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 20px 0; }
.p-shot { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.spec-hero { background: var(--bg-2); border-radius: var(--radius); padding: 20px; }

/* ---------- Bộ lọc san-pham (class cũ) ---------- */
.cat-bar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px; margin: 24px 0;
}
.cat-search { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 9px; padding: 10px 14px; margin-bottom: 14px; }
.cat-search svg { width: 18px; height: 18px; stroke: var(--ink-3); fill: none; stroke-width: 2; flex: 0 0 auto; }
.cat-search input { border: 0; outline: 0; flex: 1; font-family: inherit; font-size: 15px; color: var(--ink); background: transparent; }
.cat-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.cat-row > span { font-size: 13px; font-weight: 700; color: var(--ink-3); margin-right: 4px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font-size: 13.5px;
  font-weight: 600; padding: 6px 14px; border-radius: 20px; cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.cat-count { font-size: 13px; color: var(--ink-3); }
.cat-empty { text-align: center; padding: 36px 0; color: var(--ink-3); }

/* ---------- Chuyển động nhẹ ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }


/* ---------- Tiện ích ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* ---------- Calculator (khối giữ lại từ trang chủ cũ) ---------- */
.calc-box {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: clamp(20px, 3vw, 30px);
}
.calc-box label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); display: block; margin-bottom: 6px; }
.calc-box input[type="range"] { width: 100%; accent-color: var(--blue); }
.calc-box .val { font-family: var(--font-head); font-weight: 700; color: var(--blue-d); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 860px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 18px; }
.calc-out .p-stat b { font-size: 17px; }
.dev-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.dev-row:last-child { border-bottom: 0; }
.dev-row .dn { flex: 1; }
.dev-row .dp { color: var(--ink-3); font-size: 12.5px; }
.dev-row button {
  width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff;
  font-size: 16px; font-weight: 700; color: var(--blue); cursor: pointer;
}
.dev-row button:hover { border-color: var(--blue); background: var(--blue-l); }
.dev-row .qty { min-width: 22px; text-align: center; font-weight: 700; }
.pack {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-top: 10px;
  display: flex; align-items: center; gap: 12px; background: #fff;
}
.pack.best { border-color: var(--green); background: #f2fbf5; }
.pack .ptag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--green-d); }
.pack .pqty { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--blue-d); }

/* ---------- Gallery dự án ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.proj-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.proj-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.proj-item:hover img { transform: scale(1.06); }
.proj-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(8,45,78,.92)); color: #fff; font-size: 13.5px; font-weight: 600;
}
.proj-item figcaption small { display: block; font-weight: 400; color: #bcdcf2; font-size: 12px; }

/* ============ v2.1: hero slider + carousel + marquee + float ============ */
.hero-slider .hs-slide { position:absolute; inset:0; opacity:0; transition:opacity 1.1s ease; }
.hero-slider .hs-slide.on { opacity:1; }
.hero-slider .hs-slide img { width:100%; height:100%; object-fit:cover; animation:kenburns 9s ease-out infinite alternate; }
@keyframes kenburns { from { transform:scale(1); } to { transform:scale(1.09); } }
.hero .hero-in { animation:heroIn .9s ease both; }
@keyframes heroIn { from { opacity:0; transform:translateY(26px); } to { opacity:1; transform:none; } }
.hero h1 { text-shadow:0 4px 24px rgba(0,0,0,.35); }
.hs-dots { position:absolute; left:0; right:0; bottom:16px; display:flex; gap:8px; justify-content:center; z-index:2; }
.hs-dots button { width:9px; height:9px; border-radius:9px; border:0; cursor:pointer; background:rgba(255,255,255,.45); transition:all .3s; padding:0; }
.hs-dots button.on { width:28px; background:linear-gradient(90deg,var(--green),#7fe0a5); }
.hero-stats { display:flex; gap:26px; flex-wrap:wrap; margin-top:26px; }
.hero-stats div b { font-family:var(--font-head); font-size:30px; color:#8ff0b0; display:block; line-height:1.1; }
.hero-stats div span { font-size:13px; color:#cfe6f8; }

.slider { position:relative; }
.slider-track { display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; padding-bottom:8px; scrollbar-width:none; }
.slider-track::-webkit-scrollbar { display:none; }
.slider-track > * { flex:0 0 min(340px,82vw); scroll-snap-align:start; }
.slider-btn { position:absolute; top:42%; transform:translateY(-50%); z-index:5; width:44px; height:44px; border-radius:50%; border:0; cursor:pointer; background:#fff; color:var(--blue-d); font-size:20px; box-shadow:var(--shadow-lg); transition:all .2s; }
.slider-btn:hover { background:var(--blue); color:#fff; }
.slider-btn.prev { left:-10px; } .slider-btn.next { right:-10px; }
.proj-card { border-radius:var(--radius); overflow:hidden; position:relative; box-shadow:var(--shadow); aspect-ratio:4/3; }
.proj-card img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.proj-card:hover img { transform:scale(1.07); }
.proj-card figcaption { position:absolute; inset:auto 0 0 0; padding:34px 16px 14px; background:linear-gradient(transparent,rgba(8,45,78,.94)); color:#fff; font-weight:700; font-size:15px; }
.proj-card figcaption small { display:block; font-weight:500; color:#9fd6f5; font-size:12.5px; margin-top:2px; }
.proj-card .pc-badge { position:absolute; top:12px; left:12px; background:var(--green); color:#fff; font-size:11.5px; font-weight:800; padding:4px 11px; border-radius:20px; letter-spacing:.4px; }

.marquee { overflow:hidden; position:relative; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.marquee-track { display:flex; gap:14px; width:max-content; animation:marq 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state:paused; }
@keyframes marq { to { transform:translateX(-50%); } }
.brand-chip { display:flex; flex-direction:column; justify-content:center; min-width:190px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:18px 22px; transition:all .2s; }
.brand-chip:hover { border-color:var(--blue); transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.brand-chip b { font-family:var(--font-head); font-size:19px; color:var(--blue-d); }
.brand-chip span { font-size:12.5px; color:var(--ink-3); }

.float-contact { position:fixed; right:16px; bottom:18px; z-index:200; display:flex; flex-direction:column; gap:10px; }
.float-contact a { width:52px; height:52px; border-radius:50%; display:grid; place-items:center; color:#fff; box-shadow:0 6px 20px rgba(16,42,67,.3); animation:floatPulse 2.6s ease-in-out infinite; }
.float-contact .fc-phone { background:var(--green); }
.float-contact .fc-zalo { background:#0068ff; font-weight:800; font-size:13px; animation-delay:.6s; }
.float-contact svg { width:24px; height:24px; }
@keyframes floatPulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.08); } }


/* ===== v2.2: hero "showcase" độc bản ===== */
.hero-home { clip-path: polygon(0 0,100% 0,100% calc(100% - 56px),0 100%); }
.hero-home .hero-in { display:grid; grid-template-columns:1.05fr .95fr; gap:36px; align-items:center; }
.hero-glass { background:rgba(6,32,56,.45); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border:1px solid rgba(255,255,255,.18); border-radius:18px; padding:clamp(22px,3vw,36px); box-shadow:0 20px 60px rgba(0,0,0,.35); }
.hero-grad { background:linear-gradient(90deg,#fff 20%,#8ff0b0 50%,#7cd2ff 80%); -webkit-background-clip:text; background-clip:text; color:transparent; background-size:200% auto; animation:gradShift 6s linear infinite; }
@keyframes gradShift { to { background-position:200% center; } }
.hero-deck { position:relative; z-index:1; }
.hs-thumbs { display:flex; gap:10px; margin-top:14px; }
.hs-thumbs button { padding:0; border:2px solid rgba(255,255,255,.35); border-radius:10px; overflow:hidden; cursor:pointer; width:74px; height:52px; background:none; opacity:.65; transition:all .25s; position:relative; }
.hs-thumbs button img { width:100%; height:100%; object-fit:cover; }
.hs-thumbs button.on { opacity:1; border-color:var(--green); transform:translateY(-3px); box-shadow:0 8px 18px rgba(0,0,0,.35); }
.hs-caption { margin-top:10px; font-size:13.5px; color:#cfe6f8; min-height:20px; }
.hs-caption b { color:#8ff0b0; }
.hero-progress { position:absolute; left:0; bottom:0; height:3px; background:linear-gradient(90deg,var(--green),#7cd2ff); width:0; z-index:3; }
.hero-progress.run { animation:heroProg 5.2s linear infinite; }
@keyframes heroProg { from { width:0; } to { width:100%; } }
.hero-float-card { position:absolute; right:-8px; top:-16px; z-index:2; background:#fff; color:var(--ink); border-radius:12px; padding:10px 16px; box-shadow:var(--shadow-lg); font-size:13px; font-weight:700; animation:bob 4s ease-in-out infinite; }
.hero-float-card span { color:var(--green-d); }
@keyframes bob { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
@media (max-width:900px){ .hero-home .hero-in { grid-template-columns:1fr; } .hero-deck{display:none;} .hero-home{clip-path:polygon(0 0,100% 0,100% calc(100% - 28px),0 100%);} }


/* ===== v2.3: coverflow Dự án tiêu biểu ===== */
.coverflow { position:relative; height:min(440px,62vw); perspective:1400px; margin:10px 0 6px; }
.cf-item { position:absolute; top:0; left:50%; width:min(560px,74vw); aspect-ratio:16/10; border-radius:16px; overflow:hidden; cursor:pointer; box-shadow:0 18px 44px rgba(8,45,78,.28); transition:transform .85s cubic-bezier(.22,.8,.24,1), opacity .85s, filter .85s; will-change:transform; }
.cf-item img { width:100%; height:100%; object-fit:cover; }
.cf-item figcaption { position:absolute; inset:auto 0 0 0; padding:38px 18px 14px; background:linear-gradient(transparent,rgba(8,45,78,.95)); color:#fff; font-weight:700; font-size:16px; opacity:0; transition:opacity .5s; }
.cf-item figcaption small { display:block; font-weight:500; color:#9fd6f5; font-size:12.5px; }
.cf-item.center figcaption { opacity:1; }
.cf-item .pc-badge { position:absolute; top:12px; left:12px; background:var(--green); color:#fff; font-size:11.5px; font-weight:800; padding:4px 11px; border-radius:20px; }
.cf-dots { display:flex; gap:8px; justify-content:center; margin-top:16px; }
.cf-dots button { width:9px; height:9px; border-radius:9px; border:0; cursor:pointer; background:#c3d6e6; transition:all .3s; padding:0; }
.cf-dots button.on { width:26px; background:linear-gradient(90deg,var(--blue),var(--green)); }

/* ===== v2.4: Khu vực phục vụ — panel giãn nở ===== */
.areas { display:flex; gap:14px; height:360px; }
.area { position:relative; flex:1; border-radius:16px; overflow:hidden; cursor:pointer; transition:flex .75s cubic-bezier(.22,.8,.24,1); box-shadow:var(--shadow); }
.area img { width:100%; height:100%; object-fit:cover; transition:transform 6s ease; }
.area.on { flex:3.2; box-shadow:var(--shadow-lg); }
.area.on img { transform:scale(1.08); }
.area::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(8,45,78,.05) 30%,rgba(8,45,78,.9)); }
.area-txt { position:absolute; left:16px; right:16px; bottom:14px; z-index:2; color:#fff; }
.area-txt b { font-family:var(--font-head); font-size:20px; display:block; white-space:nowrap; }
.area-txt small { display:block; font-size:13px; color:#bfe0f5; max-height:0; opacity:0; overflow:hidden; transition:all .6s .15s; }
.area.on .area-txt small { max-height:60px; opacity:1; }
.area .area-pin { position:absolute; top:12px; left:12px; z-index:2; background:var(--green); color:#fff; font-size:11px; font-weight:800; padding:4px 10px; border-radius:20px; opacity:0; transition:opacity .5s; }
.area.on .area-pin { opacity:1; }
@media (max-width:760px){ .areas { flex-direction:column; height:auto; } .area { height:86px; } .area.on { height:240px; flex:1; } }

/* ===== v2.5: đồng đều lưới thẻ Tin tức & Sản phẩm ===== */
.cards { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)) !important; align-items: stretch; }
.cards .card { height: 100%; }
.card .thumb, .card .thumb.contain { aspect-ratio: 16/10 !important; height: auto !important; }
.card .thumb.contain { background: radial-gradient(ellipse at 50% 42%, #ffffff 45%, var(--blue-l)); display: grid; place-items: center; }
.card .thumb.contain img { max-height: 80%; max-width: 78%; width: auto; height: auto; object-fit: contain; padding: 0; margin: auto; transition: transform .35s ease; }
a.card:hover .thumb.contain img { transform: scale(1.06); }
.card .thumb .brand-tile { width: 100%; height: 100%; }
.card .t, .card h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16.5px; line-height: 1.35; min-height: 2.7em; }
.card .body > p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .body { min-height: 150px; }
/* tiêu đề nhóm inline cũ -> đồng bộ kiểu thanh nhấn */
main h2[style*="font-size:22px"], main h2[style*="font-size:23px"], main h2[style*="font-size:27px"] {
  font-size: 21px !important; color: var(--blue-d) !important;
  border-left: 4px solid var(--green); padding-left: 12px; margin: 40px 0 14px !important;
}
main h3[style*="font-size:20px"] { color: var(--ink-2); margin: 24px 0 10px !important; }
/* thanh lọc sản phẩm dính khi cuộn */
.cat-bar { position: sticky; top: 72px; z-index: 50; }

/* ===== v2.6: logo moi (den) — de trang o vung nen toi ===== */
.footer .f-brand img { background: #fff; border-radius: 12px; padding: 5px; }

/* ===== v2.7: carousel muot & dep (du-an, thu vien anh) ===== */
.slider { position: relative; padding-bottom: 6px; }
.slider-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 6px 2px 10px; scrollbar-width: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
.slider-track.grabbing { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { flex: 0 0 min(360px, 84vw); scroll-snap-align: center; }
@media (min-width: 981px) { .slider-track > * { scroll-snap-align: start; } }
.proj-item { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; margin: 0; transition: box-shadow .3s, transform .3s; }
.proj-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.proj-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.proj-item:hover img { transform: scale(1.05); }
.proj-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 34px 14px 12px; color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: .2px;
  background: linear-gradient(180deg, transparent, rgba(8, 40, 70, .78) 62%);
}
.slider-btn {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px); color: var(--blue-d);
  font-size: 20px; line-height: 1; box-shadow: var(--shadow-lg); transition: all .2s;
}
.slider-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-50%) scale(1.08); }
.slider-btn.prev { left: -8px; } .slider-btn.next { right: -8px; }
@media (max-width: 640px) { .slider-btn { display: none; } }
.sl-dots { display: flex; justify-content: center; gap: 7px; margin-top: 10px; }
.sl-dots button {
  width: 8px; height: 8px; border-radius: 20px; border: 0; padding: 0; cursor: pointer;
  background: #c3d6e6; transition: all .3s ease;
}
.sl-dots button.on { width: 26px; background: var(--blue); }

/* ===== v2.8: trang San pham gon gang ===== */
.cat-head { margin: 40px 0 14px; }
.cat-head h2 { font-size: 24px; color: var(--blue-d); border-left: 4px solid var(--green); padding-left: 12px; margin: 0 0 6px; }
.cat-head h2 small { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-left: 8px; }
.cat-head p { color: var(--ink-2); max-width: 860px; margin: 0; font-size: 14.5px; }
.cards.cards-dense { grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)) !important; gap: 14px; }
.cards-dense .card .body { min-height: 118px; padding: 12px 14px 14px; }
.cards-dense .card .t { font-size: 15.5px; min-height: 2.7em; }
.cards-dense .card .body > p { -webkit-line-clamp: 2; font-size: 13.5px; color: var(--ink-2); margin-bottom: 8px; }
.cards-dense .card .tag { font-size: 11px; }
.cards-dense .card .p-mini span { font-size: 11px; }

/* ===== v2.9: trang Tin tuc kieu bao/blog ===== */
.news-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; margin: 26px 0 10px; }
.nh-feat { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); min-height: 420px; display: block; }
.nh-feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nh-feat:hover img { transform: scale(1.04); }
.nh-feat-txt {
  position: absolute; inset: auto 0 0 0; padding: 120px 26px 24px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(6, 34, 60, .9) 70%);
}
.nh-feat-txt .tag { background: var(--green); color: #fff; border: 0; }
.nh-feat-txt h2 { color: #fff; font-size: clamp(20px, 2.6vw, 30px); margin: 10px 0 8px; }
.nh-feat-txt p { color: #d7e8f6; font-size: 14.5px; max-width: 560px; margin: 0 0 10px; }
.nh-feat-txt .date { color: #a7c9e4; font-size: 12.5px; }
.nh-side { display: grid; gap: 14px; align-content: stretch; }
.nh-item {
  display: grid; grid-template-columns: 128px 1fr; gap: 12px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.nh-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.nh-item img { width: 128px; height: 100%; min-height: 96px; object-fit: cover; }
.nh-item > div { padding: 10px 12px 10px 0; }
.nh-item b { display: block; color: var(--ink); font-size: 14.5px; line-height: 1.35; margin: 4px 0; }
.nh-item .date { font-size: 12px; color: var(--ink-3); }
.news-sec-head { display: flex; align-items: baseline; gap: 12px; margin: 40px 0 14px; border-bottom: 2px solid var(--line); padding-bottom: 8px; }
.news-sec-head h2 { font-size: 21px; color: var(--blue-d); margin: 0; border-left: 4px solid var(--green); padding-left: 12px; }
.news-sec-head span { font-size: 13px; color: var(--ink-3); }
/* video */
.vthumb { position: relative; }
.vplay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: rgba(14, 108, 180, .92);
  color: #fff; font-size: 19px; display: grid; place-items: center; padding-left: 4px;
  box-shadow: 0 6px 20px rgba(8, 50, 90, .45); transition: transform .25s, background .25s;
}
a.card:hover .vplay { transform: translate(-50%, -50%) scale(1.12); background: var(--green); }
.vsrc {
  position: absolute; left: 10px; bottom: 10px; background: rgba(6, 34, 60, .82); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .5px; padding: 3px 9px; border-radius: 6px;
}
.video-cards .card .thumb img { object-fit: cover; }
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); background: #06223c; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* 2 cot + aside */
.news-layout { display: grid; grid-template-columns: 1fr 312px; gap: 28px; align-items: start; margin-top: 8px; }
.news-aside { position: sticky; top: 86px; display: grid; gap: 16px; }
.aside-box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; box-shadow: var(--shadow); }
.aside-title { display: block; font-family: var(--font-head); font-size: 15.5px; color: var(--blue-d); margin-bottom: 10px; }
.top-reads { margin: 0; padding: 0 0 0 2px; counter-reset: tr; list-style: none; }
.top-reads li { counter-increment: tr; display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.top-reads li:last-child { border-bottom: 0; }
.top-reads li::before {
  content: counter(tr); flex: 0 0 24px; height: 24px; border-radius: 8px; background: var(--blue-l);
  color: var(--blue-d); font-weight: 800; font-size: 13px; display: grid; place-items: center;
}
.top-reads li:first-child::before { background: var(--green); color: #fff; }
.top-reads a { color: var(--ink-2); font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.top-reads a:hover { color: var(--blue); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud a {
  font-size: 12.5px; font-weight: 700; color: var(--blue-d); background: var(--blue-l);
  padding: 5px 11px; border-radius: 20px; transition: all .2s;
}
.tag-cloud a:hover { background: var(--blue); color: #fff; }
.aside-prod { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.aside-prod:last-of-type { border-bottom: 0; }
.aside-prod img { width: 52px; height: 52px; object-fit: contain; background: var(--bg-2); border-radius: 10px; padding: 5px; }
.aside-prod b { display: block; color: var(--ink); font-size: 13.5px; line-height: 1.3; }
.aside-prod small { color: var(--ink-3); font-size: 12px; }
.aside-cta { background: linear-gradient(160deg, var(--blue-l), #fff); text-align: center; }
.aside-cta p { font-size: 13px; color: var(--ink-2); margin: 0 0 10px; }
@media (max-width: 980px) {
  .news-hero { grid-template-columns: 1fr; }
  .nh-feat { min-height: 300px; }
  .news-layout { grid-template-columns: 1fr; }
  .news-aside { position: static; }
}

/* ===== v3.0: gallery du an kieu panel mo rong (bien tau tu Khu vuc phuc vu) ===== */
.proj-sec { margin-bottom: 54px; }
.proj-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.proj-head h2 { color: var(--blue-d); font-size: clamp(19px, 2.4vw, 26px); margin: 0 0 8px; }
.proj-head .p-mini { margin: 0; }
.proj-head .btn-ghost { white-space: nowrap; }
.xgal { display: flex; gap: 8px; height: min(430px, 56vw); }
.xg-item {
  position: relative; flex: 1; margin: 0; overflow: hidden; border-radius: 12px;
  cursor: pointer; box-shadow: var(--shadow);
  transition: flex .75s cubic-bezier(.24, .9, .28, 1);
}
.xg-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.5) brightness(.8); transition: filter .5s ease, transform .9s ease;
}
.xg-item:hover img { filter: saturate(.85) brightness(.95); }
.xg-item.on { flex: 5.2; box-shadow: var(--shadow-lg); }
.xg-item.on img { filter: none; }
.xg-num {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(3px);
  color: var(--blue-d); font-size: 12.5px; font-weight: 800;
  transition: background .3s, color .3s;
}
.xg-item.on .xg-num { background: var(--green); color: #fff; }
.xg-cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 13px; z-index: 1;
  color: #fff; font-size: 14.5px; font-weight: 700; letter-spacing: .2px;
  background: linear-gradient(180deg, transparent, rgba(6, 34, 60, .85) 68%);
  opacity: 0; transform: translateY(14px); transition: opacity .45s ease .18s, transform .45s ease .18s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.xg-item.on .xg-cap { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .xgal { flex-direction: column; height: auto; }
  .xg-item { flex: none; height: 46px; border-radius: 10px; }
  .xg-item.on { flex: none; height: 290px; }
  .xg-cap { white-space: normal; padding: 30px 13px 10px; font-size: 13.5px; }
  .proj-head .btn-ghost { width: 100%; text-align: center; }
}
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.proj-grid .proj-item { aspect-ratio: 4/3; }

/* ===== v3.1: Vi sao chon chung toi (index) ===== */
.why-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; align-items: stretch; }
.why-photos { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(0, 1fr); gap: 12px; }
.wp { position: relative; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); min-height: 150px; }
.wp-main { grid-column: 1 / -1; min-height: 250px; }
.wp img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.wp:hover img { transform: scale(1.05); }
.wp figcaption {
  position: absolute; inset: auto 0 0 0; padding: 30px 13px 10px; color: #fff;
  font-size: 12.5px; font-weight: 700;
  background: linear-gradient(180deg, transparent, rgba(6, 34, 60, .82) 70%);
}
.why-list { display: grid; gap: 12px; align-content: start; }
.why-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 13px;
  padding: 13px 16px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.why-item:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.wi-num {
  flex: 0 0 auto; font-family: var(--font-head); font-size: 21px; font-weight: 700;
  color: var(--blue); background: var(--blue-l); border-radius: 10px; padding: 4px 9px; line-height: 1.3;
}
.why-item b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }
.why-item p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.why-news { margin-top: 30px; }
.why-news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 22px; }
@media (max-width: 900px) {
  .why-wrap { grid-template-columns: 1fr; }
  .why-news-grid { grid-template-columns: 1fr; }
}
