/* ═══════════════════════════════════════════════════════════════
   VVMV JSC — Design System
   Brand: xanh navy #043c91 + đỏ #e4171f · Nunito (heading) + Muli (body)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg:        oklch(0.985 0.004 250);
  --surface:   oklch(1 0 0);
  --fg:        oklch(0.28 0.03 260);
  --muted:     oklch(0.52 0.03 260);
  --border:    oklch(0.92 0.01 250);
  --accent:    oklch(0.55 0.21 27);   /* #e4171f */
  --blue:      oklch(0.42 0.13 259);  /* #043c91 */
  --blue-deep: oklch(0.30 0.10 262);  /* #032d6b */
  --blue-mist: oklch(0.95 0.025 248); /* #e8f2fc */

  --accent-soft: color-mix(in oklch, var(--accent) 10%, transparent);
  --blue-soft:   color-mix(in oklch, var(--blue) 8%, transparent);
  --fg-soft:     color-mix(in oklch, var(--fg) 5%, transparent);

  --font-display: 'Nunito', 'Be Vietnam Pro', system-ui, sans-serif;
  --font-body:    'Muli', 'Be Vietnam Pro', system-ui, sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', Menlo, monospace;

  --fs-h1: clamp(36px, 4.6vw, 58px);
  --fs-h2: clamp(28px, 3.4vw, 42px);
  --fs-h3: 20px;
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-meta: 13px;

  --gap-xs: 8px; --gap-sm: 12px; --gap-md: 20px; --gap-lg: 32px;
  --gap-xl: 56px; --gap-2xl: 96px;
  --container: 1200px; --gutter: 28px;
  --radius: 10px; --radius-lg: 16px;

  --shadow-card: 0 1px 2px color-mix(in oklch, var(--blue-deep) 6%, transparent),
                 0 8px 24px -12px color-mix(in oklch, var(--blue-deep) 18%, transparent);
  --shadow-lift: 0 2px 4px color-mix(in oklch, var(--blue-deep) 8%, transparent),
                 0 18px 44px -16px color-mix(in oklch, var(--blue-deep) 28%, transparent);
}

/* ─── reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
p { text-wrap: pretty; margin: 0 0 1em; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); color: var(--blue-deep); margin: 0; text-wrap: balance; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: 4px; }
:focus-visible { outline: 3px solid color-mix(in oklch, var(--blue) 55%, transparent); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in oklch, var(--blue) 18%, transparent); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-tight { padding-block: clamp(36px, 5vw, 60px); }
.section + .section { border-top: 1px solid var(--border); }
.section--mist { background: var(--blue-mist); border-top: 1px solid var(--border); }
.section--deep { background: var(--blue-deep); color: #dbe6f7; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep p { color: #c4d3ec; }

/* ─── type ─────────────────────────────────────────────────── */
h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.14; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); font-weight: 800; line-height: 1.3; }
h4 { font-size: 17px; font-weight: 800; }
.eyebrow {
  font-family: var(--font-display); font-weight: 800; font-size: 12.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; }
.eyebrow--plain::before { display: none; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); }
.num  { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 14px; }

