/* Hallmark · pre-emit critique: P4 H4 E4 S5 R5 V4
 * Hallmark · genre: modern-minimal · macrostructure: Map / Diagram · theme: BossBoard brand tokens (brand/tokens/tokens.css)
 * tone: technical, modern · anchor hue: amber highlight on ink + paper · enrichment: none (the map is the image)
 * nav: N5 floating pill (width=content, backdrop=blur, anchor=top-centred) · footer: Ft5 statement (width=28ch, wordmark=under, rule=hairline)
 * F3 spec knobs: columns=3, rules=every row · F4 steps knobs: numbering=1/2/3, layout=vertical, connector=line · C2 form knobs: fields=4, submit=separate line, helper=above
 * Copy rules: .claude/skills/viet-khong-dau-vet-ai (straight quotes, no em dash) override Hallmark's curly-quote advice
 */

/* ---------------------------------------------------------------------------
   Page tokens. Colours and fonts map onto the brand tokens, never raw values.
   ------------------------------------------------------------------------- */
:root {
  --color-paper: var(--bb-bg);
  --color-surface: var(--bb-surface);
  --color-ink: var(--bb-text);
  --color-muted: var(--bb-muted);
  --color-rule: var(--bb-line);
  --color-accent: var(--bb-amber);
  --color-on-accent: var(--bb-ink);
  --color-cta: var(--bb-text);
  --color-on-cta: var(--bb-bg);
  --color-focus: var(--bb-text);
  --color-error: var(--bb-down);
  --color-ok: var(--bb-up);
  --color-shadow: rgb(19 33 43 / 0.16);
  /* Mau nhan dien cua Zalo, chi dung cho nut lien he Zalo */
  --color-zalo: #0068FF;
  --color-on-zalo: #FFFFFF;

  --font-display: var(--bb-font);
  --font-body: var(--bb-font);
  --font-number: var(--bb-font-number);

  --space-2xs: var(--bb-space-1);
  --space-xs: var(--bb-space-2);
  --space-sm: var(--bb-space-3);
  --space-md: var(--bb-space-4);
  --space-lg: var(--bb-space-6);
  --space-xl: var(--bb-space-10);
  --space-2xl: var(--bb-space-16);
  --space-3xl: 6rem;
  --page-gutter: clamp(1rem, 4vw, 2.5rem);
  --page-max: 72rem;

  --text-sm: var(--bb-text-sm);
  --text-base: var(--bb-text-base);
  --text-lg: var(--bb-text-lg);
  --text-xl: var(--bb-text-xl);
  --text-2xl: clamp(1.625rem, 2.4vw + 0.75rem, 2.25rem);
  --text-display: clamp(2.5rem, 5vw + 0.5rem, 4.5rem);

  --radius-sm: var(--bb-radius-sm);
  --radius-md: var(--bb-radius-md);
  --radius-pill: 999px;
  --rule-hair: 1px;

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in: cubic-bezier(0.5, 0, 0.75, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms;
  --dur-base: 180ms;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --color-shadow: rgb(0 0 0 / 0.45); }
}
:root[data-theme="dark"] { --color-shadow: rgb(0 0 0 / 0.45); }

/* ---------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
/* Thuoc tinh hidden phai thang moi display cua class (.section, .ab-card, .booking__call) */
[hidden] { display: none !important; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--bb-leading-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-style: normal; text-wrap: balance; overflow-wrap: anywhere; min-width: 0; }
p { margin: 0; }
a { color: inherit; }
.muted { color: var(--color-muted); }
.num { font-family: var(--font-number); font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mark-total { fill: var(--color-accent); }

:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

.skip {
  position: absolute; left: var(--space-md); top: -4rem; z-index: 30;
  background: var(--color-cta); color: var(--color-on-cta);
  padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-sm);
}
.skip:focus-visible { top: var(--space-md); }

