/* PNE – Hệ sinh thái chính quyền số. Tokens lấy từ logo PNE: xanh lam + sao vàng; đỏ chỉ dùng cho văn bản pháp lý. */
:root {
  --ink: #0f2a52;
  --ink-2: #163a6e;
  --pne: #2f6bb2;
  --pne-600: #24599a;
  --sky: #e6eef8;
  --paper: #f6f9fd;
  --white: #ffffff;
  --star: #f2d33a;
  --seal: #c8261f;
  --text: #13233d;
  --muted: #55657f;
  --line: #d6e0ee;
  --ok: #1f8a5b;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;
  --wrap: 1200px;
  --shadow-stage: 0 30px 60px -30px rgba(15, 42, 82, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font: 400 16px/1.6 var(--font);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 0;
}
img { max-width: 100%; display: block; }
a { color: var(--pne-600); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--star); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--star); color: var(--ink); padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { line-height: 1.18; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; }
p { margin: 0; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; text-decoration: none; font-size: 0.98rem; transition: background .15s, color .15s, box-shadow .15s;
}
.btn-star { background: var(--star); color: var(--ink); }
.btn-star:hover { background: #ffe25b; }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--white); }
.btn-blue { background: var(--pne); color: var(--white); }
.btn-blue:hover { background: var(--pne-600); }
.btn-line { background: var(--white); color: var(--pne-600); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--pne); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(15, 42, 82, 0.94); backdrop-filter: blur(10px);
  color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; background: transparent; }
.brand b { display: block; font-size: 1.197rem; letter-spacing: 0.01em; line-height: 1.2; }
.brand small {
  display: block; font-size: 1.11rem; font-weight: 700; letter-spacing: .01em; line-height: 1.25; margin-top: 2px;
  color: #f7dc5a;
  text-shadow: 0 1px 0 #d9b52c, 0 2px 0 #b8931f, 0 3px 0 #8f7016, 0 4px 0 #6a520f, 0 5px 7px rgba(0, 0, 0, .55);
}
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: rgba(255,255,255,.86); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 0.94rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.08); }
.header-cta { padding: 10px 18px; font-size: .92rem; white-space: nowrap; flex: none; }
.brand { flex: none; }
.brand span { white-space: nowrap; }
.nav a, .mega-btn { white-space: nowrap; }
@media (max-width: 1320px) {
  .site-header .wrap { gap: 16px; }
  .nav a, .mega-btn { padding: 8px 9px; font-size: .9rem; }
}
@media (max-width: 1200px) {
  .header-cta { display: none; }
}
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }

/* ---------- Hero: showroom of real kiosks ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(1200px 500px at 78% 108%, rgba(47,107,178,.75), transparent 62%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.hero::before { /* dotted grid: dữ liệu, kết nối */
  content: ""; position: absolute; inset: 0; opacity: .22;
  background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-top: 72px; }
.hero-copy { padding-bottom: 96px; }
.hero-copy .stars { display: flex; gap: 6px; margin-bottom: 22px; }
.hero-copy .stars span { width: 10px; height: 10px; background: var(--star); clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.hero h1 { max-width: 20ch; text-transform: uppercase; font-size: clamp(1.8rem, 3.9vw, 3.05rem); line-height: 1.22; letter-spacing: .005em; }
.hero .lead { color: rgba(255,255,255,.8); margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-proof div { font-size: .86rem; color: rgba(255,255,255,.7); max-width: 16ch; line-height: 1.35; }
.hero-proof strong { display: block; font-size: 1.7rem; color: var(--white); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.hero-proof .hp-wide { max-width: 22ch; }
.hero-proof .hp-wide strong { font-size: 1.32rem; line-height: 1.29; padding-top: .2em; }

/* Dãy Kiosk AI thế hệ 7 (2027): HCC "cô gái áo đỏ" đứng trước, CAND – CSGT – Kinh tế số phía sau.
   Bố cục tuyệt đối theo tỉ lệ khung nên giữ nguyên trên mọi màn hình, không cuộn ngang. */
.lineup { position: relative; width: 100%; aspect-ratio: 1 / 0.98; align-self: end; }
.lineup::after { content: ""; position: absolute; left: -12%; right: -40%; bottom: 0; height: 13%;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.10)); border-bottom: 1px solid rgba(255,255,255,.2); pointer-events: none; z-index: 5; }
.unit { position: absolute; bottom: 0; padding: 0; border: 0; background: none; cursor: pointer; color: var(--white);
  transform: translateY(var(--lift, 0)); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.unit img { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 22px rgba(0,0,0,.38)); }
.unit .tag { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); white-space: nowrap;
  font-size: .8rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.12); transition: background .2s, color .2s; }