/* ─── buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: var(--radius);
  border: 1.5px solid transparent; font-family: var(--font-display); font-weight: 800;
  font-size: 15px; letter-spacing: 0.01em; line-height: 1;
  transition: transform .06s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 6px 18px -8px color-mix(in oklch, var(--accent) 60%, transparent); }
.btn-primary:hover { background: color-mix(in oklch, var(--accent) 88%, black); border-color: color-mix(in oklch, var(--accent) 88%, black); }
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-secondary { background: var(--surface); color: var(--blue-deep); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: transparent; color: var(--blue); border-color: transparent; padding-inline: 8px; font-weight: 700; }
.btn-ghost:hover { color: var(--accent); }
.btn-ghost::after { content: '→'; transition: transform .15s ease; margin-left: 2px; }
.btn-ghost:hover::after { transform: translateX(3px); }
.btn-light { background: #fff; color: var(--blue-deep); border-color: #fff; }
.btn-light:hover { background: color-mix(in oklch, #fff 88%, var(--blue)); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* ─── chrome: topbar + header ──────────────────────────────── */
.topbar { background: var(--blue-deep); color: #b9c9e6; font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: nowrap; }
.topbar .tb-group { display: flex; align-items: center; flex-wrap: nowrap; }
.topbar .tb-contact { gap: 0; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; color: #c9d8f2; font-size: 12.5px; line-height: 1.4; white-space: nowrap; text-decoration: none; transition: color .15s ease; }
.topbar .tb-item svg, .topbar .tb-social svg { width: 14px; height: 14px; flex-shrink: 0; margin: 0; }
.topbar .tb-item:hover { color: #fff; }
.topbar .tb-contact > .tb-item:first-child { color: #eef3fc; font-weight: 600; }
.topbar .tb-sep { flex-shrink: 0; width: 1px; height: 12px; margin-inline: 14px; background: color-mix(in oklch, #fff 16%, transparent); }
.topbar .tb-meta { color: #9db1d8; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em; }
.topbar .tb-social { gap: 2px; }
.topbar .tb-social a { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; color: #b9c9e6; opacity: 1; transition: background-color .15s ease, color .15s ease; }
.topbar .tb-social a:hover { background: color-mix(in oklch, #fff 10%, transparent); color: #fff; }
.topbar .tb-item:focus-visible, .topbar .tb-social a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }
@media (max-width: 880px) { .topbar .tb-hide-m { display: none; } }
@media (max-width: 560px) { .topbar .tb-hide-s { display: none; } }
@media (max-width: 920px) {
  .topbar .tb-item, .topbar .tb-social a { position: relative; }
  .topbar .tb-item::after { content: ""; position: absolute; inset: -13px -4px; }
  .topbar .tb-social { gap: 12px; }
  .topbar .tb-social a::after { content: ""; position: absolute; inset: -8px -6px; }
}

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklch, var(--surface) 94%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; height: 74px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a, .nav-drop > button {
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--fg);
  padding: 9px 13px; border-radius: 8px; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
}
.main-nav > a:hover, .nav-drop > button:hover, .main-nav > a.active, .nav-drop.open > button, .nav-drop > button.active { color: var(--blue); background: var(--blue-soft); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 11px; height: 11px; transition: transform .15s; }
.nav-drop.open > button svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift); padding: 10px; display: none; z-index: 70;
}
.nav-drop.open .nav-menu { display: block; }
.nav-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--fg); }
.nav-menu a:hover { background: var(--blue-mist); color: var(--blue); }
.nav-menu a.active { background: var(--blue-mist); color: var(--blue); font-weight: 800; }
.nav-menu a small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.burger { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; width: 42px; height: 42px; align-items: center; justify-content: center; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.burger:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-mist); }
.burger svg { width: 20px; height: 20px; }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--surface); padding: 12px var(--gutter) 20px; }
.mobile-nav.open { display: block; max-height: calc(100vh - 119px); max-height: calc(100dvh - 119px); overflow-y: auto; overscroll-behavior: contain; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--fg);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--blue); }
.mobile-nav .m-label {
  display: block; padding: 16px 0 2px; font-family: var(--font-display); font-weight: 800; font-size: 11.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.mobile-nav .m-label.active { color: var(--blue); }
.mobile-nav .m-sub { padding-left: 18px; font-weight: 600; font-size: 14.5px; }

/* ─── hero ─────────────────────────────────────────────────── */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, color-mix(in oklch, var(--blue-deep) 88%, transparent) 8%, color-mix(in oklch, var(--blue-deep) 62%, transparent) 55%, color-mix(in oklch, var(--blue-deep) 30%, transparent) 100%);
}
.hero-inner { position: relative; padding-block: clamp(72px, 10vw, 140px); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: #cfdbef; margin-top: 20px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: color-mix(in oklch, #fff 10%, transparent); border: 1px solid color-mix(in oklch, #fff 22%, transparent);
  color: #e8f0fb; backdrop-filter: blur(4px);
}
.hero-badge svg { width: 15px; height: 15px; }