/* ---------------------------------------------------------------------------
   Buttons and links: default, hover, focus, active, disabled, loading
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 var(--space-lg);
  border: 0; border-radius: var(--radius-pill);
  font: 600 var(--text-base)/1 var(--font-body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn--fill { background: var(--color-cta); color: var(--color-on-cta); }
.btn--fill:hover { opacity: 0.86; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--sm { min-height: 36px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2xs);
  min-height: 44px; font-weight: 600; text-decoration: none; white-space: nowrap;
  border-bottom: var(--rule-hair) solid transparent;
}
.link-arrow::after { content: "\2193"; transition: transform var(--dur-base) var(--ease-out); }
.link-arrow:hover::after { transform: translateY(2px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------------------
   N5 floating pill nav
   ------------------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.brand svg { width: 22px; height: 21px; color: var(--color-ink); }

.nav-pill {
  position: fixed; z-index: 20;
  top: calc(env(safe-area-inset-top, 0px) + var(--space-sm)); left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: var(--space-lg);
  max-width: calc(100% - 2 * var(--space-sm));
  padding: 0.375rem 0.375rem 0.375rem 1rem;
  background: color-mix(in srgb, var(--color-paper) 80%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px -12px var(--color-shadow);
}
.nav-pill__links { display: flex; gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.nav-pill__links a { font-size: var(--text-sm); text-decoration: none; color: var(--color-muted); white-space: nowrap; }
.nav-pill__links a:hover { color: var(--color-ink); }

@media (max-width: 760px) {
  .nav-pill__links { display: none; }
  .nav-pill { gap: var(--space-md); }
}

/* ---------------------------------------------------------------------------
   Hero: headline + lede, then the map
   ------------------------------------------------------------------------- */
.hero {
  padding: calc(var(--space-3xl) + var(--space-lg)) var(--page-gutter) var(--space-2xl);
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
.hero__text {
  max-width: var(--page-max); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-xl); align-items: end;
}
.hero__title { font-size: var(--text-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
/* Cau dau dai (trang van-chuyen): nho hon de nut "Dat lich goi" van nam trong man hinh dau tren dien thoai */
.hero__title--dai { font-size: clamp(1.75rem, 3.4vw + 0.5rem, 3.25rem); line-height: 1.1; }
.hero__side { display: grid; gap: var(--space-lg); }
.hero__lede { font-size: var(--text-lg); color: var(--color-muted); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); }

/* The map: sources -> BossBoard -> what the boss sees */
.map {
  max-width: var(--page-max); margin: var(--space-2xl) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 0.72fr) 64px minmax(0, 1fr);
  align-items: stretch;
}
.map__col { margin: 0; padding: 0; list-style: none; display: grid; grid-auto-rows: 1fr; gap: var(--space-xs); }
.node {
  align-self: center;
  display: grid; gap: 2px;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-md);
}
.node b { font-size: var(--text-base); font-weight: 700; }
.node span { font-size: var(--text-sm); color: var(--color-muted); }
.node--hot { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.node--hot span { color: var(--color-on-accent); opacity: 0.8; }

.map__wire { width: 100%; height: 100%; overflow: visible; }
.map__wire path { fill: none; stroke: var(--color-rule); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.map__wire path.is-hot { stroke: var(--color-ink); stroke-width: 2; }

.map__core {
  align-self: center;
  display: grid; justify-items: center; gap: var(--space-xs); text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-surface);
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-md);
}
.map__core svg { width: 56px; height: 53px; color: var(--color-ink); }
.map__core b { font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.01em; }
.map__core span { font-size: var(--text-sm); color: var(--color-muted); max-width: 16ch; }

.map figcaption { grid-column: 1 / -1; margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); max-width: 70ch; }

@media (max-width: 900px) {
  .hero__text { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); align-items: start; }
  .map { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .map__wire { display: none; }
  .map__col { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); grid-auto-rows: auto; }
  .map__core { margin-block: var(--space-md); position: relative; }
  .map__core::before, .map__core::after {
    content: ""; position: absolute; left: 50%; width: 1.5px; height: var(--space-md);
    background: var(--color-ink);
  }
  .map__core::before { bottom: 100%; }
  .map__core::after { top: 100%; }
  .node { align-self: stretch; }
}

/* ---------------------------------------------------------------------------
   Sections
   ------------------------------------------------------------------------- */
