/* HVSC shell – sinh từ proto/assets/css/main.css bởi build/tools/port_home.py (reset khoanh vùng bằng :where) */
/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: var(--lh-body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, canvas { display: block; max-width: 100%; }
svg.ph { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; vertical-align: -.125em; }
img { height: auto; }
:where(a) { color: var(--brand-ink); }
:where(.site-header,.drawer,.site-footer,.dock,.hv-ui,.hv-home) a { color: inherit; text-decoration: none; }
:where(.site-header,.drawer,.site-footer,.dock,.hv-ui,.hv-home) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
:where(.site-header,.drawer,.site-footer,.dock,.hv-ui,.hv-home) :where(ul,ol) { margin: 0; padding: 0; list-style: none; }
:where(.site-header,.drawer,.site-footer,.dock,.hv-ui,.hv-home) :where(h1,h2,h3,p,figure,blockquote) { margin: 0; }
b, strong { font-weight: 700; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }
.ph, .ph-fill { line-height: 1; }

/* Gỡ reset nút/ô nhập của Hello Elementor (#c36) trong component HVSC – đặt TRƯỚC component để class proto thắng */
:where(.hv-ui,.hv-home,.site-header,.drawer,.site-footer,.hv-cards-wrap,.hv-faq__list) :is(button,[type=button],[type=submit]) { border: 0; border-radius: 0; background-color: transparent; color: inherit; padding: 0; font: inherit; line-height: inherit; text-transform: none; white-space: normal; }
:where(.hv-ui,.hv-home,.site-header,.drawer,.site-footer,.hv-cards-wrap,.hv-faq__list) :is(button,[type=button],[type=submit]):is(:hover,:focus) { background-color: var(--b-bg, transparent); color: var(--b-fg, inherit); }

/* ===== Type helpers ===== */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .02em; color: var(--muted); margin-bottom: 14px; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .9; }
.kicker--accent { color: var(--accent-ink, var(--brand-600)); }
.kicker--light { color: rgba(255,255,255,.86); }
.kicker--mono { font-family: var(--mono); font-weight: 600; letter-spacing: 0; }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-tight); font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.h2--xl { font-size: var(--fs-h2-xl); }
.h2--light { color: #fff; }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 60ch; margin-top: 16px; text-wrap: pretty; }
.lead--light { color: rgba(255,255,255,.88); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-ink); white-space: nowrap; }
.link-more:hover { gap: 10px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-ink); font-size: var(--fs-sm); }
.tag { display: inline-flex; font-size: 12px; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); padding: 3px 10px; border-radius: 99px; }