.unit.u-cand { left: 0%;  width: 25.5%; z-index: 1; }
.unit.u-hcc  { left: 21%; width: 33.5%; z-index: 3; }
.unit.u-csgt { left: 51%; width: 26.5%; z-index: 2; }
.unit.u-kts  { left: 74.5%; width: 25.5%; z-index: 1; }
.unit.u-hcc .tag { background: var(--star); color: var(--ink); top: -38px; font-size: .86rem; }
.unit:hover, .unit:focus-visible { --lift: -10px; z-index: 4; }
.unit:hover .tag, .unit:focus-visible .tag { background: var(--star); color: var(--ink); }
.unit:focus-visible { outline: none; }
.unit:focus-visible img { outline: 3px solid var(--star); outline-offset: 4px; border-radius: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .unit { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
  .unit.u-hcc { animation-delay: .05s; }
  .unit.u-cand { animation-delay: .2s; }
  .unit.u-csgt { animation-delay: .32s; }
  .unit.u-kts { animation-delay: .44s; }
  @keyframes rise { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.sec-head .lead { justify-self: end; }

/* Legal: three decrees as "con dấu" */
.legal { background: var(--white); border-bottom: 1px solid var(--line); }
.decrees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.decree { padding: 28px 28px 30px 0; display: grid; gap: 12px; align-content: start; }
.decree + .decree { padding-left: 28px; border-left: 1px solid var(--line); }
.decree .code { display: flex; align-items: center; gap: 10px; color: var(--seal); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.decree .code::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--seal); flex: none; }
.decree .date { color: var(--muted); font-size: .86rem; margin-top: -6px; }
.decree h3 { font-size: 1.04rem; font-weight: 600; }
.decree p { color: var(--muted); font-size: .95rem; }

/* ---------- Ecosystem configurator ---------- */
.eco { background: var(--paper); }
.eco-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 40px; align-items: start; }
.eco-list { display: grid; gap: 28px; }
.eco-group h3 { font-size: 1rem; color: var(--ink); display: flex; align-items: baseline; gap: 10px; }
.eco-group h3 .count { font-size: .8rem; color: var(--muted); font-weight: 500; }
.eco-group > p { font-size: .9rem; color: var(--muted); margin: 6px 0 12px; }
.eco-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.eco-items li { border-bottom: 1px solid var(--line); }
.eco-items button {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  background: none; border: 0; padding: 12px 10px; cursor: pointer; font-weight: 500; color: var(--text);
  border-radius: 8px; transition: background .15s;
}
.eco-items button:hover { background: var(--sky); }
.eco-items button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.eco-items .thumb { width: 34px; height: 34px; flex: none; border-radius: 8px; background: var(--white); display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.eco-items .thumb img { height: 32px; width: auto; }
.eco-items .thumb svg { width: 26px; height: 26px; }
.eco-items button[aria-selected="true"] .thumb { box-shadow: none; }

.stage {
  position: sticky; top: 92px; background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-stage), inset 0 0 0 1px var(--line); overflow: hidden;
}
/* Chi tiết sản phẩm (dùng chung cho khung bên phải và hộp thoại) */
.pd-media { position: relative; aspect-ratio: 16 / 9; background: #0b2042 url("../img/video-bg.webp?v=2") center / cover no-repeat; display: grid; place-items: center; overflow: hidden; }
.pd-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; display: block; }
.pd-media.still { background: radial-gradient(520px 260px at 50% 100%, rgba(47,107,178,.25), transparent 70%), var(--sky); }
.pd-media.still img.kiosk { height: 92%; width: auto; filter: drop-shadow(0 20px 18px rgba(15,42,82,.28)); }
.pd-media.still img.photo { width: 100%; height: 100%; object-fit: cover; }
.pd-media.still svg.art { height: 92%; width: auto; }
.pd-media .badge { position: absolute; left: 14px; top: 14px; z-index: 2; font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(15,42,82,.78); color: var(--white); pointer-events: none; }
.pd-shots { display: flex; gap: 10px; overflow-x: auto; padding: 12px 16px; background: #0b2042; scroll-snap-type: x mandatory; }
.pd-shots button { flex: 0 0 auto; width: 92px; height: 66px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--white); scroll-snap-align: start; }
.pd-shots button:hover, .pd-shots button:focus-visible { border-color: var(--star); }
.pd-shots img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pd-shots .kiosk-thumb img { object-fit: contain; background: var(--sky); }
.pd-body { padding: 28px 32px 30px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 32px; }
.pd-body .head { grid-column: 1 / -1; display: grid; gap: 8px; }
.pd-body .grp { font-size: .86rem; color: var(--pne-600); font-weight: 600; }
.pd-body h3 { font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.pd-body .tagline { color: var(--muted); font-size: 1rem; }
.pd-body .facts { align-self: start; }
.pd-body .chips, .pd-body .stage-actions { grid-column: 1 / -1; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; font-size: .9rem; padding: 14px 0; border-block: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.feat { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .94rem; }
.feat li { position: relative; padding-left: 26px; }
.feat li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 14px; background: var(--star); clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .8rem; padding: 5px 10px; border-radius: 999px; background: #fbeceb; color: var(--seal); font-weight: 600; text-decoration: none; }
.stage-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }

/* Hộp thoại sản phẩm, video, ảnh phóng to */
dialog.pd-dialog, dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; color: var(--text); }
dialog.pd-dialog::backdrop, dialog.lightbox::backdrop { background: rgba(8, 22, 46, .78); backdrop-filter: blur(3px); }
dialog.pd-dialog { width: min(920px, calc(100vw - 24px)); margin: auto; }
.pd-sheet { background: var(--white); border-radius: var(--r-lg); overflow: hidden; max-height: calc(100vh - 24px); overflow-y: auto; position: relative; }
.dlg-close { position: absolute; right: 12px; top: 12px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.dlg-close svg { width: 20px; height: 20px; }
dialog.lightbox { width: 100vw; height: 100vh; }
.lb-wrap { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 64px 16px; }
.lb-wrap img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 8px; background: var(--white); }
.lb-cap { color: var(--white); font-size: .95rem; text-align: center; padding: 12px 0 4px; max-width: 70ch; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.14); color: var(--white); display: grid; place-items: center; }
.lb-nav:hover { background: rgba(255,255,255,.26); }
.lb-nav svg { width: 22px; height: 22px; }
.lb-prev { left: 10px; } .lb-next { right: 10px; }

/* Chứng nhận */
.certs-sec { background: var(--paper); }
.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cert { display: grid; gap: 12px; align-content: start; background: none; border: 0; padding: 0; text-align: left; cursor: zoom-in; color: var(--text); }
.cert img { width: 100%; aspect-ratio: 0.72; object-fit: cover; object-position: top; border-radius: var(--r-md); box-shadow: 0 18px 34px -22px rgba(15,42,82,.55), inset 0 0 0 1px var(--line); background: var(--white); }
.cert b { font-size: 1rem; line-height: 1.35; }
.cert small { color: var(--muted); font-size: .86rem; }
.brand-oris { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.brand-oris img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); }

/* Ảnh triển lãm trong mục Về PNE */
.booth { margin: 28px 0 0; }
.booth img { border-radius: var(--r-md); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; }
.booth figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; }

/* ---------- Showcase: Trạm công dân số ---------- */
.showcase { background: var(--ink); color: var(--white); padding: 0; }
.showcase .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0; align-items: stretch; width: 100%; max-width: none; }
.showcase figure { margin: 0; min-height: 420px; background: center/cover no-repeat; }
.showcase .txt { padding: 72px clamp(24px, 5vw, 72px); display: grid; gap: 18px; align-content: center; }
.showcase .txt p { color: rgba(255,255,255,.78); max-width: 46ch; }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 0 24px 0 0; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--star); font-weight: 700; margin-bottom: 16px; position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.06rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .94rem; }

/* ---------- Projects ---------- */
.projects { background: var(--white); }
.proj-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
.proj-cols h3 { font-size: 1rem; margin-bottom: 10px; color: var(--ink); }
.proj { list-style: none; margin: 0; padding: 0; }
.proj li { display: flex; gap: 16px; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.proj li span:last-child { font-weight: 700; white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }
.proj.plan li span:last-child { color: var(--pne-600); }

/* ---------- About ---------- */
.about .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; font-size: .96rem; }
.about dt { color: var(--muted); }
.about dd { margin: 0; font-weight: 500; }
.about .fields { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.about .fields li { font-size: .86rem; padding: 6px 12px; border-radius: 999px; background: var(--sky); color: var(--pne-600); font-weight: 500; }
.about .partner { margin-top: 24px; padding: 18px 20px; border-left: 4px solid var(--star); background: var(--white); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: .95rem; display: grid; gap: 8px; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--ink), var(--ink-2)); color: var(--white); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
.contact .lead { color: rgba(255,255,255,.78); }
.contact-lines { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-lines li { display: flex; gap: 14px; align-items: flex-start; }
.contact-lines svg { width: 22px; height: 22px; color: var(--star); flex: none; margin-top: 2px; }
.contact-lines a { color: var(--white); text-decoration: none; font-weight: 600; }
.contact-lines small { display: block; color: rgba(255,255,255,.65); font-size: .82rem; }
form.lead-form { background: var(--white); color: var(--text); border-radius: var(--r-lg); padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; }
.lead-form input, .lead-form select, .lead-form textarea { border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; background: var(--paper); width: 100%; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--pne); outline: none; background: var(--white); }
.lead-form textarea { min-height: 110px; resize: vertical; }
.form-status { font-size: .92rem; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--seal); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: #0b2042; color: rgba(255,255,255,.7); font-size: .88rem; padding: 40px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer a { color: rgba(255,255,255,.85); }