.section {
  max-width: calc(var(--page-max) + 2 * var(--page-gutter)); margin-inline: auto;
  padding: var(--space-3xl) var(--page-gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl);
}
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); align-items: end; }
.section__head h2 { font-size: var(--text-2xl); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.section__head p { color: var(--color-muted); max-width: 52ch; }
@media (max-width: 760px) {
  .section { padding-top: var(--space-2xl); gap: var(--space-lg); }
  .section__head { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
}

/* F3 spec table */
.table-wrap { overflow-x: auto; border-top: var(--rule-hair) solid var(--color-ink); }
.spec { width: 100%; min-width: 40rem; border-collapse: collapse; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: var(--space-md) var(--space-md) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.spec thead th { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); padding-block: var(--space-sm); }
.spec tbody th { font-weight: 700; width: 22%; }
.spec td:nth-child(2) { color: var(--color-muted); width: 36%; }
@media (max-width: 640px) {
  .table-wrap { overflow: visible; }
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: auto; min-width: 0; }
  .spec thead { display: none; }
  .spec tr { padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .spec th, .spec td { border: 0; padding: 0; }
  .spec tbody th { width: auto; margin-bottom: var(--space-xs); }
  .spec td { width: auto !important; }
  .spec td + td { margin-top: var(--space-2xs); color: var(--color-ink); }
  .spec td::before { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); }
  .spec td:nth-of-type(1)::before { content: "Hôm nay"; }
  .spec td:nth-of-type(2)::before { content: "Trên BossBoard"; margin-top: var(--space-xs); }
}

/* F4 step sequence */
.steps { margin: 0; padding: 0; list-style: none; display: grid; max-width: 48rem; }
.steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--space-md); position: relative; padding-bottom: var(--space-lg); }
.steps li:not(:last-child)::before {
  content: ""; position: absolute; left: calc(1.25rem - 0.5px); top: 2.75rem; bottom: 0.25rem;
  width: 1px; background: var(--color-rule);
}
.steps__n {
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border: var(--rule-hair) solid var(--color-ink); border-radius: 50%;
  font-family: var(--font-number); font-weight: 800; font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: var(--text-lg); font-weight: 700; margin-top: 0.4rem; }
.steps p { color: var(--color-muted); margin-top: var(--space-2xs); max-width: 60ch; }

/* Split: logistics */
.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.split__text { display: grid; gap: var(--space-md); }
.split__text h2 { font-size: var(--text-2xl); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.split__text p { max-width: 52ch; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.board {
  margin: 0; padding: var(--space-lg);
  background: var(--color-surface);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-md);
}
.board__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.board__rows { margin: var(--space-xs) 0 0; display: grid; gap: 2px; }
.board__rows div { display: flex; justify-content: space-between; gap: var(--space-md); padding: 0.6rem var(--space-xs); border-radius: var(--radius-sm); }
.board__rows dt { font-size: var(--text-base); }
.board__rows dd { margin: 0; font-family: var(--font-number); font-weight: 800; font-variant-numeric: tabular-nums; }
.board__rows .is-hot { background: var(--color-accent); color: var(--color-on-accent); }
.board figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }

/* Showcase: video and screenshots of the sample overview */
.showcase { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: var(--space-lg); align-items: start; }
.showcase figure { margin: 0; }
.showcase figcaption { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.showcase video, .showcase img { display: block; width: 100%; height: auto; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-md); background: var(--color-surface); }
.showcase__shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.showcase__shot--wide { grid-column: 1 / -1; }
.showcase__note { margin-top: var(--space-md); font-size: var(--text-sm); }
@media (max-width: 860px) {
  .showcase { grid-template-columns: minmax(0, 1fr); }
  .showcase__video { max-width: 20rem; }
  .showcase__shots { grid-template-columns: minmax(0, 1fr); }
}

/* Facts: 2 x 2 definition list */
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: var(--rule-hair) solid var(--color-ink); }
.facts__item { padding: var(--space-lg) var(--space-lg) var(--space-lg) 0; border-bottom: var(--rule-hair) solid var(--color-rule); display: grid; gap: var(--space-xs); align-content: start; }
.facts__item:nth-child(odd) { border-right: var(--rule-hair) solid var(--color-rule); }
.facts__item:nth-child(even) { padding-left: var(--space-lg); }
.facts dt { font-size: var(--text-lg); font-weight: 700; }
.facts dd { margin: 0; color: var(--color-muted); max-width: 48ch; }
@media (max-width: 700px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts__item:nth-child(odd) { border-right: 0; }
  .facts__item:nth-child(even) { padding-left: 0; }
}