/* ===== Buttons ===== */
.btn { --b-bg: var(--ink); --b-fg: var(--on-ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 12px; font-weight: 700; font-size: 15px; line-height: 1.2; background: var(--b-bg); color: var(--b-fg); border: 1px solid transparent; transition: transform .2s var(--ease-out), background-color .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ph { font-size: 1.15em; }
.btn--lg { min-height: 52px; padding: 14px 24px; font-size: 16px; border-radius: 14px; }
.btn--sm { min-height: 38px; padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn--brand { --b-bg: var(--brand); box-shadow: 0 8px 22px -10px rgba(227,30,36,.7); }
.btn--brand:hover { --b-bg: var(--brand-600); }
.btn--dark { --b-bg: var(--ink); }
.btn--accent { --b-bg: var(--accent-ink, var(--ink)); }
.btn--light { --b-bg: var(--surface); --b-fg: var(--ink); }
.btn--outline { --b-bg: var(--surface); --b-fg: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost-light { --b-bg: rgba(255,255,255,.06); --b-fg: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn--ghost-light:hover { --b-bg: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.btn--ghost-dark { --b-bg: var(--surface); --b-fg: var(--ink); border-color: var(--line-2); }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 18px; background: var(--surface); transition: background .2s, color .2s, border-color .2s; }
.round-btn:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.round-btn:disabled { opacity: .4; pointer-events: none; }
.zalo-mark { display: inline-grid; place-items: center; height: 22px; padding: 0 6px; border-radius: 6px; background: #0068FF; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .01em; }
.zalo-mark--sm { height: 20px; font-size: 11px; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 100; color: var(--ink); }
.is-home .site-header { margin-bottom: calc(var(--header-h) * -1); }
.site-header__bar { position: relative; z-index: 2; height: var(--header-h); display: flex; align-items: center; gap: 24px; padding-inline: var(--gutter); background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: background-color .3s, border-color .3s, color .3s; }
.site-header--over:not(.is-solid) { color: var(--over-fg, #fff); }
.site-header--over:not(.is-solid) .site-header__bar { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; flex-shrink: 0; }
.brand__logo { position: relative; display: block; height: 28px; }
.brand__img { height: 28px; width: auto; }
.brand__img--light { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.brand__img--dark { transition: opacity .3s; }
.site-header--over:not(.is-solid) .brand__img--light { opacity: 1; }
.site-header--over:not(.is-solid) .brand__img--dark { opacity: 0; }
.brand__tagline { font-size: 11px; font-weight: 500; line-height: 1.2; color: var(--muted-2, #64748B); white-space: nowrap; letter-spacing: .01em; }
.site-header--over:not(.is-solid) .brand__tagline { color: var(--over-fg-2, #CBD5E1); }

.main-nav { display: none; margin-left: 8px; }
.main-nav__list { display: flex; align-items: center; gap: 2px; }
.main-nav__link { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 10px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background-color .2s; }
.main-nav__link:hover, .main-nav__link[aria-expanded="true"] { background: var(--veil, rgba(18,19,22,.06)); }
.site-header--over:not(.is-solid) .main-nav__link:hover { background: var(--over-hover, rgba(255,255,255,.12)); }
.main-nav__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dot); flex-shrink: 0; }
.main-nav__pm { font-size: 12px; opacity: .7; transition: transform .25s var(--ease-out); }
.main-nav__link[aria-expanded="true"] .main-nav__pm { transform: rotate(45deg); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hbtn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px; font-weight: 700; font-size: 15px; transition: background-color .2s, border-color .2s; }
.hbtn--icon { width: 44px; padding: 0; justify-content: center; font-size: 22px; }
.hbtn--icon .hbtn__label { display: none; }
.hbtn--call { background: var(--brand); color: #fff; padding: 0 14px 0 12px; }
.hbtn--call .ph-fill { font-size: 20px; }
.hbtn--call:hover { background: var(--brand-600); }
.hbtn__txt { display: none; flex-direction: column; line-height: 1.15; }
.hbtn__txt small { font-size: 10.5px; font-weight: 600; opacity: .9; }
.hbtn--zalo { padding: 0 8px; border: 1px solid var(--line-2); }
.site-header--over:not(.is-solid) .hbtn--zalo { border-color: var(--over-line, rgba(255,255,255,.3)); }
.hbtn--icon:hover { background: var(--veil, rgba(18,19,22,.06)); }
.site-header--over:not(.is-solid) .hbtn--icon:hover { background: var(--over-hover, rgba(255,255,255,.12)); }
.hbtn--call { width: 44px; padding: 0; justify-content: center; }
.hbtn--zalo { display: none; }
.hbtn--icon[href="/tai-khoan"] { display: none; }

@media (min-width: 640px) {
  .hbtn--zalo, .hbtn--icon[href="/tai-khoan"] { display: inline-flex; }
}
@media (min-width: 1100px) {
  .main-nav { display: block; }
  .hbtn--menu { display: none; }
  .hbtn--call { width: auto; padding: 0 16px 0 12px; }
  .hbtn__txt { display: flex; }
}
@media (min-width: 1360px) {
  .hbtn--icon[href="/tai-khoan"] { width: auto; padding: 0 12px; gap: 6px; font-size: 22px; }
  .hbtn--icon[href="/tai-khoan"] .hbtn__label { display: inline; font-size: 15px; }
}

/* Mega */
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 1; background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(18,19,22,.35); animation: megaIn .28s var(--ease-out); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); }
.mega__inner { display: grid; grid-template-columns: 280px 1fr 300px; gap: 40px; padding-block: 32px 36px; }
.mega__kicker { font-size: 13px; font-weight: 700; color: var(--muted); }
.mega__title { font-size: 22px; font-weight: 800; line-height: 1.25; margin-top: 8px; letter-spacing: -.015em; }
.mega__text { color: var(--muted); margin: 10px 0 18px; font-size: 15px; }
.mega__links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; align-content: start; }
.mega__links a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background .2s; }
.mega__links a:hover { background: var(--bg-soft); }
.mega__links .ph { font-size: 22px; color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.mega__links b { display: block; font-size: 15px; }
.mega__links small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega__feature { position: relative; display: block; border-radius: 16px; overflow: hidden; min-height: 200px; background: var(--night); }
.mega__feature img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .6s var(--ease-out); }
.mega__feature:hover img { transform: scale(1.04); }
.mega__feature-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; background: rgba(15,16,18,.78); backdrop-filter: blur(8px); color: #fff; font-size: 14px; }
.mega__feature--grad { background: linear-gradient(135deg, #5B21B6, #B0175E 55%, #C2410C); }
.mega__feature-art { position: absolute; inset: 0; display: grid; place-items: center; font-size: 84px; color: rgba(255,255,255,.85); }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 300; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(15,16,18,.5); animation: fadeIn .25s; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 92vw); background: var(--surface); display: flex; flex-direction: column; animation: slideIn .3s var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer__nav { flex: 1; overflow-y: auto; padding: 8px 8px 16px; }
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__toggle { width: 100%; display: flex; align-items: center; gap: 10px; padding: 16px 12px; font-weight: 700; font-size: 17px; text-align: left; }
.drawer__toggle .ph { margin-left: auto; font-size: 16px; }
.drawer__toggle[aria-expanded="true"] .ph-plus { display: none; }
.drawer__toggle[aria-expanded="false"] .ph-minus { display: none; }
.drawer__sub { padding: 0 8px 12px 30px; display: grid; gap: 2px; }
.drawer__sub a { display: block; padding: 10px 8px; border-radius: 8px; font-size: 15px; color: var(--ink-2); }
.drawer__sub a:hover { background: var(--bg-soft); }
.drawer__plain { display: block; padding: 16px 12px; font-weight: 700; font-size: 17px; border-bottom: 1px solid var(--line); }
.drawer__foot { display: grid; gap: 10px; padding: 16px; border-top: 1px solid var(--line); padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.brand--static { gap: 4px; }

/* ===== Booking / Flight search ===== */
.booking { position: relative; z-index: 5; margin-top: -88px; padding-bottom: 24px; }

@media (min-width: 1024px) {
  .booking { margin-top: -112px; }

}

/* ===== Footer ===== */
.site-footer { background: var(--ftr-bg, var(--night)); color: var(--ftr-fg, var(--on-night-2)); padding: 72px 0 calc(28px + 64px); font-size: 15px; }
.site-footer a { color: var(--ftr-link, var(--on-night)); }
.site-footer a:hover { color: var(--ftr-strong, #fff); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--ftr-line, rgba(255,255,255,.12)); }
.site-footer__brand img { width: 176px; height: auto; }
.site-footer__tag { margin-top: 10px; font-size: 13px; font-weight: 500; color: #E2E8F0; letter-spacing: .02em; }
.site-footer__about { margin-top: 16px; max-width: 36ch; }
.site-footer__contact { margin-top: 18px; display: grid; gap: 8px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: baseline; }
.site-footer__contact .ph { color: var(--brand); font-size: 17px; transform: translateY(2px); }
.site-footer__contact span { color: var(--ftr-fg, var(--on-night-2)); }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.site-footer__cols p { font-weight: 700; color: var(--ftr-strong, #fff); margin-bottom: 12px; }
.site-footer__cols ul { display: grid; gap: 8px; }
.site-footer__cols a { color: var(--ftr-fg, var(--on-night-2)); }
.site-footer__legal { display: grid; gap: 16px; padding-top: 24px; font-size: 13.5px; }
.site-footer__legal b { color: var(--ftr-link, var(--on-night)); font-weight: 600; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; }
.site-footer__links span { color: var(--ftr-mute, #9B9A96); }
.site-footer__badges { display: flex; align-items: center; gap: 16px; }
.badge-bct img { width: 120px; height: auto; }
.badge-dmca img { width: 110px; height: auto; }
@media (min-width: 900px) {
  .site-footer { padding-bottom: 28px; }
  .site-footer__top { grid-template-columns: 1.1fr 2fr; }
  .site-footer__cols { grid-template-columns: repeat(4, 1fr); }
  .site-footer__legal { grid-template-columns: 1fr auto; align-items: center; }
}

/* ===== Dock (mobile) ===== */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--night); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.08); transition: transform .35s var(--ease-out); }
.dock.is-hidden { transform: translateY(110%); }
.dock__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; color: #D4D2CD; font-size: 11.5px; font-weight: 600; border-radius: 10px; }
.dock__item .ph, .dock__item .ph-fill { font-size: 22px; height: 22px; display: grid; place-items: center; }
.dock__item .zalo-mark { height: 22px; }
.dock__item.is-active { color: #fff; }
.dock__item.is-active::before { content: ""; position: absolute; top: -6px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand); }
.dock__item--call .ph-fill { color: #fff; background: var(--brand); width: 40px; height: 40px; border-radius: 50%; margin-top: -18px; box-shadow: 0 6px 16px -4px rgba(227,30,36,.7); font-size: 20px; }
.dock__item:active { transform: scale(.94); }
@media (min-width: 900px) { .dock { display: none; } }

/* ===== Toast ===== */
.toast { position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 400; max-width: min(560px, calc(100vw - 32px)); background: var(--ink); color: var(--on-ink); padding: 14px 18px; border-radius: 14px; font-size: 14px; box-shadow: var(--shadow-3); animation: megaIn .3s var(--ease-out); word-break: break-word; }
.toast code { font-family: var(--mono); font-size: 12.5px; color: #FFB4B6; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}


/* 11/10: header gon - bo Zalo, nut goi nen thuong, so chi hien khi du cho */
.site-header .hbtn--zalo{display:none!important}
.site-header .hbtn--call{background:transparent;color:inherit;border:1px solid var(--line-2);width:44px;padding:0;justify-content:center;font-weight:600}
.site-header .hbtn--call:hover{background:var(--veil,rgba(18,19,22,.05))}
.site-header .hbtn--call .ph-fill{font-size:19px;color:var(--brand)}
.site-header--over:not(.is-solid) .hbtn--call{border-color:var(--over-line,rgba(255,255,255,.3));color:var(--over-fg,#fff)}
.site-header--over:not(.is-solid) .hbtn--call .ph-fill{color:var(--over-ph,#fff)}
.site-header--over:not(.is-solid) .hbtn--call:hover{background:var(--over-hover,rgba(255,255,255,.12))}
.site-header .hbtn__txt{display:none!important}
@media (min-width:1400px){.site-header .hbtn--call{width:auto;padding:0 14px 0 12px}.site-header .hbtn__txt{display:flex!important;font-size:15px}}
/* 11/10: fork .vdh-burger{display:none} an nut menu 961-1099px */
@media (max-width:1099px){.site-header .hbtn--menu{display:inline-flex!important}}

/* ===== Logo lockup HVSC (hv_logo_lockup) — HVSC.vn + Est. 2016 dưới .vn + tagline vàng ===== */
.brand .hvl,.hvl{--h:26px;--est:10px;display:inline-flex;flex-direction:column;align-items:flex-start;gap:calc(var(--h)*.16);line-height:1}
.hvl__mark{position:relative;display:block;padding-right:calc(var(--est)*4.8 - var(--h)*.21)}
.hvl .brand__logo,.site-footer__brand .hvl .brand__logo{height:var(--h);display:block}
.hvl .brand__img,.site-footer__brand .hvl .brand__img,body.hv-site .site-footer__brand .hvl .brand__img{height:var(--h)!important;width:auto!important;max-width:none}
.hvl__est{position:absolute;left:calc(var(--h)*3.5);bottom:calc(var(--h)*-.05);font:700 var(--est)/1 "Be Vietnam Pro",system-ui,sans-serif;letter-spacing:.01em;white-space:nowrap;color:var(--est-c,#334155);transition:color .3s}
.hvl__tag{display:none;font:600 10px/1.15 "Be Vietnam Pro",system-ui,sans-serif;letter-spacing:.2em;text-transform:uppercase;white-space:nowrap;color:var(--tag-c,#946200);transition:color .3s}
.site-header--over:not(.is-solid) .hvl__est{color:var(--over-fg,#fff)}
.site-header--over:not(.is-solid) .hvl__tag{color:var(--over-tag,#E8C98E)}
@media (min-width:760px){.site-header .hvl{--h:28px}}
@media (min-width:1200px){.site-header .hvl{--h:32px}.site-header .hvl__tag{display:block}}
/* drawer + footer: nền trắng / nền tối */
.hvl--drawer{--h:30px}.hvl--drawer .hvl__tag{display:block}
.hvl--footer{--h:44px;--est:13px;gap:14px}.hvl--footer .hvl__est{color:var(--ftr-strong,#fff)}.hvl--footer .hvl__tag{display:block;font-size:11.5px;letter-spacing:.22em;color:var(--ftr-tag,#E8C98E)}
/* Mobile: header gọn, bỏ nút gọi (đã có thanh đáy/menu), tài khoản + hamburger */
@media (max-width:759px){
  :root{--header-h:56px}
  .site-header .hbtn--call{display:none!important}
  .site-header .hbtn--acc{display:inline-flex!important}
  .site-header__bar{gap:8px}
  .site-header .header-actions{gap:2px}
  .site-header .hbtn{height:40px}.site-header .hbtn--icon{width:40px}
}

/* Logo drawer/footer có 2 bản (đỏ / trắng): mặc định drawer = đỏ, footer = trắng; hv-theme.css đổi theo chế độ */
.hvl--footer .brand__img--light, .hvl--drawer .brand__img--dark { position: static; opacity: 1; }
.hvl--footer .brand__img--dark, .hvl--drawer .brand__img--light { display: none; }
