/* Indoortek one-page site. Viết cho điện thoại trước, mở rộng dần lên máy tính. */

:root {
  --ink: #0D0F14;
  --ink-2: #161922;
  --ink-3: #1E222D;
  --line-dark: #2A2F3B;
  --muted-dark: #A3A7B3;
  --paper: #FFFFFF;
  --paper-2: #F4F4F1;
  --text: #0D0F14;
  --muted: #4E525C;
  --line: #E1E2E6;
  --accent: #F9BF3E;
  --accent-hover: #FFCD5C;

  --radius: 10px;
  --gutter: 20px;
  --header-h: 60px;
  --bar-h: 72px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
b, strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--ink); padding: 10px 14px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Kiểu chữ dùng chung ---------- */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(28px, 6.4vw, 44px); }
.h-md { font-size: 20px; }
.h-sm { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.lead { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 34em; }
.note { font-size: 13px; color: var(--muted); margin-top: 16px; line-height: 1.5; }
.note.on-dark { color: var(--muted-dark); }
.center { text-align: center; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.eyebrow.on-dark { color: var(--accent); }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 8px;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .2s, border-color .2s, color .2s;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--line-dark); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost-dark { border-color: var(--line-dark); color: #fff; background: var(--ink-2); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- 1. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.signal { display: flex; height: 3px; }
.signal i { flex: 1; }
.signal i:nth-child(1) { background: #E9DF3D; }
.signal i:nth-child(2) { background: #BDC940; }
.signal i:nth-child(3) { background: #F9BF3E; }
.signal i:nth-child(4) { background: #EFB641; }
.signal i:nth-child(5) { background: #F38E41; }
.signal i:nth-child(6) { background: #EC4C66; }
.signal i:nth-child(7) { background: #AB2E75; }
.header-row { display: flex; align-items: center; gap: 12px; height: calc(var(--header-h) - 3px); }
.brand img { height: 30px; width: auto; }
.header-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hotline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; text-decoration: none; border-radius: 8px; }
.hotline span { display: none; }
.lang { display: flex; border: 1px solid var(--line-dark); border-radius: 8px; overflow: hidden; }
.lang button { min-width: 40px; height: 36px; font-size: 13px; font-weight: 600; color: var(--muted-dark); }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; }
.menu-btn svg { width: 24px; height: 24px; }
.menu-btn path { transition: transform .25s, opacity .2s; transform-origin: center; }
.menu-open .menu-btn .l1 { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn .l2 { opacity: 0; }
.menu-open .menu-btn .l3 { transform: translateY(-5px) rotate(-45deg); }

/* Menu điện thoại: phủ toàn màn hình dưới header */
.nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink);
  display: flex; flex-direction: column; padding: 8px var(--gutter) 32px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility 0s .2s;
  overflow-y: auto;
}
.menu-open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s; }
.menu-open { overflow: hidden; }
.nav a { display: flex; align-items: center; min-height: 56px; font-size: 20px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.nav a.nav-cta { margin-top: 24px; border: 0; justify-content: center; background: var(--accent); color: var(--ink); border-radius: 8px; font-size: 17px; }

/* ---------- 2. Hero ---------- */
.hero { background: var(--ink); color: #fff; padding: 36px 0 48px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; }
.hero h1 { font-size: clamp(34px, 9vw, 60px); line-height: 1.08; letter-spacing: -0.03em; }
.hero .lead { color: var(--muted-dark); margin-top: 18px; }
.hero-actions { display: grid; gap: 12px; margin-top: 28px; }
.hero-proof { display: flex; gap: 32px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.hero-proof dt { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hero-proof dd { font-size: 14px; color: var(--muted-dark); }

.player { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 14px; overflow: hidden; }
.player-screen { position: relative; aspect-ratio: 4 / 3; background: var(--ink-3); overflow: hidden; }
.player-screen video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.live {
  position: absolute; bottom: 12px; left: 12px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(13,15,20,.8); padding: 6px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.live i { width: 8px; height: 8px; border-radius: 50%; background: #EC4C66; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.player-head { display: flex; justify-content: space-between; padding: 14px 18px 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-dark); }
.playlist li {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center;
  padding: 11px 18px; border-top: 1px solid var(--line-dark); font-size: 15px; font-variant-numeric: tabular-nums;
  transition: background-color .3s;
}
.playlist .t, .playlist .d { color: var(--muted-dark); font-size: 13px; }
.playlist li.is-now { background: var(--ink-3); }
.playlist li.is-now .d { color: var(--accent); font-weight: 600; }

/* ---------- Khung section ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--paper-2); }
.section-head { margin-bottom: 36px; max-width: 760px; }

/* Số liệu lớn */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.stats > div { border-left: 2px solid var(--ink); padding-left: 14px; }
.stats dt { font-size: clamp(26px, 7vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats dd { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.45; }

/* ---------- 3. Khu vực ---------- */
.regions { margin-top: 48px; }
.regions .h-sm { margin-bottom: 16px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.bars li b { font-variant-numeric: tabular-nums; }
.bars li::after {
  content: ""; grid-column: 1 / -1; height: 6px; border-radius: 3px;
  background: linear-gradient(to right, var(--ink) calc(var(--v) / 445 * 100%), var(--line) 0);
}

/* Bản đồ cửa hàng */
.map { margin: 0 auto 36px; max-width: 520px; }
.vn-map { display: block; width: 100%; height: auto; fill: none; stroke: none; }
.vn-map .land { fill: #ECEDF0; stroke: #C9CBD1; stroke-width: 1.2; stroke-linejoin: round; }
.vn-map .archipelago circle { fill: #9A9EA8; }
.vn-map .stores circle { r: 3.2px; fill: #E3262F; fill-opacity: .55; }
.vn-map .lbl { font-family: var(--font); font-size: 17px; fill: var(--muted); font-weight: 500; paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.vn-map .lbl.city { fill: var(--text); font-weight: 600; font-size: 18px; }
.vn-map .lbl.sea { font-size: 16px; font-style: italic; }
.vn-map .lbl.ocean { font-size: 20px; font-style: italic; letter-spacing: .12em; fill: #9A9EA8; stroke: none; }
.map-legend { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 8px; font-size: 14px; color: var(--muted); }
.map-legend i { width: 9px; height: 9px; border-radius: 50%; background: #E3262F; opacity: .8; }

/* ---------- 4. Khách hàng ---------- */
.age { margin-top: 48px; }
.age .h-sm { margin-bottom: 14px; }
.age-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; gap: 2px; }
.age-bar i { width: calc(var(--w) * 1%); background: #C9CBD1; }
.age-bar i.hi { background: var(--ink); }
.age-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 12px; margin-top: 14px; font-size: 14px; }
.age-legend li { display: flex; flex-direction: column; color: var(--muted); }
.age-legend b { color: var(--text); font-variant-numeric: tabular-nums; }
.age-legend li.hi b { font-weight: 700; }

.response { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.response div { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.response b { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.response span { color: var(--muted); font-size: 15px; }

.segments { margin-top: 56px; }
.segments .h-md { margin-bottom: 16px; }
.tabs {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  scroll-snap-align: start; flex: none; min-height: 44px; padding: 0 16px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--paper); font-size: 15px; font-weight: 500; color: var(--muted);
  transition: background-color .2s, color .2s, border-color .2s;
}
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.panel { margin-top: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; }
.panel h4 { font-size: 19px; margin-bottom: 18px; }
.panel { overflow: hidden; }
.panel-img { margin: -22px -20px 20px; aspect-ratio: 4 / 3; background: var(--paper-2); }
.panel-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
#p-mom .panel-img img { object-position: 50% 45%; }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.mini dt { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mini dd { font-size: 14px; color: var(--muted); }
.facts li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts span { font-size: 13px; color: var(--muted); }
.facts b { font-size: 16px; }
.panel .note { margin-top: 4px; }

.industries { margin-top: 48px; }
.industries .h-md { margin-bottom: 12px; }
.industries ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.industries li { padding: 12px 0; border-top: 1px solid var(--line); font-weight: 500; font-size: 15px; }

/* ---------- 5. Hình ảnh ---------- */
.gallery {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); scrollbar-width: thin;
}
.gallery figure {
  flex: 0 0 78%; scroll-snap-align: start; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--paper-2);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure.wide { flex-basis: 88%; aspect-ratio: 4 / 3; align-self: center; }

/* ---------- 6. Vì sao hiệu quả ---------- */
.reasons { counter-reset: r; border-top: 1px solid var(--line); }
.reasons li { counter-increment: r; display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.reasons li::before { content: counter(r, decimal-leading-zero); grid-row: span 2; font-size: 14px; font-weight: 600; color: var(--muted); padding-top: 3px; font-variant-numeric: tabular-nums; }
.reasons h3 { font-size: 19px; }
.reasons p { color: var(--muted); font-size: 15px; }
.research { margin-top: 40px; }
.research .h-sm { margin-bottom: 12px; }
.pending {padding: 18px; border: 1px dashed #C4C6CC; border-radius: 10px; color: var(--muted); font-size: 15px; }
.research-list { display: grid; gap: 12px; }
.research-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.research-list b { display: block; font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.research-list p { margin-top: 6px; font-size: 15px; }
.research-list cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--muted); }

/* ---------- 7. Quy trình ---------- */
.steps { display: grid; gap: 0; position: relative; }
.steps li { position: relative; padding: 0 0 28px 40px; counter-increment: s; }
.steps { counter-reset: s; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; display: grid; place-items: center;
}
.steps li::after { content: ""; position: absolute; left: 13px; top: 32px; bottom: 4px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps li:last-child { padding-bottom: 0; }
.when { display: block; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }

.platform { margin-top: 48px; background: var(--ink); color: #fff; border-radius: 14px; padding: 28px 22px; display: grid; gap: 20px; }
.platform h3 { font-size: 24px; }
.platform ul { display: grid; }
.platform li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line-dark); position: relative; color: #E6E7EB; font-size: 15px; }
.platform li::before { content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 2px; background: var(--accent); }

/* ---------- 8. Bảng giá ---------- */
.plan-switch { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 4px; gap: 4px; margin-bottom: 16px; }
.plan-switch button { min-height: 44px; border-radius: 7px; font-weight: 600; font-size: 15px; color: var(--muted); transition: background-color .2s, color .2s; }
.plan-switch button[aria-selected="true"] { background: var(--ink); color: #fff; }
.plans { display: grid; gap: 16px; }
.plan { display: none; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; }
.plan.is-active { display: flex; }
.plan.is-featured { border: 2px solid var(--ink); }
.plan .tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: var(--ink); padding: 4px 8px; border-radius: 4px; margin-bottom: 14px; }
.plan h3 { font-size: 18px; font-weight: 600; }
.price { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-size: 15px; color: var(--muted); font-weight: 600; }
.per { margin-top: 8px; font-size: 15px; color: var(--muted); }
.plan ul { margin: 20px 0 24px; border-top: 1px solid var(--line); }
.plan li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plan li span { color: var(--muted); }
.plan .btn { margin-top: auto; }

.includes { margin-top: 32px; }
.includes .h-sm { margin-bottom: 8px; }
.includes li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); font-size: 15px; }
.includes li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

/* ---------- 10. Hợp tác ---------- */
.partner { background: var(--ink); color: #fff; padding: 64px 0; }
.partner-grid { display: grid; gap: 28px; }
.partner .lead { color: var(--muted-dark); margin-top: 16px; }
.checks { margin-bottom: 28px; }
.checks li { position: relative; padding: 14px 0 14px 32px; border-top: 1px solid var(--line-dark); color: #E6E7EB; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.partner .btn { width: 100%; }

/* ---------- 11. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 0; font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 16px; max-width: 42em; }

/* ---------- 12. Form ---------- */
.contact { background: var(--ink); color: #fff; }
.contact-grid { display: grid; gap: 36px; }
.contact .lead { color: var(--muted-dark); margin-top: 14px; }
.contact-list { margin-top: 24px; }
.contact-list li { display: flex; justify-content: space-between; align-items: center; min-height: 52px; border-top: 1px solid var(--line-dark); }
.contact-list span { color: var(--muted-dark); font-size: 14px; }
.contact-list a { font-weight: 600; text-decoration: none; padding: 12px 0; }
.contact-list a:hover { color: var(--accent); }

.form { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 14px; padding: 22px 18px; display: grid; gap: 18px; }
.hp { position: absolute; left: -9999px; }
.field { display: grid; gap: 8px; border: 0; }
.field-row { display: grid; gap: 18px; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: #E6E7EB; }
.opt { color: var(--muted-dark); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px;
  background: var(--ink); color: #fff; border: 1px solid var(--line-dark); border-radius: 8px;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #A3A7B3 50%), linear-gradient(135deg, #A3A7B3 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(249,191,62,.25); }
.field input[aria-invalid="true"] { border-color: #F07A8C; }
.field .err { font-size: 13px; color: #F7A1AE; }
.choice { display: grid; gap: 8px; }
.choice label { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-dark); border-radius: 8px; cursor: pointer; transition: border-color .2s; }
.choice input { width: 18px; height: 18px; accent-color: var(--accent); }
.choice label:has(input:checked) { border-color: var(--accent); }
.form-status { font-size: 15px; min-height: 0; }
.form-status.ok { color: #9FE3B0; }
.form-status.bad { color: #F7A1AE; }
.form-status a { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: #07080B; color: var(--muted-dark); padding: 48px 0 24px; font-size: 14px; }
.footer-grid { display: grid; gap: 28px; }
.footer img { height: 30px; width: auto; margin-bottom: 12px; }
.legal p { line-height: 1.7; }
.legal b { color: #fff; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-dark); }

/* ---------- Thanh liên hệ điện thoại + nút Zalo nổi ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(13,15,20,.96); border-top: 1px solid var(--line-dark);
  transition: transform .25s;
}
.action-bar.is-hidden { transform: translateY(110%); }
.zalo-float { display: none; }

/* ============ Máy tính bảng ============ */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero-actions { display: flex; flex-wrap: wrap; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .choice { grid-template-columns: repeat(3, auto); justify-content: start; }
  .gallery figure { flex-basis: 44%; }
  .response { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 20px; }
  .response div { grid-template-columns: 1fr; border: 0; border-top: 2px solid var(--ink); gap: 4px; }
  .age-legend { grid-template-columns: repeat(6, 1fr); }
  .industries ul { grid-template-columns: repeat(3, 1fr); }
  .partner .btn { width: auto; }
  .form { padding: 28px; }
}

/* ============ Máy tính ============ */
@media (min-width: 1024px) {
  :root { --header-h: 72px; }
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .zalo-float {
    display: inline-flex; align-items: center; gap: 10px; position: fixed; right: 24px; bottom: 24px; z-index: 40;
    background: var(--accent); color: var(--ink); text-decoration: none; font-weight: 600;
    height: 52px; padding: 0 22px; border-radius: 26px; box-shadow: 0 10px 30px -8px rgba(13,15,20,.45);
    transition: background-color .2s, transform .25s, opacity .25s;
  }
  .zalo-float:hover { background: var(--accent-hover); }
  .zalo-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }

  .menu-btn { display: none; }
  .nav {
    position: static; transform: none; opacity: 1; visibility: visible; flex-direction: row; align-items: center;
    padding: 0; gap: 4px; margin-left: 28px; background: none; overflow: visible;
  }
  .nav a { min-height: 40px; padding: 0 10px; font-size: 14px; font-weight: 500; border: 0; color: #C9CCD4; border-radius: 6px; }
  .nav a:hover { color: #fff; }
  .nav a.nav-cta { display: none; }
  .hotline { padding: 0 12px; font-weight: 600; font-size: 14px; }
  .hotline span { display: inline; }
  .brand img { height: 34px; }

  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
  .player-screen { aspect-ratio: 16 / 9; }
  .player-screen video { object-position: 50% 50%; }

  .section { padding: 104px 0; }
  .section-tight { padding: 56px 0; }
  .section-head { margin-bottom: 56px; }

  .regions { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; margin-top: 72px; align-items: center; }
  .map { margin: 0; max-width: none; }

  .segments { display: grid; grid-template-columns: 280px 1fr; gap: 0 32px; margin-top: 80px; }
  .segments .h-md { grid-column: 1 / -1; }
  .tabs { flex-direction: column; margin: 0; padding: 0; overflow: visible; }
  .tabs button { text-align: left; min-height: 52px; }
  .panel { margin-top: 0; padding: 0; display: grid; grid-template-columns: 260px 1fr; }
  .panel:not([hidden]) { display: grid; }
  .panel-img { margin: 0; aspect-ratio: auto; height: 100%; min-height: 360px; }
  .panel-body { padding: 32px; }
  .mini { grid-template-columns: repeat(2, 1fr); }
  .facts li { grid-template-columns: 180px 1fr; }

  .gallery { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; overflow: visible; padding: 0 var(--gutter); }
  .gallery figure { aspect-ratio: auto; height: auto; grid-row: span 2; position: relative; }
  .gallery figure:not(.wide) img { position: absolute; inset: 0; }
  .gallery figure.wide { grid-row: auto; grid-column: 3; aspect-ratio: 4 / 3; }

  .reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 0; }
  .reasons li { border-top: 1px solid var(--line); border-bottom: 0; padding: 28px 0; }
  .research-list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps li { padding: 48px 0 0; }
  .steps li::after { left: 36px; right: -32px; top: 13px; bottom: auto; width: auto; height: 2px; }
  .platform { grid-template-columns: 1fr 1.4fr; padding: 40px; gap: 48px; margin-top: 72px; }
  .platform h3 { font-size: 30px; }

  .plan-switch { display: none; }
  .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
  .plan { display: flex; padding: 32px; }
  .plan:not(.is-featured) .tag { visibility: hidden; }
  .includes { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; margin-top: 56px; }
  .includes ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .includes .note { grid-column: 2; margin-top: 0; }

  .partner { padding: 104px 0; }
  .partner-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; }

  .faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }

  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 72px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