/* FAQ */
.faq { border-top: var(--rule-hair) solid var(--color-ink); max-width: 52rem; }
.faq details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: var(--space-md);
  padding: var(--space-md) 0; font-size: var(--text-lg); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--color-muted); transition: transform var(--dur-base) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--color-muted); }
.faq details p { padding-bottom: var(--space-md); color: var(--color-muted); max-width: 64ch; }

/* ---------------------------------------------------------------------------
   Booking form: default, focus, error, loading, success
   ------------------------------------------------------------------------- */
.booking {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  padding-bottom: var(--space-3xl);
}
.booking__text { display: grid; gap: var(--space-md); }
.booking__text h2 { font-size: var(--text-2xl); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.booking__text p { color: var(--color-muted); max-width: 44ch; }
.booking__form {
  display: grid; gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-surface);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-md);
}
@media (max-width: 860px) { .booking { grid-template-columns: minmax(0, 1fr); } }

.field { display: grid; gap: var(--space-2xs); }
.field label { font-size: var(--text-sm); font-weight: 600; }
.field input, .field select {
  min-height: 44px; width: 100%;
  padding: 0 var(--space-sm);
  font: inherit; color: var(--color-ink);
  background: var(--color-paper);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.field input:hover, .field select:hover { border-color: var(--color-muted); }
.field input:focus-visible, .field select:focus-visible { border-color: var(--color-ink); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--color-error); }
.field__err { font-size: var(--text-sm); color: var(--color-error); }
.booking__done { font-weight: 600; color: var(--color-ok); }
.booking__done[data-state="error"] { color: var(--color-error); }
.booking__done p + p { margin-top: var(--space-2xs); font-weight: 400; color: var(--color-ink); }

/* O dong y duoi form: ca dong chu bam duoc, khong danh san */
.consent { display: grid; gap: var(--space-2xs); }
.consent__label {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-xs); align-items: start;
  font-size: var(--text-sm); color: var(--color-muted); cursor: pointer;
}
.consent__label input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--color-ink); cursor: pointer; }
.consent__label input[aria-invalid="true"] { outline: 2px solid var(--color-error); outline-offset: 2px; }
.consent__label a { color: var(--color-ink); text-underline-offset: 3px; }

/* Doan "Cuoc goi 20 phut gom gi": may tinh o cot trai duoi phan chu, dien thoai ngay sau form */
.booking__text { grid-column: 1; grid-row: 1; }
.booking__form { grid-column: 2; grid-row: 1 / span 2; }
.booking__call { grid-column: 1; grid-row: 2; }
@media (max-width: 860px) {
  .booking__text, .booking__form, .booking__call { grid-column: auto; grid-row: auto; }
}
.booking__call { display: grid; gap: var(--space-sm); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.booking__call p { color: var(--color-muted); max-width: 44ch; }
.booking__call h3 { font-size: var(--text-lg); font-weight: 700; }
.booking__call-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.booking__call-list li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--space-sm); align-items: baseline; }
.booking__call-list b { font-family: var(--font-number); font-variant-numeric: tabular-nums; white-space: nowrap; }
.booking__call-list span { color: var(--color-muted); max-width: 44ch; }
.faq__cho { padding: var(--space-md) 0; }
.faq details p a { color: var(--color-ink); text-underline-offset: 3px; }

/* ---------------------------------------------------------------------------
   Ft5 statement footer
   ------------------------------------------------------------------------- */