/* hero — inner pages (compact, breadcrumb) */
.hero-page { background: var(--blue-deep); color: #fff; }
.hero-page .hero-media { display: none; }
.hero-page::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(color-mix(in oklch, #fff 9%, transparent) 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero-page .hero-inner { position: relative; padding-block: clamp(48px, 7vw, 84px); }
.hero-page h1 { color: #fff; font-size: clamp(30px, 3.8vw, 46px); }
.hero-page .lead { color: #c4d3ec; }
.breadcrumb { font-family: var(--font-mono); font-size: 12.5px; color: #9fb6dd; margin-bottom: 18px; letter-spacing: .04em; }
.breadcrumb a { color: #cfe0f8; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; opacity: .5; }

/* ─── stats ────────────────────────────────────────────────── */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.stat-cell { background: var(--surface); padding: 26px 24px; }
.stat-cell .stat-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 3vw, 40px); color: var(--blue); line-height: 1; letter-spacing: -0.02em; }
.stat-cell .stat-num small { font-size: .55em; color: var(--muted); font-weight: 700; }
.stat-cell .stat-label { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.stats-band--deep { background: color-mix(in oklch, #fff 14%, transparent); border-color: transparent; }
.stats-band--deep .stat-cell { background: transparent; }
.stats-band--deep .stat-cell .stat-num { color: #fff; }
.stats-band--deep .stat-cell .stat-label { color: #b9c9e6; }

/* ─── cards ────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-md); }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap-md); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--gap-md); }
@media (max-width: 1020px) { .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 920px)  { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px)  {
  .grid-4, .grid-6 { grid-template-columns: 1fr 1fr; }
  .grid-4:has(> .card), .grid-6:has(> .card) { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-card);
}
.card-link { display: flex; flex-direction: column; height: 100%; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
a.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: color-mix(in oklch, var(--blue) 35%, var(--border)); }
.card .icon-tile {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-mist); color: var(--blue); margin-bottom: 18px; flex-shrink: 0;
}
.card .icon-tile svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; font-size: 18px; }
.card p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.card .more { margin-top: auto; font-family: var(--font-display); font-weight: 800; font-size: 13.5px; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.card .more::after { content: '→'; transition: transform .15s; }
a.card-link:hover .more::after { transform: translateX(3px); }

/* ─── badges / tags / pills ────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px;
  border-radius: 999px; font-family: var(--font-display); font-weight: 800; font-size: 11.5px;
  letter-spacing: .06em; text-transform: uppercase;
}
.badge-park  { background: var(--blue); color: #fff; }
.badge-new   { background: var(--accent); color: #fff; }
.badge-plain { background: var(--fg-soft); color: var(--muted); }
.badge-line  { background: transparent; border: 1px solid var(--border); color: var(--muted); }
.badge-ok    { background: color-mix(in oklch, #1a7f4b 12%, transparent); color: #177a46; }
.tag { display: inline-flex; padding: 4px 11px; border: 1px solid var(--border); border-radius: 999px; font-size: 12.5px; color: var(--muted); background: var(--surface); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ─── tables ───────────────────────────────────────────────── */
/* scroll-shadow: covers (local) hide shadows (scroll) at scroll extremes */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background-color: var(--surface);
  background-image:
    linear-gradient(var(--surface), var(--surface)),
    linear-gradient(var(--surface), var(--surface)),
    linear-gradient(to right, color-mix(in oklch, var(--blue-deep) 20%, transparent), transparent),
    linear-gradient(to left,  color-mix(in oklch, var(--blue-deep) 20%, transparent), transparent);
  background-position: left top, right top, left top, right top;
  background-repeat: no-repeat;
  background-size: 26px 100%, 26px 100%, 16px 100%, 16px 100%;
  background-attachment: local, local, scroll, scroll;
}
table.ds { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 720px; }
table.ds th {
  background: var(--blue-deep); color: #fff; text-align: left;
  padding: 13px 16px; font-family: var(--font-display); font-weight: 800; font-size: 12.5px;
  letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
}
table.ds td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.ds tbody tr:last-child td { border-bottom: 0; }
table.ds tbody tr { transition: background .12s; }
table.ds tbody tr:hover { background: var(--blue-mist); }
table.ds .mono { font-family: var(--font-mono); font-size: 13px; white-space: nowrap; }
.route-origin, .route-dest { font-weight: 700; color: var(--blue-deep); white-space: nowrap; }
.route-sub { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.sched { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.note-txt { font-size: 12.5px; color: var(--muted); }
table.ds tr.tbl-group td {
  background: var(--blue-mist);
  font-family: var(--font-display); font-weight: 800; font-size: 12px;
  letter-spacing: .07em; text-transform: uppercase; color: var(--blue-deep);
  padding: 11px 16px;
}
table.ds tr.tbl-group td small { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--muted); }

/* route foot — info panel under route tables */
.route-foot {
  display: grid; grid-template-columns: 1.15fr 1fr;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden;
}
.route-foot .rf-col { padding: clamp(24px, 3vw, 32px); }
.route-foot .rf-col + .rf-col { border-left: 1px solid var(--border); background: var(--blue-mist); }
.route-foot h3 { font-size: 17px; }
.route-foot .rf-col > p { color: var(--muted); font-size: 14.5px; margin-bottom: 0; }
.route-foot .rf-lines { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.route-foot .rf-lines a {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; color: var(--blue); font-size: 14.5px;
}
.route-foot .rf-lines a:hover { color: var(--accent); }
.route-foot .rf-lines svg { width: 16px; height: 16px; flex-shrink: 0; }
.route-foot .rf-hours { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.route-foot .rf-hours a { color: var(--blue); font-weight: 700; }
.route-foot .rf-hours a:hover { color: var(--accent); }
@media (max-width: 920px) {
  .route-foot { grid-template-columns: 1fr; }
  .route-foot .rf-col + .rf-col { border-left: 0; border-top: 1px solid var(--border); }
}

/* ─── forms ────────────────────────────────────────────────── */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--fg); }
.field label .req { color: var(--accent); }
.input, .select, .textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--fg); font: inherit; font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder, .textarea::placeholder { color: color-mix(in oklch, var(--muted) 65%, transparent); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--blue) 15%, transparent);
}
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--accent); }
.field .err { display: none; font-size: 12px; color: var(--accent); font-weight: 600; }
.field.invalid .err { display: block; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.check-row input { margin-top: 4px; accent-color: var(--blue); width: 16px; height: 16px; flex-shrink: 0; }
.form-note { font-size: 12.5px; color: var(--muted); }
.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success .ok-mark {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: color-mix(in oklch, #1a7f4b 14%, transparent); color: #177a46;
  display: grid; place-items: center;
}
.form-success .ok-mark svg { width: 30px; height: 30px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ─── list rows (log style) ────────────────────────────────── */
.log-row {
  display: grid; grid-template-columns: 110px 1fr auto; gap: var(--gap-lg);
  padding: 22px 0; border-top: 1px solid var(--border); align-items: baseline;
}
.log-row:first-child { border-top: 0; }
.log-row .meta { color: var(--muted); }
.log-row h3 { font-size: 18px; margin-bottom: 4px; }
.log-row h3 a:hover { color: var(--blue); }
.log-row p { margin: 0; color: var(--muted); font-size: 14px; }
.log-row .pull { text-align: right; }
@media (max-width: 720px) { .log-row { grid-template-columns: 1fr; gap: 6px; } .log-row .pull { text-align: left; } }

/* ─── timeline ─────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -31px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--surface); border: 3px solid var(--blue);
}
.tl-item.tl-milestone::before { background: var(--accent); border-color: var(--accent); }
.tl-year { font-family: var(--font-display); font-weight: 900; font-size: 21px; color: var(--blue); }
.tl-item ul { margin: 8px 0 0; padding-left: 20px; font-size: 14.5px; color: var(--fg); }
.tl-item li { color: var(--muted); }
.tl-item li strong { color: var(--fg); font-weight: 700; }

/* ─── offices / network ────────────────────────────────────── */
.region-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.region-tab {
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--surface); font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--fg);
  transition: all .15s;
}
.region-tab:hover { border-color: var(--blue); color: var(--blue); }
.region-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.region-tab .count { font-family: var(--font-mono); font-size: 11.5px; opacity: .75; margin-left: 6px; }

.office-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; height: 100%; transition: box-shadow .15s, transform .15s; }
.office-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.office-card .oc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.office-card h3 { font-size: 16.5px; line-height: 1.3; }
.office-card .oc-type { font-size: 12px; color: var(--muted); margin-top: 3px; }
.office-card .oc-addr { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.office-card .oc-contact { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--border); display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.office-card .oc-contact a { color: var(--blue); font-weight: 600; }
.office-card .oc-contact a:hover { color: var(--accent); }
.office-card .oc-contact .mono { font-family: var(--font-mono); font-size: 12.5px; color: var(--fg); }
.office-card .oc-park { color: var(--blue); font-size: 12.5px; font-weight: 700; }
.region-head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; margin: 14px 0 0; }
.region-head h3 { font-size: 20px; }
.region-head .count { font-family: var(--font-mono); font-size: 13px; color: var(--muted); font-weight: 400; }
.region-head:first-child { margin-top: 0; }

.map-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 32px); box-shadow: var(--shadow-card); }
.map-wrap svg { width: 100%; height: auto; }
.map-tip {
  position: absolute; pointer-events: none; background: var(--blue-deep); color: #fff;
  font-size: 12.5px; font-weight: 600; padding: 8px 12px; border-radius: 8px;
  box-shadow: var(--shadow-lift); opacity: 0; transition: opacity .12s; transform: translate(-50%, -130%);
  white-space: nowrap; z-index: 5;
}
.map-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* ─── real-map rendering (Natural Earth SVG) ─────────────── */
.vn-map .map-land { font: 700 18px var(--font-mono); fill: var(--muted); letter-spacing: .12em; }
.vn-map .map-isle { font: 700 15px var(--font-mono); fill: var(--muted); letter-spacing: .1em; }
.vn-map .map-sea  { font: 600 14px var(--font-mono); fill: var(--muted); opacity: .55; letter-spacing: .2em; font-style: italic; }
.world-map .map-land   { font: 700 2px var(--font-mono); fill: var(--muted); opacity: .7; letter-spacing: .1em; }
.world-map .map-port-o { font: 700 1.9px var(--font-mono); fill: var(--accent); letter-spacing: .05em; }
.world-map .map-port-d { font: 600 1.8px var(--font-mono); fill: var(--muted); letter-spacing: .04em; }
.map-grat line { stroke: var(--border); stroke-width: 1.2; }
.map-links .map-link { stroke: var(--muted); stroke-width: 1; opacity: .5; transition: opacity .15s ease; }
.route-arc   { fill: none; stroke: var(--blue); stroke-width: .45; opacity: .5; }
.route-arrow { fill: var(--blue); }
.route-orig  { fill: var(--accent); stroke: #fff; stroke-width: .55; }
.route-dest  { fill: var(--blue); stroke: #fff; stroke-width: .45; }
[data-map-dot] { cursor: pointer; transition: opacity .15s ease; }
[data-map-dot].dim, .map-link.dim { opacity: .15; }
.map-scroll { overflow-x: auto; }
.map-scroll svg.world-map { min-width: 620px; }

/* ─── customers / networks strips ──────────────────────────── */
.logo-wall {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.logo-cell { background: var(--surface); aspect-ratio: 3/2; display: grid; place-items: center; padding: 18px; }
.logo-cell img { max-height: 44px; max-width: 82%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .2s, opacity .2s; }
.logo-cell:hover img { filter: none; opacity: 1; }
.logo-cell--text { font-family: var(--font-display); font-weight: 900; font-size: 15px; letter-spacing: .02em; color: var(--muted); text-align: center; }

.net-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; padding: 8px 0; }
.net-strip img { height: 44px; width: auto; filter: grayscale(1); opacity: .8; }
.net-strip img:hover { filter: none; opacity: 1; }
.net-badge {
  font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--blue);
  border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 18px; background: var(--surface);
}

/* ─── news / careers ───────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }
@media (max-width: 920px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
a.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.news-card .nc-img { aspect-ratio: 16/10; background: var(--blue-mist); overflow: hidden; }
.news-card .nc-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card .nc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card time { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.news-card h3 { font-size: 16.5px; line-height: 1.35; }
.news-card h3 a:hover { color: var(--blue); }
.news-card .nc-type { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

.job-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 28px; margin-bottom: 16px; }
.job-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.job-head h3 { font-size: 19px; }
.job-meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin: 10px 0 14px; }
.job-meta span { display: inline-flex; align-items: center; gap: 7px; }
.job-meta svg { width: 15px; height: 15px; color: var(--blue); }
.job-desc { font-size: 14.5px; color: var(--fg); }
.job-desc h4 { font-size: 14px; margin: 16px 0 6px; color: var(--blue-deep); }
.job-desc ul { font-size: 14px; color: var(--muted); }
.job-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); flex-wrap: wrap; }

/* ─── misc ─────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-xl); align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.split-41 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap-xl); align-items: start; }
.split-14 { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap-xl); align-items: start; }
.grid-2-1 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.grid-1-16 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
@media (max-width: 920px) { .split-41, .split-14, .grid-2-1, .grid-1-16 { grid-template-columns: 1fr; } }
.img-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mosaic .mosaic-cell { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--blue-mist); }
.mosaic .mosaic-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mosaic .mosaic-cell:hover img { transform: scale(1.05); }
.mosaic .mosaic-cell.wide { grid-column: span 2; aspect-ratio: 2/1; }
@media (max-width: 720px) { .mosaic { grid-template-columns: repeat(2, 1fr); } .mosaic .mosaic-cell.wide { grid-column: span 2; } }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 15px; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-mist); color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23043c91' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.check-list li strong { color: var(--fg); font-weight: 700; }

.step-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-md); counter-reset: step; }
@media (max-width: 920px) { .step-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .step-row { grid-template-columns: 1fr; } }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px 22px; position: relative;
}
.step .step-num {
  font-family: var(--font-display); font-weight: 900; font-size: 30px; color: var(--blue);
  line-height: 1; margin-bottom: 12px;
}
.step h4 { margin-bottom: 6px; font-size: 15.5px; }
.step p { font-size: 13.5px; color: var(--muted); margin: 0; }

.quote-block {
  border-left: 4px solid var(--accent); padding: 8px 0 8px 28px;
  font-family: var(--font-display); font-size: clamp(19px, 2vw, 24px); font-weight: 700;
  line-height: 1.45; color: var(--blue-deep); max-width: 56ch;
}
.quote-block footer { margin-top: 14px; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted); }

.avatar-mono {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--blue); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 30px; letter-spacing: .02em;
}
.leader-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; }
.leader-card h3 { font-size: 17px; }
.leader-card .role { color: var(--blue); font-weight: 700; font-size: 13.5px; margin-top: 4px; }
.leader-card p { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ─── CTA band ─────────────────────────────────────────────── */
.cta-band { background: var(--blue-deep); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; inset: 0; opacity: .4;
  background-image: radial-gradient(color-mix(in oklch, #fff 8%, transparent) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c4d3ec; max-width: 54ch; margin: 14px auto 30px; }
.cta-band .hero-cta { justify-content: center; }

/* ─── footer ───────────────────────────────────────────────── */
.site-footer { background: var(--blue-deep); color: #a9bde0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 40px; padding-block: 60px 44px; }
.footer-brand img { width: 180px; height: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 34ch; }
.site-footer .foot-h { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #a9bde0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
.footer-social { display: flex; gap: 6px; margin-top: 18px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; color: #a9bde0; transition: background-color .15s ease, color .15s ease; }
.footer-social a:hover { background: color-mix(in oklch, #fff 10%, transparent); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }
.footer-contact li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.5; margin-bottom: 16px; }
.footer-contact li:last-child { margin-bottom: 0; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: #93a9d8; }
.footer-contact strong { color: #fff; }
.footer-bottom { border-top: 1px solid color-mix(in oklch, #fff 14%, transparent); padding-block: 20px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #93a9d8; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 40px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

@media (min-width: 921px) and (max-width: 960px) {
  .main-nav { display: none; }
  .header-cta { margin-left: auto; }
  .burger { display: inline-flex; }
}

/* ─── reveal on scroll ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ─── utility ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack-8 > * + * { margin-top: 8px; } .stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; } .stack-32 > * + * { margin-top: 32px; }
.stack-48 > * + * { margin-top: 48px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hide-mobile { }
@media (max-width: 920px) {
  .main-nav { display: none; }
  .header-cta { margin-left: auto; }
  .burger { display: inline-flex; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-inner { padding-block: clamp(48px, 12vw, 72px); }
}
@media (max-width: 720px) {
  .map-scroll svg.world-map { min-width: 560px; }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .stats-band { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero .eyebrow { font-size: 11.5px; letter-spacing: .08em; }
  .hero .lead { font-size: 17px; }
  .hero-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-badge { justify-content: center; padding: 8px; gap: 6px; font-size: 12px; line-height: 1.35; border-radius: var(--radius); }
  .hero-badge svg { width: 13px; height: 13px; }
  .input, .select, .textarea { font-size: 16px; }
  .btn { min-height: 44px; }
  [data-map-dot] { r: 10px; }
  .hide-mobile { display: none; }
}