/* ---------- Product page ---------- */
.p-hero { background: linear-gradient(180deg, var(--ink), var(--ink-2)); color: var(--white); padding: 56px 0 0; overflow: hidden; }
.p-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: end; }
.p-hero .copy { padding-bottom: 64px; display: grid; gap: 18px; }
.p-hero .crumb { font-size: .88rem; color: rgba(255,255,255,.7); }
.p-hero .crumb a { color: rgba(255,255,255,.9); }
.p-hero .lead { color: rgba(255,255,255,.82); }
.p-hero .visual { display: grid; place-items: end center; min-height: 360px; }
.p-hero .visual img.kiosk { max-height: 520px; width: auto; filter: drop-shadow(0 24px 22px rgba(0,0,0,.35)); }
.p-hero .visual img.photo { border-radius: var(--r-md) var(--r-md) 0 0; }
.p-hero .visual svg.art { width: 100%; max-width: 420px; margin-bottom: 40px; }
.p-body { padding: 72px 0; }
.p-body .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; }
.p-body h2 { font-size: 1.5rem; margin-bottom: 18px; }
.p-body .feat { font-size: 1.02rem; gap: 12px; }
.p-side { display: grid; gap: 22px; align-content: start; }
.p-side .box { background: var(--white); border-radius: var(--r-md); padding: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.p-side h3 { font-size: 1rem; margin-bottom: 12px; color: var(--ink); }
.p-side ul.for { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .95rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.gallery .cert img { aspect-ratio: 4 / 3; object-fit: contain; object-position: center; }
.gallery img { border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); background: var(--white); }
.related { display: flex; flex-wrap: wrap; gap: 8px; }
.related a { font-size: .9rem; padding: 7px 12px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--text); }
.related a:hover { box-shadow: inset 0 0 0 1.5px var(--pne); }

/* ---------- Chat widget ---------- */
.chat-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; transform: translateY(calc(-1 * var(--lift, 0px))); transition: transform .25s ease;
  display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--white); font-weight: 600; box-shadow: 0 14px 30px -10px rgba(15,42,82,.6);
}
.chat-fab img { width: 40px; height: 40px; border-radius: 50%; background: transparent; }
.chat-fab[aria-expanded="true"] { display: none; }
.chat-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 61; width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100vh - 40px));
  background: var(--white); border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(15,42,82,.55);
  display: grid; grid-template-rows: auto 1fr auto auto; grid-template-columns: minmax(0, 1fr); overflow: hidden; padding: 0;
}
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink); color: var(--white); }
.chat-head img { width: 38px; height: 38px; border-radius: 50%; background: transparent; }
.chat-head b { display: block; font-size: .98rem; }
.chat-head small { display: block; font-size: .76rem; opacity: .75; }
.chat-head button { margin-left: auto; background: none; border: 0; color: var(--white); cursor: pointer; padding: 6px; border-radius: 8px; }
.chat-head button:hover { background: rgba(255,255,255,.1); }
.chat-log { min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.msg.bot { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--pne); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: inherit; font-weight: 600; }
.msg.typing { color: var(--muted); font-style: italic; }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.suggest button { font-size: .82rem; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; color: var(--pne-600); }
.suggest button:hover { border-color: var(--pne); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; height: 46px; max-height: 120px; }
.chat-form textarea:focus { outline: none; border-color: var(--pne); }
.chat-form button { width: 46px; border-radius: 12px; border: 0; background: var(--star); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.chat-form button svg { width: 20px; height: 20px; }
.chat-foot { font-size: .72rem; color: var(--muted); padding: 0 14px 10px; }


.about .slogan { margin-top: 14px; font-size: 1.05rem; font-weight: 600; color: var(--pne-600); }
.about .wrap.values-wrap { display: block; margin-top: 56px; }
.values-h { font-size: 1.1rem; color: var(--ink); margin-bottom: 16px; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--ink); }
.values li { padding: 18px 18px 6px 0; display: grid; gap: 6px; align-content: start; }
.values li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.values b { font-size: 1.35rem; color: var(--ink); }
.values b::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 8px; background: var(--star); clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.values span { font-size: .9rem; color: var(--muted); }
/* Ảnh đội ngũ và thư cảm ơn cao bằng cả khối 2 hàng ảnh bên phải: cắt khung (cover), không kéo méo.
   Tỉ lệ cột 2.6 : 1.15 : 1 : 1 giữ ảnh đội ngũ gần tỉ lệ gốc 16:10, thư cảm ơn gần 4:5. */
.about .wrap.about-photos { margin-top: 48px; display: grid; grid-template-columns: 2.6fr 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px 16px; align-items: stretch; }
.about-photos .ap { padding: 0; border: 0; background: none; cursor: zoom-in; display: grid; grid-template-rows: auto auto; gap: 8px; align-content: start; text-align: left; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.about-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); background: var(--sky); }
.about-photos .ap0, .about-photos .ap1 { grid-row: span 2; grid-template-rows: minmax(0, 1fr) auto; align-content: stretch; }
.about-photos .ap0 img, .about-photos .ap1 img { aspect-ratio: auto; height: 100%; min-height: 0; contain: size; }
.about-photos .ap0 img { object-position: 50% 35%; }
.about-photos .ap1 img { object-position: 50% 45%; }
.about-photos .ap:hover img { filter: brightness(1.04); }

.pl-next { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.pl-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.pl-ctrl .btn { padding: 9px 16px; font-size: .9rem; }
.pl-count { font-weight: 600; color: var(--ink); min-width: 52px; text-align: center; font-variant-numeric: tabular-nums; }
.pl-auto { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); margin-left: auto; cursor: pointer; }