.foot-stmt {
  border-top: var(--rule-hair) solid var(--color-rule);
  padding: var(--space-2xl) var(--page-gutter) var(--space-xl);
  display: grid; gap: var(--space-lg);
  max-width: calc(var(--page-max) + 2 * var(--page-gutter)); margin-inline: auto;
}
.foot-stmt__line { font-size: clamp(1.75rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; max-width: 28ch; }

/* ---------------------------------------------------------------------------
   Lien he: chan trang, nut Zalo noi, o bay chong spam
   ------------------------------------------------------------------------- */
.booking__direct { font-weight: 600; }
.booking__direct a { text-underline-offset: 3px; }
.booking__about { font-size: var(--text-sm); color: var(--color-muted); }
.booking__about a, .faq details p a { color: var(--color-ink); text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.foot-stmt__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: var(--space-lg); padding-top: var(--space-md);
  border-top: var(--rule-hair) solid var(--color-rule);
  font-size: var(--text-sm); color: var(--color-muted);
}
.foot-stmt__col { display: grid; gap: var(--space-2xs); align-content: start; font-style: normal; }
.foot-stmt__col b { color: var(--color-ink); }
.foot-stmt__col .brand { color: var(--color-ink); font-size: var(--text-base); }
.foot-contact a { color: var(--color-ink); font-weight: 600; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; gap: 0.4em; }
.foot-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-link { color: var(--color-ink); font-weight: 600; text-underline-offset: 3px; }
.link-arrow--right::after { content: "\2192"; }
/* Lien ket dai o muc "Nganh lam truoc": cho xuong dong, khong thi day ca cot chu tran ra ngoai man hinh dien thoai */
.link-arrow--right { white-space: normal; display: inline; }
.link-arrow--right::after { margin-left: 0.3em; }
.link-arrow--right:hover::after { transform: translateX(2px); }
.foot-stmt__copy { font-size: var(--text-sm); color: var(--color-muted); }

.zalo-float {
  position: fixed; z-index: 15;
  right: var(--space-md); bottom: calc(env(safe-area-inset-bottom, 0px) + var(--space-md));
  width: 56px; height: 56px; border-radius: 50%;
  box-shadow: 0 8px 20px -8px var(--color-shadow);
  transition: transform var(--dur-fast) var(--ease-out);
}
.zalo-float:hover { transform: translateY(-2px); }
.zalo-float:active { transform: translateY(0); }
.zalo-float svg { display: block; width: 100%; height: 100%; }
.zalo-float__bg { fill: var(--color-zalo); }
.zalo-float__txt { fill: var(--color-on-zalo); font: 800 14px var(--font-body); letter-spacing: -0.02em; }

/* ---------------------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}

/* ---------------------------------------------------------------------------
   Video ngan: anh bia nho, bam moi tai video. Dien thoai: dai vuot ngang.
   ------------------------------------------------------------------------- */
.vids { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
.vids--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
.vids li { display: grid; gap: var(--space-xs); align-content: start; min-width: 0; }
.vid { position: relative; display: block; width: 100%; padding: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-md); overflow: hidden; background: var(--color-surface); cursor: pointer; aspect-ratio: 9 / 16; }
.vid img, .vid__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid__video { aspect-ratio: 9 / 16; height: auto; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-md); background: var(--color-ink); }
.vid__video:fullscreen { object-fit: contain; border: 0; border-radius: 0; }
.vid__video:-webkit-full-screen { object-fit: contain; border: 0; border-radius: 0; }
.vid__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--color-cta); box-shadow: 0 8px 24px rgb(0 0 0 / 0.25); transition: transform 120ms ease-out; }
.vid__play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid var(--color-on-cta); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.vid:hover .vid__play { transform: scale(1.08); }
.vid:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.vid__time { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: var(--radius-sm); background: var(--color-cta); color: var(--color-on-cta); font-size: var(--text-sm); font-family: var(--font-number); }
.vids__ten { font-weight: 700; line-height: 1.3; }
@media (max-width: 760px) {
  .vids { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-sm); -webkit-overflow-scrolling: touch; }
  .vids li { scroll-snap-align: start; }
}

/* Xem anh lon trong khung, co nut dong */
.lightbox { max-width: min(96vw, 1440px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius-md); background: var(--color-surface); overflow: auto; }
.lightbox::backdrop { background: rgb(0 0 0 / 0.72); }
.lightbox__img { display: block; width: 100%; height: auto; }
.lightbox__cap { padding: var(--space-sm) var(--space-md) var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.lightbox__close { position: sticky; top: 8px; float: right; margin: 8px 8px -52px 0; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--color-cta); color: var(--color-on-cta); font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox__close:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
