/* ============================================================
   UBUK B2C — Site stylesheet
   Giá trị màu/khoảng cách/bo góc trích CHÍNH XÁC từ file export
   Claude Design (design-src/home.reference.html + pages/*.html) —
   không dùng số liệu ước lượng từ ảnh chụp màn hình.
   ============================================================ */
@import url('tokens.css');

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; color: var(--mkt-heading); line-height: var(--lh-tight); font-weight: var(--fw-bold); }
p { margin: 0 0 var(--space-6); }
a { color: var(--mkt-eyebrow); text-decoration: none; }
a:hover { color: var(--brand-hover); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }
::selection { background: #cdebc1; }

/* ---------- Page wrapper (tràn hết chiều rộng màn hình, nội dung bên trong tự căn giữa qua --mkt-content-max) ---------- */
.ubk-page { width: 100%; background: #fff; overflow: hidden; }
.ubk-container { max-width: var(--mkt-content-max); margin: 0 auto; padding: 0 var(--pad-x); }
.text-brand { color: var(--brand); }
.text-price { color: var(--text-price); }
.eyebrow { font-size: 13px; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--mkt-eyebrow); }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: var(--radius-sm); }

/* ---------- Buttons (dùng cho nội dung trang, không phải header) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: 15px; font-weight: var(--fw-bold);
  padding: 12px 24px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  transition: background var(--dur-base) var(--ease-standard), color var(--dur-base), border-color var(--dur-base), transform var(--dur-fast);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(112,190,84,.38); }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-outline { background: #fff; color: var(--mkt-eyebrow); border-color: var(--brand); }
.btn-outline:hover { background: var(--green-50); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--green-50); }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Utility strip (topbar trên các trang con — KHÔNG dùng ở trang chủ) ---------- */
.topbar { background: var(--mkt-topbar-bg); color: var(--mkt-topbar-fg); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 9px var(--pad-x); }
.topbar-left { display: flex; align-items: center; gap: 22px; }
.topbar-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-left svg { stroke: var(--mkt-topbar-accent); flex: none; }
.topbar strong { color: var(--mkt-topbar-accent); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; background: #ffffff1a; border-radius: 9999px; padding: 2px; }
.lang-switch a { border: 0; font-family: inherit; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 9999px; color: var(--mkt-topbar-fg); }
.lang-switch a.active { background: var(--brand); color: #fff; }
.cur-select { color: var(--mkt-topbar-fg); font-weight: 700; }
@media (max-width: 560px) { .topbar-left .hide-sm { display: none; } }

/* ---------- Header (trang con — nav trắng + 2 nút CTA bo góc 8px) ---------- */
.site-header { background: #fff; border-bottom: 1px solid #eee; }
.site-header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 16px var(--pad-x); gap: var(--space-9); }
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { height: 34px; display: block; }
.brand-logo .brand-name { font-size: 22px; font-weight: var(--fw-extra); color: var(--brand); letter-spacing: -0.02em; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.main-nav a { color: #444; }
.main-nav a.active { color: #222; font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.hdr-btn { font-size: 14px; border-radius: 8px; white-space: nowrap; }
.hdr-btn-outline { font-weight: 600; color: #444; padding: 10px 16px; border: 1px solid #ddd; background: #fff; }
.hdr-btn-outline:hover { border-color: var(--brand); color: var(--brand-pressed); }
.hdr-btn-primary { font-weight: 700; color: #fff; background: var(--brand); padding: 11px 22px; box-shadow: 0 2px 8px rgba(112,190,84,.4); }
.hdr-btn-primary:hover { background: var(--brand-hover); color: #fff; }
.hdr-account-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #ddd; border-radius: 9999px; padding: 5px 10px 5px 5px; cursor: pointer; }
.hdr-account-chip:hover { border-color: var(--brand); }
.hdr-account-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.hdr-account-name { font-size: 14px; font-weight: 700; color: #22381f; white-space: nowrap; }
@media (max-width: 560px) { .hdr-account-name { display: none; } }
button.hdr-btn, .hdr-account-chip { font-family: inherit; cursor: pointer; }
/* .home-account-chip / .hdr-account-chip khai báo display: inline-flex nên đè mất
   display:none mặc định của thuộc tính [hidden] — phải chỉ định lại tường minh. */
.home-account-chip[hidden], .hdr-account-chip[hidden] { display: none; }

/* Menu di động dạng checkbox-hack (không cần JS), khớp đúng bản thiết kế responsive */
.ubk-nav-cb { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.ubk-burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border-200); background: #fff; color: var(--mkt-topbar-bg); align-items: center; justify-content: center; cursor: pointer; font-size: 20px; flex: 0 0 auto; }
.ubk-mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.16); padding: 10px 16px 16px; gap: 2px; z-index: 60; border-bottom: 1px solid #eee; }
.ubk-mobile-menu a { padding: 12px 10px; color: #333; font-weight: 600; border-bottom: 1px solid #f2f2f2; }
.ubk-mobile-menu .hdr-btn { margin-top: 8px; text-align: center; }
.ubk-mobile-menu .hdr-account-chip { margin-top: 8px; width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .ubk-nav-links, .ubk-nav-actions { display: none !important; }
  .ubk-burger { display: inline-flex !important; }
  .ubk-nav-cb:checked ~ .ubk-mobile-menu { display: flex !important; }
}

/* ============================================================
   TRANG CHỦ — header trong suốt nhúng trong hero (KHÁC hoàn
   toàn header trang con: chỉ Đăng nhập, không topbar, không CTA)
   ============================================================ */
/* margin-bottom chừa chỗ cho search-card nhô ra khỏi hero (transform:translateY(56px))
   — đặt ở đây (không phải trên section theo sau) để không phụ thuộc nội dung kế tiếp là gì */
.home-hero-wrap { position: relative; min-height: 360px; background: #204a3a; margin-bottom: 104px; }
.home-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,40,60,.34) 0%, rgba(12,40,60,.08) 42%, rgba(10,30,20,.5) 100%); }

.home-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; }
.home-header-left { display: flex; align-items: center; gap: 26px; min-width: 0; }
.home-header-left img { height: 34px; display: block; flex: 0 0 auto; }
.home-nav { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 600; flex: 0 0 auto; white-space: nowrap; }
.home-nav a { color: #e6f3e0; }
.home-nav a.active { color: #fff; }
.home-header-right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.home-support { display: flex; align-items: center; gap: 11px; margin-right: 6px; }
.home-support-icon-wrap { position: relative; flex: 0 0 auto; }
.home-support-icon { width: 44px; height: 44px; border-radius: 50%; background: #ff6b35; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(255,107,53,.4); }
.home-support-badge { position: absolute; top: -6px; left: -8px; background: #e53935; color: #fff; font-size: 9px; font-weight: 800; line-height: 1; padding: 3px 5px; border-radius: 9999px; box-shadow: 0 2px 5px rgba(0,0,0,.25); }
.home-support-text { line-height: 1.35; }
.home-support-title { font-size: 14px; font-weight: 700; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.4); white-space: nowrap; }
.home-support-title span { color: #ff5a4d; }
.home-support-hours { font-size: 13px; font-weight: 600; color: #eafaf3; text-shadow: 0 1px 6px rgba(0,0,0,.4); white-space: nowrap; }
.home-lang-pill { display: inline-flex; background: #ffffff2e; border-radius: 9999px; padding: 2px; }
.home-lang-pill a { border: 0; font-family: inherit; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 9999px; color: #cfe3c6; }
.home-lang-pill a.active { background: var(--brand); color: #fff; }
.home-login-btn { font-size: 14px; font-weight: 700; color: #22381f; background: #fff; border: none; padding: 11px 22px; border-radius: 9999px; cursor: pointer; }
.home-account-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: none; border-radius: 9999px; padding: 5px 10px 5px 5px; cursor: pointer; }
.home-account-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.home-account-name { font-size: 14px; font-weight: 700; color: #22381f; white-space: nowrap; }
@media (max-width: 560px) { .home-account-name { display: none; } }

/* Menu di động cho header trang chủ (checkbox-hack, khớp burger tròn trắng
   nổi trên ảnh hero trong bản thiết kế mobile) */
.home-nav-cb { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.home-burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: none; background: #fff; color: #22381f; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; flex: 0 0 auto; }
.home-mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.16); padding: 10px 16px 16px; gap: 2px; z-index: 60; }
.home-mobile-menu a { padding: 12px 10px; color: #333; font-weight: 600; border-bottom: 1px solid #f2f2f2; }
@media (max-width: 992px) {
  .home-nav { display: none; }
  .home-support { display: none; }
  .home-burger { display: inline-flex; }
  .home-nav-cb:checked ~ .home-mobile-menu { display: flex; }
}

/* ---------- Search card: nút AI + panel nâng cao (đại lý) ---------- */
.search-card-tabrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.ai-btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(120deg, var(--ai-purple-grad-from), var(--ai-purple-grad-to)); color: #fff; border: none; font-family: inherit; font-size: 14px; font-weight: 700; padding: 10px 18px; border-radius: 9999px; cursor: pointer; box-shadow: 0 4px 12px rgba(123,95,224,.38); }
.field-clickable { cursor: pointer; }
.adv-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; }
.adv-hd { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--mkt-eyebrow); text-transform: uppercase; }
.adv-arrow { transition: transform .28s ease; flex: 0 0 auto; }
.adv-wrap { margin-top: 16px; padding-top: 16px; border-top: 1px dashed #dcdcdc; }
.adv-panel { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .28s ease, opacity .28s ease; }
.adv-panel.open { max-height: 90px; opacity: 1; }
.adv-panel-inner { display: flex; align-items: center; gap: 14px; padding-top: 14px; }
.adv-panel-inner label { flex: 0 0 auto; font-size: 14px; font-weight: 600; color: #444; }
.adv-panel-inner input { flex: 1; min-width: 0; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--mkt-eyebrow); padding: 12px 15px; border: 1px solid #ddd; border-radius: 10px; outline: none; }
.adv-panel-inner input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(112,190,84,.15); }

/* ---------- Modal chung (picker / hành khách / lịch / AI / đăng xuất) ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 210; background: rgba(20,30,20,.45); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-overlay.modal-overlay-ai { background: rgba(20,20,40,.5); }
.modal-card { background: #fff; border-radius: 16px; box-shadow: 0 24px 64px rgba(0,0,0,.3); width: 100%; }

/* logout */
.modal-logout { max-width: 390px; padding: 30px 28px; text-align: center; }
.modal-logout-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-50); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.modal-logout h3 { font-size: 20px; font-weight: 800; color: var(--mkt-heading); margin-bottom: 8px; }
.modal-logout p { font-size: 14px; line-height: 1.55; color: var(--mkt-body); margin-bottom: 24px; }
.modal-logout-actions { display: flex; gap: 12px; }
.modal-logout-actions button { flex: 1; font-family: inherit; font-size: 15px; font-weight: 700; border-radius: 10px; padding: 12px; cursor: pointer; }
.btn-modal-cancel { color: #444; background: #fff; border: 1px solid #ddd; }
.btn-modal-confirm { color: #fff; background: var(--brand); border: none; box-shadow: 0 4px 12px rgba(112,190,84,.35); }

/* city/airport picker */
.modal-picker { max-width: 940px; overflow: hidden; }
.picker-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid #eee; }
.picker-head-title { font-size: 18px; font-weight: 800; color: var(--mkt-eyebrow); }
.picker-close { background: none; border: none; color: var(--mkt-eyebrow); font-size: 15px; font-weight: 700; cursor: pointer; }
.picker-tabs { display: flex; gap: 4px; padding: 0 20px; border-bottom: 1px solid #eee; overflow-x: auto; }
.picker-tabs button { border: none; background: transparent; font-family: inherit; font-size: 15px; font-weight: 600; padding: 12px 14px; color: #666; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.picker-tabs button.active { font-weight: 700; color: var(--mkt-heading); border-bottom-color: var(--brand); }
.picker-body { padding: 20px 24px; max-height: 54vh; overflow-y: auto; }
.picker-groups { column-count: 3; column-gap: 28px; }
@media (max-width: 700px) { .picker-groups { column-count: 1; } }
.picker-group { margin-bottom: 18px; }
.picker-group-label { background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 6px; margin-bottom: 8px; break-inside: avoid; }
.picker-item { display: block; width: 100%; text-align: left; background: none; border: none; font-family: inherit; font-size: 15px; color: #333; padding: 8px 12px; border-radius: 6px; cursor: pointer; }
.picker-item:hover { background: var(--green-50); color: var(--mkt-eyebrow); }
.picker-loading { padding: 24px; text-align: center; color: #999; font-size: 14px; }

/* dropdown gợi ý sân bay khi gõ trực tiếp vào điểm đi/điểm đến */
.autocomplete-dropdown { position: fixed; background: #fff; border: 1px solid #ddd; border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.18); z-index: 300; max-width: 500px; min-width: 320px; max-height: 320px; overflow: hidden; }
.autocomplete-list { max-height: 320px; overflow-y: auto; }
.autocomplete-item { padding: 10px 14px; cursor: pointer; font-size: 14px; color: #333; border-bottom: 1px solid #f0f0f0; }
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background: var(--green-50); }
.autocomplete-item-code { font-weight: 700; color: var(--mkt-heading); }
.autocomplete-item-details { color: #666; }

/* hành khách */
.modal-pax { max-width: 470px; padding: 26px 28px; }
.modal-pax h3 { font-size: 18px; font-weight: 800; color: var(--mkt-heading); margin-bottom: 20px; }
.pax-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pax-row .pax-label { font-size: 16px; font-weight: 700; color: var(--mkt-heading); }
.pax-row .pax-sub { font-size: 12px; color: #999; }
.pax-stepper { display: flex; align-items: center; border: 1px solid var(--border-200); border-radius: 10px; overflow: hidden; }
.pax-stepper button { width: 40px; height: 40px; border: none; background: #f3f3f5; color: #333; font-size: 20px; font-weight: 700; cursor: pointer; }
.pax-stepper button.pax-inc { color: var(--brand-hover); }
.pax-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.pax-stepper span { width: 48px; text-align: center; font-weight: 700; font-size: 16px; color: #222; }
.pax-cabins { border-top: 1px solid #eee; padding-top: 18px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.pax-cabin { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.pax-cabin-box { width: 26px; height: 26px; border-radius: 6px; border: 2px solid #bbb; background: #fff; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; flex: 0 0 auto; }
.pax-cabin-box.checked { border: none; background: var(--brand); }
.pax-cabin-label { font-size: 15px; font-weight: 700; color: var(--mkt-heading); }
.modal-pax-footer { display: flex; justify-content: flex-end; }

/* lịch */
.modal-calendar { max-width: 440px; padding: 22px 24px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-nav { width: 36px; height: 36px; border: 1px solid var(--border-200); background: #fff; border-radius: 9999px; color: var(--mkt-eyebrow); font-size: 18px; font-weight: 700; cursor: pointer; }
.cal-title { font-size: 17px; font-weight: 800; color: var(--mkt-heading); }
.cal-dow { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; margin-bottom: 6px; text-align: center; font-size: 13px; font-weight: 700; color: #888; }
.cal-dow .weekend { color: var(--price-red); }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.cal-cell { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; border: none; border-radius: 8px; background: transparent; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 15px; color: #222; }
.cal-cell.blank { cursor: default; }
.cal-cell.weekend { color: var(--price-red); }
.cal-cell.selected { background: #5b1e8c; color: #fff; }
.cal-cell.disabled { opacity: .3; cursor: not-allowed; }
.cal-cell .cal-price { font-size: 10px; font-weight: 600; opacity: .6; }

/* AI */
.modal-ai { max-width: 640px; overflow: hidden; }
.ai-head { background: linear-gradient(120deg, var(--ai-purple-grad-from), var(--ai-purple-grad-to)); padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; }
.ai-head-title { font-size: 19px; font-weight: 800; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.ai-head-right { display: flex; align-items: center; gap: 12px; }
.ai-badge { background: #ffffff33; color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 9999px; }
.ai-close { background: none; border: none; color: #fff; cursor: pointer; font-size: 20px; line-height: 1; }
.ai-body { padding: 24px; }
.ai-lead { font-size: 17px; font-weight: 800; color: #5b3fd0; margin-bottom: 6px; }
.ai-desc { font-size: 14px; color: #555; margin-bottom: 16px; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ai-chip { background: var(--ai-purple-50); color: #5b3fd0; border: none; font-family: inherit; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 9999px; cursor: pointer; }
.ai-textarea { width: 100%; min-height: 130px; font-family: inherit; font-size: 15px; line-height: 1.6; color: #222; padding: 14px 16px; border: 2px solid #b9a7f0; border-radius: 12px; outline: none; resize: vertical; }
.ai-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; }
.btn-ai-cancel { background: #f3f3f5; border: none; font-family: inherit; font-size: 15px; font-weight: 700; color: #444; padding: 12px 24px; border-radius: 10px; cursor: pointer; }
.btn-ai-submit { background: linear-gradient(120deg, var(--ai-purple-grad-from), var(--ai-purple-grad-to)); border: none; font-family: inherit; font-size: 15px; font-weight: 700; color: #fff; padding: 12px 26px; border-radius: 10px; cursor: pointer; white-space: nowrap; box-shadow: 0 6px 16px rgba(123,95,224,.4); }

.home-hero-copy { position: relative; max-width: var(--mkt-content-max); margin: 0 auto; padding: 8px var(--pad-x) 0; text-align: center; }
.home-hero-copy h1 { font-size: 54px; line-height: 1.08; font-weight: 800; color: #fff; letter-spacing: -.02em; margin: 0 0 8px; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.home-hero-copy p { font-size: 18px; color: #eafaf3; max-width: 560px; margin: 0 auto; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
@media (max-width: 760px) { .home-hero-copy h1 { font-size: 34px; } }

.home-search-wrap { position: relative; max-width: 1000px; margin: 4px auto 0; padding: 0 var(--pad-x); }
.search-card { background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(10,30,20,.32); padding: 22px 24px; transform: translateY(56px); }
.trip-tabs { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.trip-tabs button { border: 0; font-family: inherit; font-size: 15px; font-weight: 700; padding: 10px 22px; border-radius: 9999px; cursor: pointer; background: transparent; color: #5a6a55; }
.trip-tabs button.active { background: #fff; color: #1c2b18; box-shadow: 0 2px 6px rgba(20,40,20,.12); }
.search-fields { display: grid; grid-template-columns: 1fr 48px 1fr; gap: 12px; margin-bottom: 12px; }
.search-fields.search-fields-row2 { grid-template-columns: 1fr 1fr 1fr 1.2fr; margin-bottom: 0; }
/* Một chiều: field ngày về bị display:none nên chỉ còn 3 ô — field ngày đi giãn ra lấp chỗ trống của ngày về. */
.search-fields.search-fields-row2.oneway { grid-template-columns: 2fr 1fr 1.2fr; }
.field { border: 1px solid #ddd; border-radius: 12px; padding: 12px 16px; min-width: 0; }
.field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #888; }
.field .field-val, .field input, .field select { width: 100%; border: 0; background: transparent; font: inherit; font-size: 19px; font-weight: 700; color: #222; margin-top: 3px; padding: 0; }
.field .field-sub { font-size: 12px; color: #888; }
.field-return .field-val, .field-return input { font-size: 18px; }
.field input:focus, .field select:focus { outline: none; }
.swap-col { display: flex; align-items: center; justify-content: center; }
.swap-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #cfe3c6; background: var(--green-50); color: var(--mkt-eyebrow); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.btn-search { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--brand); color: #fff; border: none; font-size: 17px; font-weight: 700; border-radius: 12px; cursor: pointer; box-shadow: 0 6px 16px rgba(112,190,84,.4); padding: 0 20px; }
.btn-search:hover { background: var(--brand-hover); }
@media (max-width: 900px) {
  .search-fields, .search-fields.search-fields-row2 { grid-template-columns: 1fr 1fr; }
  .swap-col { display: none; }
  .btn-search { grid-column: 1 / -1; padding: 14px; }
}
@media (max-width: 560px) {
  .search-fields, .search-fields.search-fields-row2 { grid-template-columns: 1fr; }
  /* Ở 1 cột, nút đổi chiều nằm giữa Điểm đi/Điểm đến như trong thiết kế mobile */
  .swap-col { display: flex; }
}


/* ---------- Sections (trang con dùng .ubk-container, marketing dùng padding trực tiếp) ---------- */
.section { padding: 50px 0; }
.section-tight { padding: 40px 0; }
.section-mkt { padding: 44px var(--pad-x); max-width: var(--mkt-content-max); margin: 0 auto; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-8); margin-bottom: 24px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 { font-size: 34px; font-weight: 800; color: var(--mkt-heading); }
.section-head .eyebrow { margin-bottom: 8px; }
.section-head p { color: var(--mkt-body); margin: 8px 0 0; max-width: 52ch; }
.link-more { color: var(--mkt-eyebrow); font-weight: 700; font-size: 15px; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* ---------- Promotion cards: full-photo overlay (giống Home & trang Khuyến mãi) ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 992px) { .promo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .promo-grid { grid-template-columns: 1fr; } }
.promo-card { position: relative; height: 300px; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg,#4a97c9,#2a6f9e); cursor: pointer; transition: transform .2s, box-shadow .2s; display: block; }
.promo-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(20,40,20,.2); }
.promo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 30%, rgba(0,20,10,.82) 100%); }
.promo-badge { position: absolute; top: 14px; left: 14px; }
.promo-badge span { color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 9999px; white-space: nowrap; }
.promo-info { position: absolute; left: 18px; right: 18px; bottom: 18px; color: #fff; }
.promo-route-row { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; margin-bottom: 6px; }
.promo-when { font-size: 14px; color: #e6f3e0; margin-bottom: 12px; }
.promo-price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.promo-price-row .from { font-size: 12px; color: #cfe3c6; }
.promo-price-row .num { font-size: 23px; font-weight: 800; color: #fff; }
.promo-cta { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; background: #fff; color: #1c2b18; font-size: 14px; font-weight: 700; padding: 10px 18px; border-radius: 9999px; }

/* ---------- Why choose ---------- */
.why-section { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { border: 1px solid var(--border-200); border-radius: 14px; padding: 24px; background: #fff; transition: box-shadow .2s; }
.why-item:hover { box-shadow: 0 12px 28px rgba(20,40,20,.1); }
.why-item .why-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--green-150); color: var(--green-600); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.why-item .why-ic svg { width: 24px; height: 24px; }
.why-item h3 { font-size: 17px; font-weight: 700; color: var(--mkt-heading); margin-bottom: 6px; }
.why-item p { font-size: 14px; line-height: 1.55; color: var(--mkt-body); margin: 0; }

/* ---------- Partners strip ---------- */
.partners { padding: 36px var(--pad-x); background: #f7fcf5; border-top: 1px solid #edf3ea; border-bottom: 1px solid #edf3ea; }
.partners-inner { max-width: var(--mkt-content-max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.partners-label { font-size: 15px; font-weight: 700; color: var(--mkt-heading); white-space: nowrap; }
.partners-logos { flex: 1; display: flex; align-items: center; justify-content: space-around; gap: 20px; flex-wrap: wrap; }
.partners-logos img { height: 46px; object-fit: contain; }
.partners-logos--scroll { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.partners-logos--scroll a, .partners-logos--scroll img { flex: 0 0 auto; }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: #fff; border: 1px solid var(--border-200); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.blog-card:hover { box-shadow: 0 12px 28px rgba(20,40,20,.12); transform: translateY(-3px); }
.blog-media { height: 180px; overflow: hidden; background: repeating-linear-gradient(45deg,#f3f7f1,#f3f7f1 12px,#eef4ec 12px,#eef4ec 24px); background-size: cover; background-position: center; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 18px; }
.cat-pill { display: inline-block; background: var(--green-100); color: var(--mkt-eyebrow); font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 9999px; margin-bottom: 10px; }
.blog-card h3 { font-size: 17px; font-weight: 700; color: var(--mkt-heading); line-height: 1.3; }
.blog-card .excerpt { font-size: 14px; color: var(--mkt-body); margin: 8px 0 0; }
.blog-meta { margin-top: 10px; font-size: 12px; color: #999; display: flex; gap: 12px; }

/* ---------- Contact / CTA band (dải liên hệ xanh gradient) ---------- */
.cta-band { background: linear-gradient(120deg,#5da843,#70be54); padding: 34px var(--pad-x); }
.cta-band-inner { max-width: var(--mkt-content-max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
@media (max-width: 560px) { .cta-band-inner { flex-direction: column; align-items: flex-start; } }
.cta-band h2 { color: #fff; font-size: 22px; font-weight: 800; margin: 0; }
.cta-band p { color: #eafbe3; margin: 4px 0 0; font-size: 15px; font-weight: 400; }
.cta-contacts { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-chip { display: flex; align-items: center; gap: 10px; background: #ffffff24; border: 1px solid #ffffff4d; border-radius: 12px; padding: 12px 18px; color: #fff; }
.cta-chip .cta-chip-label { font-size: 11px; color: #eafbe3; }
.cta-chip .cta-chip-value { font-size: 17px; font-weight: 800; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-footer); color: #c5c5c5; position: relative; overflow: hidden; }
.site-footer a { color: #c5c5c5; }
.site-footer a:hover { color: var(--brand); }
.footer-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .14; }
.footer-main { position: relative; max-width: var(--mkt-content-max); margin: 0 auto; padding: 52px var(--pad-x) 28px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }
.site-footer .brand-logo img { height: 42px; margin-bottom: 16px; }
.footer-about { font-size: 13px; line-height: 1.9; color: #b9b9b9; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; list-style: none; }
.footer-col ul a { font-size: 14px; }
.pay-logos-label { font-size: 12px; color: #8f8f8f; margin-bottom: 10px; }
.pay-logos { display: flex; gap: 8px; align-items: center; }
.pay-logos span { background: #fff; border-radius: 6px; padding: 5px 8px; display: inline-flex; }
.pay-logos img { height: 18px; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a { width: 34px; height: 34px; border-radius: 9999px; background: #ffffff1a; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
.footer-socials a:hover { background: var(--brand); color: #fff; }
.footer-bottom { position: relative; border-top: 1px solid #ffffff1a; max-width: var(--mkt-content-max); margin: 0 auto; padding: 16px var(--pad-x); font-size: 12px; color: #8f8f8f; }
/* footer rút gọn (trang lỗi 404/500) */
.footer-compact { background: var(--surface-footer); padding: 20px var(--pad-x); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-compact img { height: 30px; }
.footer-compact .copyright { font-size: 12px; color: #8f8f8f; }

/* ---------- Page band (breadcrumb + tiêu đề trang con) ---------- */
.page-hero { background: linear-gradient(180deg,#f0f9f4,#f7fcf5); border-bottom: 1px solid #edf3ea; padding: 40px var(--pad-x) 44px; }
.page-hero.center { text-align: center; }
.page-hero-inner { max-width: var(--mkt-content-max); margin: 0 auto; }
.breadcrumb { font-size: 13px; color: #888; margin-bottom: 14px; }
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: var(--mkt-eyebrow); }
.breadcrumb .sep { color: #ccc; margin: 0 4px; }
.breadcrumb .current { color: var(--mkt-eyebrow); }
.page-hero h1 { font-size: 38px; line-height: 1.15; font-weight: 800; color: var(--mkt-heading); letter-spacing: -.02em; margin: 0 0 10px; }
.page-hero .page-sub { margin: 0 auto; max-width: 60ch; color: var(--mkt-body); font-size: 16px; }
.page-hero.center .page-sub { margin-left: auto; margin-right: auto; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 36px var(--pad-x) 8px; max-width: var(--mkt-content-max); margin: 0 auto; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }
.info-card { background: #fff; border: 1px solid var(--border-200); border-radius: 14px; padding: 22px; display: flex; gap: 16px; align-items: flex-start; transition: box-shadow .2s; }
.info-card:hover { box-shadow: 0 10px 26px rgba(20,40,20,.1); }
.info-card .info-ic { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--green-150); color: var(--green-600); display: flex; align-items: center; justify-content: center; }
.info-card .info-title { font-size: 16px; font-weight: 700; color: var(--mkt-heading); }
.info-card .info-value { font-size: 18px; font-weight: 800; color: var(--mkt-eyebrow); margin: 2px 0; }
.info-card .info-note { font-size: 13px; color: #888; }
.contact-grid { display: grid; grid-template-columns: 1.35fr .95fr; gap: 28px; align-items: start; max-width: var(--mkt-content-max); margin: 0 auto; padding: 28px var(--pad-x) 8px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--border-200); border-radius: 16px; padding: 30px 32px; }
.panel h2 { font-size: 24px; font-weight: 800; color: var(--mkt-heading); margin: 0 0 6px; }
.panel .panel-sub { font-size: 14px; color: #666; margin: 0 0 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: #444; margin-bottom: 7px; }
.form-group .req { color: var(--price-red); }
.form-control { width: 100%; font: inherit; font-size: 15px; color: #222; padding: 13px 15px; border: 1px solid #ddd; border-radius: 10px; outline: none; background: #fff; transition: border-color .15s, box-shadow .15s; }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(112,190,84,.18); }
.form-control::placeholder { color: #aaa; }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #666; margin-bottom: 20px; cursor: pointer; }
.form-consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--brand); }
.company-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 14px; color: #444; line-height: 1.5; }
.company-line svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 2px; }
.map-embed { border: 1px solid var(--border-200); border-radius: 16px; overflow: hidden; }
.map-embed .map-placeholder { height: 220px; background: #eef2ef; position: relative; display: flex; align-items: center; justify-content: center; }
.map-embed .map-placeholder::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#e2e8e0 1px, transparent 1px), linear-gradient(90deg, #e2e8e0 1px, transparent 1px); background-size: 28px 28px; opacity: .7; }
.map-embed .map-caption { position: relative; text-align: center; color: #8aa07f; font-size: 13px; font-weight: 600; margin-top: 6px; }
.map-embed .map-link { display: block; text-align: center; padding: 13px; font-size: 14px; font-weight: 700; color: var(--mkt-eyebrow); background: #fff; border-top: 1px solid #eee; }
.map-embed iframe { width: 100%; border: 0; display: block; aspect-ratio: 16/10; }

/* ---------- Static page (Điều khoản...) with TOC ---------- */
.doc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 44px; align-items: start; max-width: var(--mkt-content-max); margin: 0 auto; padding: 36px var(--pad-x) 8px; }
.doc-layout.no-toc { grid-template-columns: 1fr; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; } .doc-toc { display: none; } }
.doc-toc { position: sticky; top: 24px; }
.doc-toc .toc-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #888; margin-bottom: 14px; }
.doc-toc ul { list-style: none; display: flex; flex-direction: column; gap: 2px; border-left: 2px solid #edf3ea; padding-left: 2px; }
.doc-toc a { display: block; font-size: 14px; color: #666; padding: 7px 14px; border-left: 2px solid transparent; margin-left: -2px; }
.doc-toc a:hover, .doc-toc a.active { color: #444; border-left-color: var(--brand); background: var(--green-50); border-radius: 0 6px 6px 0; font-weight: 600; }
.doc-alert { background: #fff9e6; border: 1px solid #ffe8a3; border-radius: 12px; padding: 16px 20px; margin-bottom: 28px; display: flex; gap: 12px; font-size: 14px; color: #7a5b00; }
.doc-cta { background: var(--green-50); border: 1px solid #dcefd3; border-radius: 14px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.doc-cta div { font-size: 15px; color: #2f4a2a; }

/* ---------- Article body (rich content dùng chung: blog detail + trang tĩnh) ---------- */
.article-body { color: #3a4a37; font-size: 15.5px; line-height: 1.8; }
.article-body h2 { font-size: 22px; font-weight: 800; color: var(--mkt-heading); margin: 32px 0 12px; scroll-margin-top: 20px; }
.article-body h2:first-child { margin-top: 8px; }
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--mkt-heading); margin: 24px 0 10px; }
.article-body p { margin: 0 0 14px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 20px; }
.article-body li { margin-bottom: 8px; }
.article-body img { border-radius: 14px; margin: 28px 0 10px; }
.article-body figcaption, .article-body .caption { font-size: 13px; color: #999; text-align: center; }
.article-body blockquote { margin: 28px 0; padding: 20px 26px; border-left: 4px solid var(--brand); background: var(--green-50); border-radius: 0 12px 12px 0; font-size: 19px; font-style: italic; color: #2f4a2a; }
.article-body a { color: var(--mkt-eyebrow); text-decoration: underline; }

/* article header (blog detail) */
.article-head { max-width: 820px; margin: 0 auto; padding: 40px var(--pad-x) 24px; }
.article-head h1 { font-size: 42px; line-height: 1.15; font-weight: 800; color: var(--mkt-heading); letter-spacing: -.02em; margin: 0 0 18px; }
.article-lead { font-size: 19px; line-height: 1.6; color: var(--mkt-body); margin: 0 0 24px; }
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; flex-wrap: wrap; }
.author-chip { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex: none; }
.share-row { display: flex; align-items: center; gap: 8px; }
.share-row a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-200); display: inline-flex; align-items: center; justify-content: center; color: var(--mkt-eyebrow); cursor: pointer; }
.article-cover { max-width: 980px; margin: 0 auto 8px; padding: 0 var(--pad-x); }
.article-cover .cover-media { border-radius: 18px; overflow: hidden; box-shadow: 0 20px 44px rgba(20,40,20,.14); aspect-ratio: 16/8; background: linear-gradient(135deg,#9bd0f0,#4a97c9); }
.article-cover .cover-media img { width: 100%; height: 100%; object-fit: cover; }
.article-cover .cover-caption { text-align: center; font-size: 13px; color: #999; margin-top: 10px; }
.article-wrap { max-width: 720px; margin: 0 auto; padding: 32px var(--pad-x) 8px; }
.tag-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 28px 0 8px; }
.tag-row .tag-label { font-size: 14px; color: #888; margin-right: 4px; }
.tag-row .tag { background: #f3f7f1; color: #4a5a45; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 9999px; }
.inline-cta { margin: 32px 0; background: var(--green-50); border: 1px solid #dcefd3; border-radius: 16px; padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.inline-cta-left { display: flex; align-items: center; gap: 16px; }
.inline-cta-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.author-box { max-width: 720px; margin: 24px auto 0; padding: 0 var(--pad-x); }
.author-box-inner { border: 1px solid var(--border-200); border-radius: 16px; padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
.author-box .author-avatar { width: 56px; height: 56px; font-size: 18px; }

/* ---------- Error pages ---------- */
.error-shell { min-height: 760px; display: flex; flex-direction: column; }
.error-hero { flex: 1; background: radial-gradient(circle at 50% 30%, var(--green-50), #ffffff 70%); display: flex; align-items: center; justify-content: center; padding: 56px var(--pad-x) 72px; }
.error-wrap { max-width: 640px; text-align: center; }
.error-code-wrap { position: relative; display: inline-block; margin-bottom: 14px; }
.error-code { font-size: 150px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--mkt-heading); }
.error-code .hl { color: var(--brand); }
.error-code-plane { position: absolute; right: -6px; top: 8px; animation: ubkFly 5s ease-in-out infinite; }
.error-code-dash { position: absolute; left: 50%; top: 44%; transform: translate(-50%,-50%); pointer-events: none; }
.error-code-dash path { animation: ubkDash404 6s linear infinite; }
@keyframes ubkFly { 0% { transform: translate(-10px,4px) rotate(-6deg); } 50% { transform: translate(10px,-6px) rotate(-2deg); } 100% { transform: translate(-10px,4px) rotate(-6deg); } }
@keyframes ubkDash404 { to { stroke-dashoffset: -200; } }
.error-icon-500 { position: relative; width: 150px; height: 150px; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; }
.error-icon-500 .pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--green-150); animation: ubkPulse 3s ease-in-out infinite; }
.error-icon-500 .ring { position: absolute; inset: 16px; border-radius: 50%; border: 2px dashed #b8dcac; animation: ubkSpin 14s linear infinite; }
.error-icon-500 .box { position: relative; width: 84px; height: 84px; border-radius: 22px; background: #fff; box-shadow: 0 10px 26px rgba(20,40,20,.14); display: flex; align-items: center; justify-content: center; }
.error-icon-500 .alert { position: absolute; right: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--orange-500); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(255,107,53,.4); }
@keyframes ubkPulse { 0%,100% { transform: scale(1); opacity:.55; } 50% { transform: scale(1.12); opacity:.2; } }
@keyframes ubkSpin { to { transform: rotate(360deg); } }
.error-eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--orange-500); text-transform: uppercase; margin-bottom: 10px; }
.error-title { font-size: 34px; font-weight: 800; color: var(--mkt-heading); letter-spacing: -.02em; margin: 0 0 12px; }
@media (max-width: 560px) { .page-hero h1, .article-head h1, .error-title { font-size: 28px; } }
.error-desc { font-size: 17px; line-height: 1.65; color: var(--mkt-body); margin: 0 0 30px; }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.error-links { border-top: 1px solid #edf3ea; padding-top: 24px; }
.error-links .hint { font-size: 13px; color: #888; margin-bottom: 14px; }
.error-links .quick-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.error-links .pill-link { display: inline-block; background: var(--green-50); color: #4a5a45; font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 9999px; }
.error-links .hotline-line { font-size: 13px; color: #888; margin-top: 22px; }
.error-status-line { font-size: 13px; color: #888; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.error-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); display: inline-block; }
.error-refcode { font-size: 12px; color: #bbb; margin-top: 16px; }
.error-refcode code { font-family: monospace; color: #888; }

/* ---------- Newsletter (dùng khi cần, không có ở trang chủ theo thiết kế) ---------- */
.newsletter { background: linear-gradient(135deg, var(--brand-hover), var(--brand)); color: #fff; border-radius: 16px; padding: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; padding: 24px; } }
.newsletter h2 { color: #fff; }
.newsletter p { color: #eafbe3; margin: 8px 0 0; }
.newsletter-form { display: flex; gap: 8px; background: #fff; border-radius: 10px; padding: 6px; }
.newsletter-form input { flex: 1; border: 0; background: transparent; padding: 10px 12px; font: inherit; color: var(--mkt-heading); min-width: 0; }
.newsletter-form input:focus { outline: none; }

/* ---------- Misc ---------- */
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--mkt-heading); color: #fff; padding: 10px 18px; border-radius: var(--radius-md); font-size: var(--fs-sm); z-index: 200; opacity: 0; transition: opacity var(--dur-base); }
.toast.show { opacity: 1; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