/* ---------- Menu sản phẩm ---------- */
.has-mega { position: static; }
.mega-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; cursor: pointer; color: rgba(255,255,255,.86); padding: 8px 12px; border-radius: 8px; font-size: .94rem; font-weight: 500; }
.mega-btn svg { width: 16px; height: 16px; transition: transform .15s; }
.mega-btn:hover, .has-mega.open .mega-btn { color: var(--white); background: rgba(255,255,255,.08); }
.has-mega.open .mega-btn svg { transform: rotate(180deg); }
.mega { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--white); color: var(--text); box-shadow: 0 30px 50px -30px rgba(15,42,82,.5); border-top: 3px solid var(--star); }
.has-mega.open .mega { display: block; }
.mega-in { width: min(100% - 40px, var(--wrap)); margin: 0 auto; padding: 28px 0 32px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.mega-h { font-size: .8rem; font-weight: 700; color: var(--pne-600); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav .mega a { display: block; color: var(--text); padding: 6px 8px; margin-left: -8px; font-size: .9rem; line-height: 1.35; border-radius: 6px; }
.nav .mega a:hover { background: var(--sky); color: var(--ink); }

/* ---------- Showroom ---------- */
.showroom { background: var(--white); }
.sr-wide { margin: 0 0 22px; border-radius: var(--r-lg); overflow: hidden; background: var(--sky); }
.sr-wide img { width: 100%; height: auto; }
.sr-clips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.sr-clips button { width: 100%; padding: 0; border: 0; background: var(--ink); border-radius: var(--r-md); overflow: hidden; cursor: pointer; position: relative; display: block; text-align: left; }
.sr-clips img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; opacity: .82; transition: opacity .15s; }
.sr-clips button:hover img, .sr-clips button:focus-visible img { opacity: 1; }
.sr-clips span { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 22px 12px 10px; color: var(--white); font-size: .88rem; font-weight: 600; background: linear-gradient(transparent, rgba(11,32,66,.92)); }
.sr-clips span svg { width: 16px; height: 16px; color: var(--star); flex: none; }

/* ---------- Trang sản phẩm: các mục ---------- */
.subnav { position: sticky; top: 72px; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); padding: 0; }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav a { flex: none; padding: 14px 14px; font-size: .92rem; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.subnav a:hover { color: var(--ink); border-bottom-color: var(--star); }
html { scroll-padding-top: 132px; }
.pb-sec { padding: 0 0 56px; }
.pb-sec + .pb-sec { padding-top: 48px; border-top: 1px solid var(--line); }
.player { border-radius: var(--r-lg); overflow: hidden; background: #0b2042 url("../img/video-bg.webp?v=2") center / cover no-repeat; }
.player video { width: 100%; max-height: 72vh; display: block; background: transparent; }
.vcap { font-size: .92rem; color: var(--muted); margin: 10px 0 0; }
.vtabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 16px; }
.vtabs button { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: center; padding: 8px; border: 0; border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; text-align: left; font-size: .84rem; line-height: 1.35; color: var(--text); }
.vtabs button img { width: 84px; height: 56px; object-fit: cover; border-radius: 6px; background: #0b2042; }
.vtabs button b { display: block; font-size: .74rem; color: var(--pne-600); margin-bottom: 2px; }
.vtabs button span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vtabs button[aria-selected="true"] { box-shadow: inset 0 0 0 2px var(--pne); background: var(--sky); }
.vtabs.mini { display: flex; gap: 8px; overflow-x: auto; margin: 0; padding: 10px 16px; background: #0b2042; }
.vtabs.mini button { display: block; flex: 0 0 auto; max-width: 220px; padding: 7px 12px; font-size: .8rem; background: rgba(255,255,255,.08); color: rgba(255,255,255,.86); box-shadow: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vtabs.mini button b { display: inline; color: var(--star); margin-right: 6px; }
.vtabs.mini button[aria-selected="true"] { background: var(--star); color: var(--ink); }
.vtabs.mini button[aria-selected="true"] b { color: var(--ink); }
.gsteps { list-style: none; counter-reset: g; margin: 0; padding: 0; display: grid; gap: 0; }
.gsteps li { counter-increment: g; position: relative; padding: 0 0 22px 58px; }
.gsteps li::before { content: counter(g); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--star); display: grid; place-items: center; font-weight: 700; }
.gsteps li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 4px; width: 2px; background: var(--line); }
.gsteps h3 { font-size: 1.04rem; margin-bottom: 4px; color: var(--ink); }
.gsteps p { color: var(--muted); font-size: .95rem; }
.gimgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 18px; }
.gimg { padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; display: grid; gap: 8px; color: var(--muted); font-size: .86rem; }
.gimg img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); }
.models { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.models li { background: var(--white); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); padding: 16px; display: grid; gap: 4px; align-content: start; }
.models li b { color: var(--ink); }
.models li span { font-size: .9rem; color: var(--muted); }
.models.with-img li img { height: 180px; width: auto; margin: 0 auto 10px; object-fit: contain; }
table.specs { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--white); border-radius: var(--r-md); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.specs th, .specs td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 36%; font-weight: 600; color: var(--ink); background: var(--paper); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.pb-note { color: var(--muted); font-size: .95rem; margin: -6px 0 16px; max-width: 70ch; }
.catalog + .catalog { margin-top: 28px; }
.cat-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.cat-head h3 { font-size: 1.05rem; color: var(--ink); }
.cat-head p { font-size: .86rem; color: var(--muted); }
.cat-pages { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.cat-pages button { flex: 0 0 auto; width: 150px; padding: 0; border: 0; background: none; cursor: zoom-in; scroll-snap-align: start; }
.cat-pages img { width: 150px; height: 212px; object-fit: cover; object-position: top; border-radius: 8px; box-shadow: 0 10px 22px -16px rgba(15,42,82,.6), inset 0 0 0 1px var(--line); background: var(--white); }
.cat-pages button:hover img { box-shadow: 0 0 0 2px var(--pne); }
.docs { display: grid; gap: 12px; }
.doc { display: grid; gap: 4px; padding: 18px 20px 18px 60px; position: relative; background: var(--white); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--text); }
.doc::before { content: ""; position: absolute; left: 20px; top: 20px; width: 24px; height: 24px; border-radius: 6px; background: var(--ink); clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%); }
.doc b { color: var(--pne-600); }
.doc span { font-size: .9rem; color: var(--muted); }
.doc:hover { box-shadow: inset 0 0 0 1.5px var(--pne); }
.pd-files { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .88rem; }
.pd-files p { font-weight: 600; color: var(--ink); margin-right: 4px; }
.pd-files a { padding: 6px 12px; border-radius: 999px; background: var(--sky); text-decoration: none; color: var(--ink); }
.pd-files a small { color: var(--muted); margin-left: 4px; }
.pd-files a:hover { background: #d7e4f5; }

/* ---------- Chat: chuyển tới Zalo hotline ---------- */
.chat-zalo { margin-left: auto; font-size: .78rem; font-weight: 700; color: var(--ink); background: var(--star); text-decoration: none; padding: 5px 10px; border-radius: 999px; }
.chat-head .chat-zalo + button { margin-left: 4px; }
.chat-handoff { border-top: 1px solid var(--line); background: var(--white); }
.ho-toggle { width: 100%; text-align: left; border: 0; background: var(--sky); color: var(--ink); font-size: .82rem; font-weight: 600; padding: 9px 14px; cursor: pointer; }
.ho-toggle:hover { background: #d7e4f5; }
.ho-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; padding: 12px 14px; font-size: .82rem; }
.ho-form[hidden] { display: none; }
.ho-form label { display: grid; gap: 4px; font-weight: 600; color: var(--ink); }
.ho-form input:not(.hp) { min-width: 0; width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; font-weight: 400; }
.ho-form input:focus { outline: none; border-color: var(--pne); }
.ho-note, .ho-status { grid-column: 1 / -1; color: var(--muted); font-size: .74rem; }
.ho-form .btn { grid-column: 1 / -1; padding: 9px 16px; font-size: .86rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .eco-grid { grid-template-columns: 1fr; }
  .stage { display: none; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--ink); padding: 12px 20px 20px; max-height: calc(100vh - 72px); overflow-y: auto; }
  .mega-btn { width: 100%; justify-content: space-between; }
  .mega { position: static; box-shadow: none; border-top: 0; background: transparent; }
  .mega-in { width: auto; grid-template-columns: 1fr; gap: 14px; padding: 6px 0 12px 12px; }
  .mega-h { color: var(--star); border-bottom-color: rgba(255,255,255,.15); margin-bottom: 4px; }
  .nav .mega a { color: rgba(255,255,255,.86); }
  .nav .mega a:hover { background: rgba(255,255,255,.08); color: var(--white); }
  .sr-clips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .subnav { top: 72px; }
  .values { grid-template-columns: 1fr 1fr; }
  .values li, .values li + li { padding: 16px 16px 10px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .about .wrap.about-photos { grid-template-columns: 1fr 1fr; }
  .about-photos .ap0 { grid-column: 1 / -1; grid-row: auto; }
  .about-photos .ap1 { grid-row: span 2; }
  .about-photos .ap0 img { contain: none; height: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .hero .wrap { grid-template-columns: 1fr; gap: 0; padding-top: 48px; }
  .hero-copy { padding-bottom: 32px; }
  .lineup { max-width: 460px; margin: 44px auto 0; }
  .unit .tag { font-size: .7rem; padding: 3px 8px; top: -28px; }
  .unit.u-hcc .tag { font-size: .74rem; top: -30px; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .sec-head .lead { justify-self: start; }
  .decrees { grid-template-columns: 1fr; }
  .decree, .decree + .decree { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .pd-body { grid-template-columns: 1fr; padding: 22px 18px 24px; }
  .pd-body h3 { font-size: 1.35rem; }
  .certs { grid-template-columns: 1fr 1fr; gap: 18px; }
  .lb-wrap { padding: 56px 8px 12px; }
  .lb-nav { top: auto; bottom: 18px; transform: none; }
  .showcase .wrap { grid-template-columns: 1fr; }
  .showcase figure { min-height: 260px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .steps li:nth-child(2)::after { display: none; }
  .proj-cols, .about .wrap, .contact .wrap, .p-hero .wrap, .p-body .wrap { grid-template-columns: 1fr; }
  .p-hero .visual { min-height: 0; }
  .p-hero .visual img.kiosk { max-height: 380px; }
  form.lead-form { grid-template-columns: 1fr; padding: 22px; }
}
@media (max-width: 520px) {
  .brand small { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .hero-proof { gap: 18px; }
  .chat-fab span { display: none; }
  .chat-fab { padding: 8px; }
  .chat-panel { right: 12px; bottom: 12px; height: calc(100vh - 24px); }
  .sr-clips { grid-template-columns: 1fr 1fr; }
  .ho-form { grid-template-columns: 1fr; }
  .specs th { width: 42%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .unit { transition: none; }
}

/* ---------- Kiosk Premium PNE 2027: 12 điểm khác biệt ---------- */
.premium { position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(700px 520px at 14% 92%, rgba(242,211,58,.16), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(47,107,178,.45), transparent 60%),
    linear-gradient(180deg, #0b2042 0%, var(--ink) 100%); }
.premium::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--star) 20%, var(--star) 80%, transparent); opacity: .85; }
.premium .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.pm-side { display: flex; flex-direction: column; gap: 20px; }
.pm-side h2 { display: flex; align-items: center; gap: 18px; }
.pm-big { font-size: clamp(5.2rem, 9vw, 7.6rem); line-height: .8; font-weight: 700; letter-spacing: -0.06em; color: transparent;
  -webkit-text-stroke: 2px var(--star); background: linear-gradient(180deg, rgba(242,211,58,.95), rgba(242,211,58,.25)); -webkit-background-clip: text; background-clip: text; }
.pm-h { font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.22; white-space: nowrap; }
.pm-side .lead { color: rgba(255,255,255,.78); font-size: 1.05rem; max-width: 40ch; }
.pm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pm-kiosk { margin: auto 0 0; position: relative; display: flex; justify-content: center; padding-top: 24px; }
.pm-kiosk::before { content: ""; position: absolute; left: 50%; bottom: -6px; width: 78%; height: 46px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(242,211,58,.45), transparent); filter: blur(2px); }
.pm-kiosk img { position: relative; width: auto; max-height: 470px; filter: drop-shadow(0 26px 26px rgba(0,0,0,.45)); }
.pm-list { display: grid; gap: 30px; align-content: start; }
.pm-group h3 { font-size: 1rem; font-weight: 600; color: var(--star); letter-spacing: .01em; display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.pm-group h3::after { content: ""; flex: 1; height: 1px; background: rgba(242,211,58,.35); }
.pm-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pm-items li { padding: 16px 22px 6px 0; display: grid; row-gap: 6px; align-content: start; }
.pm-items li + li { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.12); }
.pm-n { font-size: 1.75rem; line-height: 1; font-weight: 300; margin-bottom: 4px; color: var(--star); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.pm-items h4 { margin: 2px 0 0; font-size: 1.02rem; font-weight: 600; line-height: 1.3; color: var(--white); }
.pm-items p { font-size: .9rem; line-height: 1.5; color: rgba(255,255,255,.72); }
@media (max-width: 1100px) {
  .premium .wrap { grid-template-columns: 1fr; }
  .pm-side { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: end; }
  .pm-side h2, .pm-side .lead, .pm-actions { grid-column: 1; }
  .pm-kiosk { grid-column: 2; grid-row: 1 / span 3; margin: 0; padding: 0; }
  .pm-kiosk img { max-height: 300px; }
}
@media (max-width: 760px) {
  .pm-side { grid-template-columns: 1fr; }
  .pm-kiosk { display: none; }
  .pm-items { grid-template-columns: 1fr; }
  .pm-items li, .pm-items li + li { padding: 14px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .pm-items li:first-child { border-top: 0; }
}

/* ---------- Danh mục dự án Kiosk 2026 ---------- */
.kp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 28px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.kp-stats div { padding: 18px 20px 18px 0; }
.kp-stats div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.kp-stats dt { font-size: .86rem; color: var(--muted); order: 2; }
.kp-stats dd { margin: 0 0 2px; font-size: 2rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kp-stats div:last-child dd { font-size: 1.15rem; line-height: 1.6; }
.kp-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.kp-wrap { overflow-x: auto; }
.kp { width: 100%; border-collapse: collapse; font-size: .95rem; }
.kp th { text-align: left; font-size: .82rem; font-weight: 600; color: var(--muted); padding: 10px 14px 10px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.kp td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.kp td b { display: block; font-weight: 600; color: var(--ink); }
.kp td small { color: var(--muted); font-size: .85rem; }
.kp td a { color: var(--pne-600); text-decoration: none; }
.kp td a:hover { text-decoration: underline; }
.kp-q, .kp-t { white-space: nowrap; font-variant-numeric: tabular-nums; }
.kp-q { font-weight: 700; color: var(--ink); }
.kp tbody tr:hover { background: var(--paper); }
.proj-other-head { margin: 64px 0 20px; }
.proj-other-head h3 { font-size: 1.35rem; }
@media (max-width: 860px) {
  .kp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kp-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .kp-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .kp-stats div:last-child dd { font-size: 1rem; }
  .kp thead { display: none; }
  .kp, .kp tbody, .kp tr, .kp td { display: block; width: 100%; }
  .kp tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .kp td { border: 0; padding: 3px 0; display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
  .kp td::before { content: attr(data-l); font-size: .8rem; color: var(--muted); }
  .kp td:first-child { grid-template-columns: 1fr; }
  .kp td:first-child::before { display: none; }
}
@media (min-width: 1081px) {
  /* Chú thích ảnh cùng chiều cao 3 dòng để mép dưới các ảnh thẳng hàng */
  .about-photos .ap small { min-height: 4.2em; }
}

/* Tiêu đề "VỀ PHƯƠNG NAM EDU": chữ in hoa, khối 3D xanh PNE đổ bóng về phía dưới phải */
.about .ab-3d { position: relative; display: inline-block; isolation: isolate; text-transform: uppercase; letter-spacing: .03em; padding: 4px 6px 8px 0; }
/* mặt chữ nhũ vàng */
.about .ab-3d span { position: relative; z-index: 2; color: transparent;
  background: linear-gradient(180deg, #fff6c4 0%, #ffe26a 22%, #f2c42c 45%, #b8860b 62%, #f5d356 80%, #fff0a8 100%);
  -webkit-background-clip: text; background-clip: text; }
/* khối 3D phía sau mặt chữ */
.about .ab-3d::before { content: attr(data-text); position: absolute; left: 0; top: 4px; z-index: 1; color: #a87a12; pointer-events: none;
  text-shadow: 1px 1px 0 #9a6f10, 2px 2px 0 #8c640d, 3px 3px 0 #7d580b, 4px 4px 0 #6a4a08, 5px 7px 10px rgba(80, 55, 0, .35); }
/* tia sáng vàng tỏa ra */
.about .ab-3d::after { content: ""; position: absolute; z-index: 0; left: 50%; top: 50%; width: 125%; height: 320%; transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 205, 40, .6) 0deg 3deg, transparent 3deg 12deg);
  -webkit-mask: radial-gradient(closest-side, #000 25%, rgba(0,0,0,.35) 55%, transparent 85%); mask: radial-gradient(closest-side, #000 25%, rgba(0,0,0,.35) 55%, transparent 85%);
  opacity: .75; filter: blur(1px); pointer-events: none; }
.about .ab-3d + .slogan { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .about .ab-3d::after { animation: ab-rays 4s ease-in-out infinite; }
  @keyframes ab-rays { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }
}
.about .ab-intro { margin-top: 16px; text-align: justify; text-justify: inter-word; hyphens: auto; }

/* Hệ sinh thái: tên từng dòng sản phẩm lần lượt lóe ánh kim vàng (như chữ Premium trên kiosk), chạy như làn sóng từ trên xuống */
@media (prefers-reduced-motion: no-preference) {
  .eco-items .shine {
    --base: var(--text);
    background: linear-gradient(110deg, var(--base) 0 38%, #a87a12 43%, #e8b520 47%, #ffd84d 50%, #e8b520 53%, #a87a12 57%, var(--base) 62% 100%);
    background-size: 260% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: eco-shine 8s ease-in-out infinite; animation-delay: calc(var(--i) * .4s);
  }
  .eco-items button[aria-selected="true"] .shine { --base: #ffffff; }
  @keyframes eco-shine {
    0% { background-position: 100% 0; filter: none; }
    6% { filter: drop-shadow(0 0 4px rgba(242, 196, 44, .55)); }
    13% { background-position: 0 0; filter: none; }
    100% { background-position: 0 0; filter: none; }
  }
}

/* ---------- Trung tâm Đổi mới sáng tạo cấp phường, xã 2027 (đầu trang) ---------- */
.dmst { position: relative; padding: 56px 0 48px; background:
  radial-gradient(900px 420px at 92% 10%, rgba(47,107,178,.12), transparent 60%),
  linear-gradient(180deg, #ffffff 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.dmst .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(28px, 4vw, 56px); align-items: center; }
.dmst h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); color: var(--ink); max-width: 17ch; }
.dmst-motto { margin-top: 12px; font-weight: 600; color: #a87a12; letter-spacing: .01em; }
.dmst-lead { margin-top: 14px; color: var(--muted); font-size: 1.04rem; max-width: 52ch; }
.dmst-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.dmst-zones { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.dmst-zones li + li { border-left: 1px solid var(--line); }
.dmst-zones a { display: grid; gap: 4px; align-content: start; padding: 18px 20px 4px 18px; text-decoration: none; position: relative; color: inherit; height: 100%; }
.dmst-zones li:first-child a { padding-left: 16px; }
.dmst-zones a::before { content: ""; position: absolute; left: 0; top: 20px; height: 22px; width: 3px; border-radius: 3px; background: var(--star); }
.dmst-zones li + li a::before { left: -1px; }
.dmst-zones b { font-weight: 600; color: var(--ink); }
.dmst-zones span { font-size: .92rem; color: var(--muted); }
.dmst-zones a:hover b { color: var(--pne-600); }
.dmst-soc { grid-column: 1 / -1; margin: -12px 0 0; font-size: .9rem; color: var(--ink); font-weight: 500; }
.dmst-media { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-stage); aspect-ratio: 16 / 9; }
.dmst-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.dmst-media.is-full .dmst-video { object-fit: contain; background: #000; }
.dmst-play { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  padding: 11px 18px 11px 14px; border-radius: 999px; background: rgba(15,42,82,.82); color: var(--white); font-weight: 600; font-size: .95rem; backdrop-filter: blur(6px); }
.dmst-play svg { width: 18px; height: 18px; color: var(--star); }
.dmst-play:hover { background: var(--ink); }
.dmst-media.is-full .dmst-play, .dmst-media.is-full figcaption { display: none; }
.dmst-media figcaption { position: absolute; right: 16px; top: 14px; font-size: .78rem; color: rgba(255,255,255,.85); background: rgba(0,0,0,.35); padding: 4px 10px; border-radius: 999px; }
/* Hộp đặt lịch */
dialog.booking { border: 0; padding: 0; border-radius: var(--r-lg); width: min(560px, calc(100% - 32px)); box-shadow: 0 30px 80px -20px rgba(15,42,82,.5); }
dialog.booking::backdrop { background: rgba(11, 32, 66, .55); }
.bk-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 24px; }
.bk-form .full, .bk-head, .bk-sub { grid-column: 1 / -1; }
.bk-head { display: flex; justify-content: space-between; align-items: center; }
.bk-head h2 { font-size: 1.4rem; color: var(--ink); }
.bk-close { border: 0; background: var(--sky); width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.bk-sub { color: var(--muted); font-size: .92rem; margin-top: -6px; }
.bk-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; }
.bk-form input, .bk-form select, .bk-form textarea { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--paper); width: 100%; min-width: 0; }
.bk-form input:focus, .bk-form select:focus, .bk-form textarea:focus { border-color: var(--pne); outline: none; background: var(--white); }
.bk-status { font-size: .9rem; min-height: 1.2em; margin: 0; }
.bk-status.ok { color: var(--ok); }
.bk-status.err { color: var(--seal); }
@media (max-width: 960px) {
  .dmst .wrap { grid-template-columns: 1fr; }
  .dmst h2 { max-width: none; }
  .dmst-media { order: -1; }
  .dmst-zones { grid-template-columns: 1fr; }
  .dmst-zones li + li { border-left: 0; border-top: 1px solid var(--line); }
  .dmst-zones a, .dmst-zones li:first-child a { padding: 12px 0 12px 16px; }
  .dmst-zones a::before, .dmst-zones li + li a::before { left: 0; top: 14px; }
  .dmst-soc { margin-top: -16px; }
}
@media (max-width: 560px) {
  .dmst { padding: 28px 0 40px; }
  .bk-form { grid-template-columns: 1fr; padding: 20px; }
  .dmst-play span { font-size: .85rem; }
  .dmst-media figcaption { display: none; }
}

/* Tiêu đề Trung tâm ĐMST: kiểu chữ "Ai-Robot" — mặt chữ xanh navy sậm, viền trắng sáng,
   quầng sáng xanh băng ôm sát chân chữ (không tỏa xa) */
.dmst h2.dmst-3d { position: relative; isolation: isolate; text-transform: uppercase; letter-spacing: .015em; font-size: clamp(1.55rem, 2.7vw, 2.4rem); font-weight: 700; line-height: 1.34; max-width: 19ch; }
.dmst-3d span { position: relative; z-index: 2; color: transparent;
  background: linear-gradient(180deg, #2a47a8 0%, #1a3088 35%, #11236b 70%, #0b1a52 100%); -webkit-background-clip: text; background-clip: text;
  padding: .3em 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.dmst-3d::before { content: attr(data-text); position: absolute; inset: 0; z-index: 1; pointer-events: none;
  color: #fff; -webkit-text-stroke: 4px #fff;
  text-shadow: 0 0 2px #fff, 0 0 4px rgba(150, 220, 255, 1), 0 0 7px rgba(80, 190, 255, .95), 0 0 11px rgba(40, 150, 255, .7); }
@media (prefers-reduced-motion: no-preference) {
  .dmst-3d::before { animation: dmst-halo 3s ease-in-out infinite; }
  @keyframes dmst-halo {
    0%, 100% { text-shadow: 0 0 2px #fff, 0 0 3px rgba(150, 220, 255, .9), 0 0 6px rgba(80, 190, 255, .8), 0 0 9px rgba(40, 150, 255, .55); }
    50% { text-shadow: 0 0 2px #fff, 0 0 5px rgba(150, 220, 255, 1), 0 0 9px rgba(80, 190, 255, 1), 0 0 13px rgba(40, 150, 255, .85); }
  }
}

/* Banner giới thiệu Kiosk HCC: 3 ảnh dàn ngang, cùng chiều cao (độ rộng tỉ lệ theo khung ảnh) */
.banners { display: flex; gap: 18px; margin-top: 40px; align-items: flex-start; }
.bn { flex: var(--ar) 1 0; min-width: 0; margin: 0; }
.bn-frame { display: block; width: 100%; padding: 0; border: 0; background: #eaf1fb; border-radius: 14px; overflow: hidden; cursor: zoom-in;
  box-shadow: 0 1px 2px rgba(15, 42, 82, .08), 0 10px 26px -12px rgba(15, 42, 82, .35); outline-offset: 3px; }
.bn-frame img { display: block; width: 100%; height: auto; transition: transform .28s ease; will-change: transform; }
.bn-frame.zoom img { transform: scale(2.3); }
.bn figcaption { margin-top: 10px; font-size: .9rem; line-height: 1.45; color: var(--muted); font-weight: 500; }
.bn-hint { margin: 14px 0 0; font-size: .84rem; color: var(--muted); }
@media (hover: none) { .bn-hint { display: none; } }
@media (max-width: 900px) {
  .banners { flex-wrap: wrap; gap: 16px; }
  .bn:first-child { flex: 1 1 100%; }
  .bn:not(:first-child) { flex: 1 1 calc(50% - 8px); }
}
@media (max-width: 560px) { .bn:not(:first-child) { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .bn-frame img { transition: none; } }

/* Liên kết sang website thiết bị CNTT Phương Nam Group, dưới thông tin liên hệ */
.pg-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; padding: 12px 18px 12px 12px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: var(--white); text-decoration: none; transition: background .2s, border-color .2s; }
.pg-link:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .38); }
.pg-link:focus-visible { outline: 2px solid var(--gold, #f5c842); outline-offset: 3px; }
.pg-link img { width: 58px; height: 58px; flex: none; border-radius: 50%; background: #fff; }
.pg-link span { font-weight: 600; line-height: 1.35; }
.pg-link small { display: block; margin-top: 2px; font-weight: 500; font-size: .84rem; color: rgba(255, 255, 255, .65); }
.pg-ext { width: 18px; height: 18px; flex: none; opacity: .7; }

/* Câu hỏi thường gặp (hỗ trợ tìm kiếm Google: FAQPage) */
.faq { background: var(--paper); border-top: 1px solid var(--line); }
.faq-list { display: grid; gap: 12px; max-width: 920px; }
.faq-i { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq-i summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary h3 { margin: 0; font-size: 1.04rem; line-height: 1.4; color: var(--ink); }
.faq-i summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--pne); border-bottom: 2px solid var(--pne); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq-i[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-i summary:focus-visible { outline: 2px solid var(--pne); outline-offset: 4px; border-radius: 6px; }
.faq-a { padding: 0 0 18px; color: var(--text); line-height: 1.65; max-width: 72ch; }
.faq-a p { margin: 0; }
.faq-l { margin-top: 10px !important; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.faq-l a { color: var(--pne-600); font-weight: 600; font-size: .92rem; }

/* Trang sản phẩm: nút nhảy tới mục tính năng nổi bật, và tính năng lóe ánh kim vàng như Hệ sinh thái trang chủ */
.p-hero .btn-feat { color: #ffd84d; box-shadow: inset 0 0 0 1.5px rgba(242, 196, 44, .8); }
.p-hero .btn-feat:hover { background: rgba(242, 196, 44, .14); box-shadow: inset 0 0 0 1.5px #ffd84d; color: #ffe27a; }
.p-hero .btn-feat svg { color: #ffd84d; }
#tinh-nang { scroll-margin-top: 140px; }
@media (prefers-reduced-motion: no-preference) {
  .feat-shine .shine {
    --base: var(--text);
    background: linear-gradient(110deg, var(--base) 0 38%, #a87a12 43%, #e8b520 47%, #ffd84d 50%, #e8b520 53%, #a87a12 57%, var(--base) 62% 100%);
    background-size: 260% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    -webkit-box-decoration-break: slice; box-decoration-break: slice;
    animation: eco-shine 8s ease-in-out infinite; animation-delay: calc(var(--i) * .45s);
  }
}

/* Trình chiếu ảnh thực tế Kiosk PNE tại các địa phương (cuối trang chủ) */
.gallery-sec { background: var(--paper); border-top: 1px solid var(--line); }
.gl-head { max-width: 760px; margin-bottom: 28px; }
.gl-head .lead { margin-top: 12px; }
.gl { position: relative; }
.gl-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--ink); box-shadow: 0 24px 50px -28px rgba(15, 42, 82, .55); }
.gl-bg { position: absolute; inset: -30px; background: center / cover no-repeat; filter: blur(26px) brightness(.55) saturate(1.2); transform: scale(1.08); transition: background-image .4s; }
.gl-view { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gl-view:focus-visible { outline: 3px solid var(--star); outline-offset: -6px; }
.gl-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); transition: opacity .35s ease, transform .6s ease; }
.gl.swap .gl-img { opacity: .25; transform: scale(.985); }
.gl-nav { position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .88); color: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); opacity: .85; transition: opacity .2s, background .2s; }
.gl-nav:hover, .gl-nav:focus-visible { opacity: 1; background: #fff; }
.gl-nav svg { width: 22px; height: 22px; }
.gl-prev { left: 14px; } .gl-next { right: 14px; }
.gl-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .18); }
.gl-bar span { display: block; height: 100%; width: 0; background: var(--star); }
.gl-meta { display: flex; align-items: flex-start; gap: 14px; margin-top: 16px; }
.gl-play { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.gl-play:hover { border-color: var(--pne); color: var(--pne); }
.gl-play svg { width: 18px; height: 18px; display: none; }
.gl.is-playing .gl-play .i-pause, .gl:not(.is-playing):not(.is-ended) .gl-play .i-play, .gl.is-ended .gl-play .i-replay { display: block; }
.gl-cap { margin: 0; min-height: 2.9em; line-height: 1.45; color: var(--text); font-weight: 500; }
.gl-count { display: inline-block; margin-right: 10px; padding: 1px 9px; border-radius: 999px; background: var(--sky); color: var(--pne-600); font-size: .84rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.gl-thumbs { display: flex; gap: 8px; margin-top: 14px; padding: 4px 2px 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.gl-th { flex: none; width: 96px; height: 64px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: .55; scroll-snap-align: center;
  outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s, outline-color .2s; background: var(--sky); }
.gl-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gl-th:hover { opacity: .9; }
.gl-th.on { opacity: 1; outline-color: var(--pne); }
.gl-th:focus-visible { outline-color: var(--star); opacity: 1; }
@media (max-width: 700px) {
  .gl-stage { aspect-ratio: 4 / 3; border-radius: 14px; }
  .gl-nav { width: 38px; height: 38px; } .gl-prev { left: 8px; } .gl-next { right: 8px; }
  .gl-th { width: 72px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) { .gl-img, .gl-bg { transition: none; } .gl.swap .gl-img { transform: none; } }

/* Ảnh đại diện Kiosk thiết kế mới 2027 (ảnh nền tia sáng vàng) */
.p-hero .visual img.kiosk.nd27 { border-radius: 18px; filter: none; box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12); }
.pd-media.still img.kiosk.nd27 { border-radius: 14px; filter: none; box-shadow: 0 18px 34px -16px rgba(15, 42, 82, .5); }

/* Maket dự án thực tế trong mục Trung tâm ĐMST: chiếu tiếp sau video, dải bản vẽ bên dưới */
.mk-stage { position: absolute; inset: 0; z-index: 3; background: #f4f6f9; }
.mk-stage[hidden] { display: none; }
.mk-view { position: absolute; inset: 0 0 46px; padding: 8px; border: 0; background: none; cursor: zoom-in; display: flex; align-items: center; justify-content: center; }
.mk-view:focus-visible { outline: 3px solid var(--star); outline-offset: -6px; }
.mk-img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 6px 22px rgba(15, 42, 82, .18); background: #fff; }
.mk-nav { position: absolute; top: calc(50% - 23px); translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(15, 42, 82, .78); color: #fff; }
.mk-nav:hover { background: var(--ink); }
.mk-nav svg { width: 20px; height: 20px; }
.mk-prev { left: 10px; } .mk-next { right: 10px; }
.mk-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; display: flex; align-items: center; gap: 12px; padding: 0 12px; background: var(--ink); color: #fff; font-size: .86rem; }
.mk-count { flex: none; font-weight: 700; color: var(--star); font-variant-numeric: tabular-nums; }
.mk-cap { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .9; }
.mk-video { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, .35); background: none; color: #fff; border-radius: 999px; padding: 5px 12px; font-size: .82rem; font-weight: 600; cursor: pointer; }
.mk-video svg { width: 14px; height: 14px; color: var(--star); }
.mk-video:hover { border-color: var(--star); }
.dmst-media.is-maket .dmst-play, .dmst-media.is-maket figcaption { display: none; }
.mk-row { grid-column: 1 / -1; }
.mk-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 14px; }
.mk-head h3 { margin: 0; font-size: 1.15rem; color: var(--ink); }
.mk-head p { margin: 0; color: var(--muted); font-size: .92rem; max-width: 90ch; }
.mk-head p b { color: var(--ink); font-weight: 600; }
.mk-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.mk-card { display: grid; gap: 8px; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.mk-card img { width: 100%; height: auto; aspect-ratio: 1.414; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.mk-card span { font-size: .82rem; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mk-card b { display: block; color: var(--ink); font-size: .84rem; }
.mk-card:hover img, .mk-card.on img { border-color: var(--pne); box-shadow: 0 0 0 2px var(--pne); }
.mk-card:focus-visible { outline: 2px solid var(--star); outline-offset: 4px; border-radius: 10px; }
@media (max-width: 960px) {
  .mk-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; }
  .mk-cards li { scroll-snap-align: start; }
  .mk-video { padding: 5px 9px; }
}
@media (max-width: 560px) { .mk-cap { display: none; } .mk-cards { grid-auto-columns: 70%; } }
