/* ============================================================
   App Food Việt Nam — "Giờ Vàng"
   Luxury sáng: sứ trắng ấm + gradient hoàng hôn (nghệ→san hô→mận)
   Display: Bricolage Grotesque · Body: Be Vietnam Pro
   Motion: Premium archetype — 350–600ms, cubic-bezier(.4,0,.2,1)
   ============================================================ */

/* ---------- Fonts (self-host, bỏ origin Google Fonts để không chặn render) ---------- */
/* vietnamese Be Vietnam Pro 400 */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-400-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext Be Vietnam Pro 400 */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin Be Vietnam Pro 400 */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese Be Vietnam Pro 500 */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-500-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext Be Vietnam Pro 500 */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin Be Vietnam Pro 500 */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese Be Vietnam Pro 600 */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-600-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext Be Vietnam Pro 600 */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin Be Vietnam Pro 600 */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese Be Vietnam Pro 700 */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-700-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext Be Vietnam Pro 700 */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin Be Vietnam Pro 700 */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/be-vietnam-pro-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese Bricolage Grotesque 600 */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-600-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext Bricolage Grotesque 600 */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin Bricolage Grotesque 600 */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese Bricolage Grotesque 700 */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-700-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext Bricolage Grotesque 700 */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin Bricolage Grotesque 700 */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese Bricolage Grotesque 800 */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-800-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext Bricolage Grotesque 800 */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin Bricolage Grotesque 800 */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Màu nền & mực */
  --nen: #FFFBF5;
  --nen-2: #FFF3E6;
  --the: #FFFFFF;
  --muc: #371526;
  --muc-2: #6B4A5B;
  --muc-3: #8A6B79;

  /* Hoàng hôn */
  --vang: #F6A83C;
  --cam: #FF6B45;
  --man: #D6336C;
  --man-dam: #A61E4D;
  --dong: #A05F17;

  /* Lỗi form — đỏ đất: tách rõ khỏi nền kem lẫn hồng brand (hồng = focus/CTA) */
  --loi: #C03A21;
  --loi-dam: #9E2D18;
  --loi-nen: #FFF3EF;
  --loi-vien: #F0CCC2;

  /* Gradient hệ */
  --grad-brand: linear-gradient(120deg, #F6A83C, #FF6B45 48%, #D6336C);
  --grad-cta: linear-gradient(135deg, #D6336C, #A61E4D);
  --grad-text: linear-gradient(115deg, #B26010, #D63A2B 45%, #B32458);
  --grad-soft: linear-gradient(135deg, rgba(246,168,60,.14), rgba(255,107,69,.12) 50%, rgba(214,51,108,.14));

  /* Viền & bóng */
  --vien: #F4E2D2;
  --vien-2: #EBCDB6;
  --bong-mem: 0 14px 40px -18px rgba(155, 62, 62, .28);
  --bong-noi: 0 30px 70px -30px rgba(155, 62, 62, .38);
  --bong-cta: 0 14px 32px -12px rgba(166, 30, 77, .45);

  /* Kính */
  --kinh: rgba(255, 252, 247, .68);
  --kinh-vien: rgba(255, 255, 255, .85);

  /* Chữ */
  --font-display: "Bricolage Grotesque", "Be Vietnam Pro", sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Motion Premium */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t-nhanh: 200ms;
  --t-vua: 400ms;
  --t-cham: 650ms;

  --bo-goc: 16px;
  --bo-goc-lon: 28px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muc);
  background: var(--nen);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--man-dam); text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--man); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(246, 168, 60, .4); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
h1 {
  font-size: clamp(2.375rem, 5.2vw + 1rem, 4.125rem);
  /* line-height nới rộng: dấu chồng tiếng Việt (ẫ/ộ/ị) cần chỗ cho ascent+descender,
     1.06 cũ làm dấu dòng dưới đè descender dòng trên. 1.24 giữ gap dương ở cả cỡ 66px. */
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.015em;
}
h2 {
  font-size: clamp(1.75rem, 2.8vw + .75rem, 2.625rem);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.012em;
}
h3 {
  font-size: clamp(1.1875rem, 1vw + .9rem, 1.375rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lead { font-size: clamp(1.0625rem, .6vw + .95rem, 1.1875rem); color: var(--muc-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--dong);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--grad-brand);
}
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.container { max-width: 1160px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 32px); }
.section { padding-block: clamp(68px, 9vw, 120px); }
.section-alt { background: linear-gradient(180deg, var(--nen) 0%, var(--nen-2) 18%, var(--nen-2) 82%, var(--nen) 100%); }
.section-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 56px); display: grid; gap: 14px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; margin-inline: auto; }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  border: 0; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  transition: transform var(--t-nhanh) var(--ease), box-shadow var(--t-vua) var(--ease), background-color var(--t-nhanh) var(--ease);
  cursor: pointer; touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary {
  position: relative; overflow: hidden;
  background: var(--grad-cta);
  color: #fff;
  box-shadow: var(--bong-cta);
}
/* Sheen quét ngang khi hover — chỉ thiết bị có hover thật, không chạy trên touch */
@media (hover: hover) {
  .btn-primary::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .28) 50%, transparent 68%);
    transform: translateX(-130%);
    transition: transform var(--t-cham) var(--ease);
    pointer-events: none;
  }
  .btn-primary:hover::after { transform: translateX(130%); }
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(166, 30, 77, .55); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary svg { transition: transform var(--t-nhanh) var(--ease); }
.btn-ghost {
  background: rgba(255, 255, 255, .8);
  color: var(--muc);
  border: 1.5px solid var(--vien-2);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--man); color: var(--man-dam); box-shadow: var(--bong-mem); }
.btn-lg { min-height: 58px; padding: 16px 34px; font-size: 1.0625rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  padding-block: 14px;
  transition: background-color var(--t-vua) var(--ease), box-shadow var(--t-vua) var(--ease), padding var(--t-vua) var(--ease);
}
.site-header.is-scrolled {
  padding-block: 10px;
  background: var(--kinh);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -18px rgba(155, 62, 62, .3);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 6px 14px rgba(214, 51, 108, .3)); }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.1875rem; line-height: 1.05; color: var(--muc); letter-spacing: -0.01em; }
.logo-text small { display: block; font-family: var(--font-body); font-size: .625rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--dong); margin-top: 2px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 16px; border-radius: 999px;
  font-weight: 500; font-size: .9375rem; color: var(--muc-2);
  transition: color var(--t-nhanh) var(--ease), background-color var(--t-nhanh) var(--ease);
}
.main-nav a:hover { color: var(--muc); background: rgba(246, 168, 60, .14); }
.main-nav a[aria-current="page"] { color: var(--man-dam); font-weight: 600; }
.header-cta { display: inline-flex; }
.nav-toggle {
  display: none; width: 46px; height: 46px;
  border: 1.5px solid var(--vien-2); border-radius: 14px;
  background: rgba(255, 255, 255, .85); color: var(--muc);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close, .nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 8px;
    background: var(--kinh);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    opacity: 0; visibility: hidden;
    transition: opacity var(--t-vua) var(--ease), visibility var(--t-vua) var(--ease);
  }
  .main-nav a { font-size: 1.375rem; font-weight: 600; padding: 14px 26px; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(120px, 16vw, 172px);
  padding-bottom: clamp(64px, 8vw, 110px);
  overflow: clip;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .55;
  animation: blob-troi 13s var(--ease) infinite alternate;
}
.blob-1 { width: 520px; height: 520px; top: -180px; right: -120px; background: radial-gradient(circle, rgba(246,168,60,.55), transparent 65%); }
.blob-2 { width: 460px; height: 460px; bottom: -200px; left: -140px; background: radial-gradient(circle, rgba(214,51,108,.32), transparent 65%); animation-delay: -6s; animation-duration: 16s; }
.blob-3 { width: 380px; height: 380px; top: 30%; left: 38%; background: radial-gradient(circle, rgba(255,107,69,.28), transparent 65%); animation-delay: -3s; animation-duration: 11s; }
@keyframes blob-troi {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(36px, 28px, 0) scale(1.12); }
}

.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-copy .lead { max-width: 33rem; }
.hero-badge {
  display: inline-flex; align-items: flex-start; gap: 9px;
  padding: 9px 18px 9px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--vien);
  box-shadow: var(--bong-mem);
  font-size: .875rem; font-weight: 600; color: var(--muc-2);
}
.hero-badge svg { width: 19px; height: 19px; color: var(--man); flex: none; margin-top: 2px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-note { display: flex; align-items: flex-start; gap: 8px; font-size: .875rem; color: var(--muc-3); }
.hero-note svg { width: 17px; height: 17px; color: var(--dong); flex: none; margin-top: 2px; }

/* Mini 3-step process cho Ads landing (/dang-ky/) — gọn, không phình mobile,
   tái dùng --grad-cta đã dùng cho nút/tick, không thêm màu mới. */
.mini-steps { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 2px; }
.mini-step { display: inline-flex; align-items: center; gap: 8px; font-size: .8438rem; font-weight: 600; color: var(--muc-2); }
.mini-step b {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--grad-cta); color: #fff; font-size: .75rem; font-weight: 800;
}

/* Khối ảnh hero */
.hero-visual { position: relative; }
.hero-tile {
  position: relative;
  border-radius: clamp(30px, 4vw, 44px);
  overflow: hidden;
  box-shadow: var(--bong-noi);
  transform: rotate(1.5deg);
}
.hero-tile::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  border-radius: inherit;
  border: 1.5px solid rgba(255, 255, 255, .55);
  background: linear-gradient(200deg, rgba(246,168,60,.18), transparent 38%);
  pointer-events: none;
}
.hero-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-ring {
  position: absolute; inset: -14px; z-index: -1;
  border-radius: clamp(38px, 5vw, 54px);
  background: var(--grad-brand);
  opacity: .18; filter: blur(4px);
  transform: rotate(-1.2deg);
}

/* Chip app nổi quanh hero */
.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--kinh);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: var(--bong-mem);
  font-weight: 700; font-size: .875rem; color: var(--muc);
  animation: chip-troi 7s ease-in-out infinite alternate;
}
.float-chip .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.chip-grab { top: 7%; left: -9%; animation-delay: 0s; }
.chip-shopee { top: 26%; right: -11%; animation-delay: -1.8s; }
.chip-be { bottom: 27%; left: -13%; animation-delay: -3.4s; }
.chip-xanh { bottom: 8%; right: -7%; animation-delay: -5s; }
.dot-grab { background: #00B14F; }
.dot-shopee { background: #EE4D2D; }
.dot-be { background: #F5B500; }
.dot-xanh { background: #00A98F; }
@keyframes chip-troi {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -14px, 0); }
}

/* Thẻ kính trạng thái trên ảnh hero */
.hero-status {
  position: absolute; z-index: 3;
  left: 8%; bottom: 9%;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 20px 13px 14px; border-radius: 18px;
  background: var(--kinh);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: var(--bong-mem);
  animation: chip-troi 8s ease-in-out infinite alternate;
  animation-delay: -2.6s;
}
.hero-status .status-icon {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  background: var(--grad-cta);
  display: grid; place-items: center; color: #fff;
}
.hero-status .status-icon svg { width: 20px; height: 20px; }
.hero-status strong { display: block; font-size: .9375rem; line-height: 1.3; }
.hero-status span { font-size: .8125rem; color: var(--muc-2); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { justify-items: center; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 420px; margin-inline: auto; width: 100%; }
  .chip-grab { left: -4%; }
  .chip-shopee { right: -5%; }
  .chip-be { left: -6%; }
  .chip-xanh { right: -3%; }
}
/* Màn hình nhỏ: chip tuck vào trong mép ảnh (không tràn viewport, không bị cắt),
   thu nhỏ nhẹ để bớt visual noise trên ảnh nhỏ. */
@media (max-width: 560px) {
  .float-chip { font-size: .8125rem; padding: 8px 13px; }
  .float-chip .dot { width: 8px; height: 8px; }
  .chip-grab { top: 4%; left: 2%; }
  .chip-shopee { top: 19%; right: 2%; }
  .chip-be { bottom: 35%; left: 2%; }
  /* bottom:7% cũ đặt chip lọt trong băng dọc của .hero-status (bottom 9%–26%)
     → bị thẻ status (z-index cao hơn) đè gần hết. Đẩy lên trên status.
     chip-be nâng thêm lên 35% vì ở 360px, nhãn status 2 dòng có thể tràn
     thành 3 dòng, kéo mép trên thẻ status lên cao hơn, vẫn chạm chip ở 26%. */
  .chip-xanh { bottom: 33%; right: 2%; }
}

/* ---------- Dải app (trang chủ) ---------- */
.app-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.app-card {
  position: relative;
  display: grid; gap: 10px; align-content: start;
  padding: 26px 22px;
  background: var(--the);
  border: 1.5px solid var(--vien);
  border-radius: var(--bo-goc-lon);
  transition: transform var(--t-vua) var(--ease), box-shadow var(--t-vua) var(--ease), border-color var(--t-vua) var(--ease);
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--bong-noi); border-color: transparent; }
.app-card::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; padding: 1.5px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0; transition: opacity var(--t-vua) var(--ease);
  pointer-events: none;
}
.app-card:hover::after { opacity: 1; }
.app-card .app-dot { width: 12px; height: 12px; border-radius: 50%; margin-bottom: 2px; }
.app-card h3 { font-size: 1.1875rem; }
.app-card p { font-size: .9063rem; color: var(--muc-2); line-height: 1.55; }
.app-card .app-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .9063rem; color: var(--man-dam);
  margin-top: 4px;
  white-space: nowrap; /* label ngắn "Nhận tư vấn" — không cho mồ côi chữ */
}
.app-card .app-link svg { width: 17px; height: 17px; transition: transform var(--t-nhanh) var(--ease); }
.app-card:hover .app-link svg { transform: translateX(4px); }
@media (max-width: 900px) { .app-cards { grid-template-columns: repeat(2, 1fr); gap: 14px; } .app-card { padding: 22px 18px; } }

/* ---------- Giá trị / icon tile ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 32px); }
.value-item { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 34px); background: var(--the); border: 1.5px solid var(--vien); border-radius: var(--bo-goc-lon); transition: transform var(--t-vua) var(--ease), box-shadow var(--t-vua) var(--ease); }
.value-item:hover { transform: translateY(-5px); box-shadow: var(--bong-noi); }
.icon-tile {
  position: relative;
  width: 56px; height: 56px; border-radius: 18px;
  background: #fff;
  border: 1px solid var(--vien);
  box-shadow: 0 8px 20px -12px rgba(155, 62, 62, .35);
  display: grid; place-items: center;
  color: var(--man-dam);
  transition: transform var(--t-nhanh) var(--ease), box-shadow var(--t-vua) var(--ease);
}
.icon-tile::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; background: var(--grad-soft);
}
.icon-tile::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; padding: 1.5px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .35;
  pointer-events: none;
}
.icon-tile svg { position: relative; width: 26px; height: 26px; transition: transform var(--t-vua) var(--ease); }
.value-item:hover .icon-tile { transform: scale(1.06) translateY(-2px) rotate(-2deg); box-shadow: 0 14px 26px -12px rgba(155, 62, 62, .45); }
.value-item:hover .icon-tile svg { transform: translateY(-1px); }
.value-item p { color: var(--muc-2); font-size: .9688rem; }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- Quy trình ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 32px); counter-reset: buoc; }
.step { position: relative; display: grid; gap: 12px; align-content: start; padding: clamp(26px, 3vw, 36px); border-radius: var(--bo-goc-lon); background: rgba(255, 255, 255, .72); border: 1.5px solid var(--vien); }
.step-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 2.75rem; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step p { color: var(--muc-2); font-size: .9688rem; }
.step::after {
  content: ""; position: absolute; top: 50%; right: -26px;
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--vien-2), transparent);
}
.step:last-child::after { display: none; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
}

/* ---------- Khối ảnh + chữ xen kẽ ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--bo-goc-lon); box-shadow: var(--bong-noi); }
.split-media::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border-radius: var(--bo-goc-lon);
  background: var(--grad-soft);
}
.split-copy { display: grid; gap: 16px; justify-items: start; }
.split-copy ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.split-copy li { display: flex; gap: 11px; align-items: flex-start; color: var(--muc-2); font-size: .9688rem; }
.split-copy li svg { width: 21px; height: 21px; flex: none; color: var(--man); margin-top: 2px; }
.split-copy li strong { color: var(--muc); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--the); border: 1.5px solid var(--vien);
  border-radius: 20px; overflow: hidden;
  transition: box-shadow var(--t-vua) var(--ease), border-color var(--t-vua) var(--ease);
}
.faq-item[open] { box-shadow: var(--bong-mem); border-color: var(--vien-2); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 24px;
  font-weight: 600; font-size: 1.0313rem; font-family: var(--font-display);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--man-dam); }
.faq-item summary .faq-icon {
  width: 30px; height: 30px; border-radius: 10px; flex: none;
  background: var(--grad-soft); color: var(--man-dam);
  display: grid; place-items: center;
  transition: transform var(--t-vua) var(--ease);
}
.faq-item summary .faq-icon svg { width: 16px; height: 16px; }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--muc-2); font-size: .9688rem; }

/* ---------- Form ---------- */
.form-shell {
  position: relative;
  border-radius: clamp(28px, 4vw, 40px);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(246,168,60,.16), transparent 55%),
    radial-gradient(130% 150% at 100% 100%, rgba(214,51,108,.14), transparent 55%),
    var(--the);
  border: 1.5px solid var(--vien);
  box-shadow: var(--bong-noi);
  overflow: hidden;
}
/* Ads landing (/dang-ky/): 1 điểm nhấn nhẹ để form không đọc y hệt /lien-he/ —
   viền sáng brand-gradient quanh card, không thêm nội dung/claim mới. */
.form-shell--landing {
  box-shadow: var(--bong-noi), 0 0 0 1.5px rgba(214, 51, 108, .16), 0 0 46px -18px rgba(246, 168, 60, .5);
}
/* Hairline gradient trên đỉnh card landing — điểm nhấn premium, không thêm nội dung */
.form-shell--landing::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px;
  background: var(--grad-brand); z-index: 1;
}
.form-grid { display: grid; grid-template-columns: .9fr 1.1fr; }
.form-aside {
  padding: clamp(30px, 4vw, 52px);
  background: var(--grad-cta);
  color: #fff;
  display: grid; gap: 18px; align-content: start;
}
.form-aside h2 { color: #fff; font-size: clamp(1.625rem, 2.4vw, 2.125rem); }
.form-aside p { color: rgba(255, 255, 255, .88); font-size: .9688rem; }
.form-aside ul { list-style: none; padding: 0; display: grid; gap: 13px; margin-top: 6px; }
.form-aside li { display: flex; gap: 11px; align-items: flex-start; font-size: .9375rem; color: rgba(255, 255, 255, .92); }
.form-aside li svg { width: 20px; height: 20px; flex: none; color: #FFD9A0; margin-top: 2px; }
.form-aside .form-hotline { margin-top: 10px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); font-size: .9375rem; }
.form-aside .form-hotline a { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .01em; }
.lead-form { padding: clamp(28px, 4vw, 52px); display: grid; gap: 20px; align-content: start; }
.form-intro-mobile { display: none; }
@media (max-width: 900px) {
  .form-intro-mobile { display: grid; gap: 6px; }
  .form-intro-mobile h2 { font-size: 1.5rem; }
  .form-intro-mobile p { font-size: .9063rem; color: var(--muc-2); }
}
.form-field { display: grid; gap: 7px; }
.form-field label, .form-field .label { font-weight: 600; font-size: .9375rem; }
.form-field .field-hint { font-size: .8125rem; color: var(--muc-3); }
.form-field input {
  min-height: 52px; padding: 13px 18px;
  border: 1.5px solid var(--vien-2); border-radius: 15px;
  background: var(--nen); color: var(--muc);
  font-size: 1rem; line-height: normal; /* caret/text căn giữa dọc, không bị dòng cao kế thừa từ body 1.65 */
  transition: border-color var(--t-nhanh) var(--ease), box-shadow var(--t-nhanh) var(--ease), background-color var(--t-nhanh) var(--ease);
}
.form-field input::placeholder { color: var(--muc-3); }
.form-field input:focus { outline: none; border-color: var(--man); background: #fff; box-shadow: 0 0 0 4px rgba(214, 51, 108, .14); }
.form-field.has-error > label { color: var(--loi-dam); }
.form-field.has-error input { border-color: var(--loi); background: var(--loi-nen); box-shadow: 0 0 0 3px rgba(192, 58, 33, .13); }
.form-field.has-error input:focus { border-color: var(--loi); box-shadow: 0 0 0 4px rgba(192, 58, 33, .2); }
.field-error { display: none; align-items: flex-start; gap: 6px; font-size: .8438rem; color: var(--loi-dam); font-weight: 600; }
/* Corrected state (JS thêm .is-fixed ~1.5s): xác nhận xanh nhẹ khi field vừa thoát lỗi */
.form-field.is-fixed input { border-color: #57B584; box-shadow: 0 0 0 3px rgba(30, 107, 71, .12); }
.form-field.has-error .field-error { display: inline-flex; animation: loi-hien 180ms var(--ease) both; }
.field-error svg { width: 15px; height: 15px; flex: none; margin-top: 3px; }
@keyframes loi-hien { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }

/* Chip chọn app — 2 cột x 2 hàng.
   minmax(0,1fr) + min-width:0 để min-content của chip không ép form
   tràn khỏi viewport hẹp (360–430px). */
.app-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid > * { min-width: 0; }
.app-choice { position: relative; display: grid; }
.app-choice .chip-face { height: 100%; }
.app-choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.app-choice .chip-face {
  display: flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 12px 16px;
  border: 1.5px solid var(--vien-2); border-radius: 16px;
  background: var(--nen);
  font-weight: 600; font-size: .9375rem;
  transition: border-color var(--t-nhanh) var(--ease), background-color var(--t-nhanh) var(--ease), box-shadow var(--t-nhanh) var(--ease), transform var(--t-nhanh) var(--ease);
}
.app-choice:hover .chip-face { border-color: var(--man); transform: translateY(-1px); }
.app-choice .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.app-choice .chip-check {
  margin-left: auto; width: 22px; height: 22px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--vien-2);
  display: grid; place-items: center; color: transparent;
  transition: all var(--t-nhanh) var(--ease);
}
.app-choice .chip-check svg { width: 13px; height: 13px; }
.app-choice input:checked + .chip-face {
  border-color: var(--man);
  background: linear-gradient(135deg, rgba(246,168,60,.1), rgba(214,51,108,.1));
  box-shadow: 0 6px 18px -8px rgba(166, 30, 77, .35);
}
.app-choice input:checked + .chip-face .chip-check { background: var(--grad-cta); border-color: transparent; color: #fff; animation: chip-pop 240ms var(--ease); }
@keyframes chip-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.app-choice input:focus-visible + .chip-face { outline: 3px solid var(--man); outline-offset: 2px; }

.form-submit { display: grid; gap: 12px; margin-top: 4px; }
.form-submit .btn { width: 100%; }
.btn .spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: xoay .7s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .spinner { display: block; }
.btn.is-loading .btn-label-icon { display: none; }
@keyframes xoay { to { transform: rotate(360deg); } }
.form-privacy { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: .8125rem; color: var(--muc-3); text-align: center; }
.form-privacy svg { width: 15px; height: 15px; flex: none; color: var(--dong); }
.form-alert {
  display: none; align-items: flex-start; gap: 9px;
  padding: 13px 16px 13px 13px; border-radius: 14px;
  border-left: 3px solid var(--loi);
  background: var(--loi-nen); border-top: 1.5px solid var(--loi-vien); border-right: 1.5px solid var(--loi-vien); border-bottom: 1.5px solid var(--loi-vien);
  color: var(--loi-dam); font-size: .875rem; font-weight: 600;
}
.form-alert.is-visible { display: flex; animation: loi-hien 180ms var(--ease) both; }
/* Lỗi nhóm app selector: cả cụm chip nhận viền lỗi tới khi người dùng chọn 1 app */
.form-alert.is-visible ~ .app-choices .chip-face { border-color: var(--loi); background: var(--loi-nen); }
.form-alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* Thông báo dưới nút gửi: lỗi validation / lỗi gửi / duplicate (soft success) */
.form-status {
  display: none; align-items: flex-start; gap: 9px;
  padding: 13px 16px; border-radius: 14px;
  font-size: .875rem; font-weight: 500; line-height: 1.5;
}
.form-status.is-visible { display: flex; animation: loi-hien 200ms var(--ease) both; }
.form-status.is-error { padding-left: 13px; background: var(--loi-nen); border-left: 3px solid var(--loi); border-top: 1.5px solid var(--loi-vien); border-right: 1.5px solid var(--loi-vien); border-bottom: 1.5px solid var(--loi-vien); color: var(--loi-dam); font-weight: 600; }
.form-status.is-error.is-visible { animation: loi-hien 200ms var(--ease) both, lac-nhe 250ms var(--ease) 1; }
.form-status.is-info { background: #F0FAF4; border: 1.5px solid #BEE3CD; color: #1E6B47; }
.form-status svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
@keyframes lac-nhe { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.btn:disabled { pointer-events: none; opacity: .85; cursor: default; }
.form-field input, .app-choices { scroll-margin-top: 110px; }

/* Disclosure độc lập gần form */
.form-disclosure { font-size: .8125rem; color: var(--muc-3); line-height: 1.55; text-align: center; }

@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-aside { order: 2; }
}
@media (max-width: 430px) {
  .lead-form { padding-inline: 22px; gap: 16px; }
  .app-choices { gap: 10px; }
  /* min-height 48px vẫn trên ngưỡng touch target 44px (WCAG 2.5.5) nhưng
     nhẹ hơn 56px cũ — form đỡ cảm giác nặng mà không phá khả năng bấm. */
  .app-choice .chip-face { min-height: 48px; padding: 10px 10px; font-size: .8125rem; gap: 7px; min-width: 0; overflow: hidden; }
  /* Giữ dot màu (thu nhỏ) — mobile không được kém trau chuốt hơn desktop; tick vẫn là tín hiệu chọn chính */
  .app-choice .dot { width: 7px; height: 7px; }
  .app-choice .chip-check { width: 18px; height: 18px; }
  .app-choice .chip-check svg { width: 11px; height: 11px; }
}

/* ---------- CTA banner (trang phụ) ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  border-radius: clamp(28px, 4vw, 40px);
  padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(120% 180% at 8% 0%, rgba(246,168,60,.4), transparent 55%),
    radial-gradient(130% 170% at 95% 100%, rgba(255,107,69,.35), transparent 50%),
    var(--grad-cta);
  color: #fff; text-align: center;
  display: grid; gap: 18px; justify-items: center;
  box-shadow: var(--bong-noi);
}
.cta-banner h2 { color: #fff; max-width: 21ch; margin-inline: auto; }
.cta-banner p { color: rgba(255, 255, 255, .9); max-width: 44ch; }
.cta-banner .btn-primary { background: #fff; color: var(--man-dam); box-shadow: 0 16px 40px -14px rgba(60, 8, 28, .5); }
.cta-banner .btn-primary:hover { box-shadow: 0 22px 50px -14px rgba(60, 8, 28, .6); }

/* ---------- Nút nổi Call / Zalo ---------- */
.floating-cta {
  position: fixed; right: 18px; bottom: 20px; z-index: 90;
  display: grid; gap: 12px;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity var(--t-vua) var(--ease), transform var(--t-vua) var(--ease), visibility var(--t-vua) var(--ease);
}
.floating-cta.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.floating-cta.is-muted { opacity: 0; visibility: hidden; transform: translateY(16px); }
.fab {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 12px 20px 12px 14px;
  border-radius: 999px;
  font-weight: 700; font-size: .9375rem; color: #fff;
  box-shadow: 0 14px 34px -10px rgba(60, 8, 28, .4);
  transition: transform var(--t-nhanh) var(--ease), box-shadow var(--t-vua) var(--ease);
}
.fab:hover { transform: translateY(-3px) scale(1.03); }
.fab:active { transform: scale(.97); }
.fab svg { width: 23px; height: 23px; flex: none; }
.fab-call { background: var(--grad-cta); }
.fab-call::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--grad-cta); opacity: .5; z-index: -1;
  animation: song-goi 2.6s var(--ease) infinite;
}
@keyframes song-goi {
  0% { transform: scale(1); opacity: .5; }
  70%, 100% { transform: scale(1.28); opacity: 0; }
}
.fab-zalo { background: #0068FF; }
.fab-zalo:hover { box-shadow: 0 18px 40px -10px rgba(0, 80, 200, .5); }
@media (max-width: 640px) {
  .floating-cta { right: 14px; bottom: 16px; }
  .fab { width: 54px; padding: 0; justify-content: center; }
  .fab .fab-label { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  background: #331021;
  color: #EBD9CB;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px;
  background: var(--grad-brand);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 72px) 36px;
}
.footer-brand { display: grid; gap: 16px; justify-items: start; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text small { color: #F6A83C; }
.footer-brand p { font-size: .9375rem; color: #C9AC9E; max-width: 34ch; }
.footer-col h3 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .14em; color: #F6A83C; font-family: var(--font-body); font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: #EBD9CB; font-size: .9375rem; transition: color var(--t-nhanh) var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-col li { display: flex; align-items: flex-start; gap: 9px; font-size: .9375rem; }
.footer-col li svg { width: 18px; height: 18px; flex: none; color: #F6A83C; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(246, 168, 60, .18);
  padding-block: 20px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: .8125rem; color: #B08D7E;
}
.footer-bottom .brands { letter-spacing: .01em; }
@media (max-width: 900px) {
  /* Footer mobile gọn: nav 2 cột, chữ nhỏ lại 1 nấc, khoảng thở ngắn hơn —
     giữ nguyên đầy đủ disclosure + trademark (Ads safety, không accordion). */
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding-block: 42px 22px; }
  .footer-brand { gap: 12px; }
  .footer-brand p { font-size: .875rem; }
  nav.footer-col ul { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; }
  .footer-col h3 { margin-bottom: 11px; }
  .footer-col a, .footer-col li { font-size: .875rem; }
  .footer-col li svg { width: 17px; height: 17px; margin-top: 2px; }
  .footer-disclosure { font-size: .78125rem; }
  .footer-bottom { padding-block: 16px; font-size: .78125rem; }
}

/* ---------- Trang phụ: hero nhỏ ---------- */
.page-hero {
  position: relative; overflow: clip;
  padding-top: clamp(120px, 15vw, 168px);
  padding-bottom: clamp(44px, 6vw, 72px);
  text-align: center;
}
.page-hero .container { max-width: 800px; display: grid; gap: 16px; justify-items: center; }
.page-hero .lead { max-width: 38rem; }

/* ---------- Trang dịch vụ: khối theo app ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 28px); }
.service-card {
  position: relative; overflow: hidden;
  display: grid; gap: 15px; align-content: start;
  padding: clamp(26px, 3.4vw, 40px);
  background: var(--the);
  border: 1.5px solid var(--vien);
  border-radius: var(--bo-goc-lon);
  transition: transform var(--t-vua) var(--ease), box-shadow var(--t-vua) var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--bong-noi); }
.service-card .glow {
  position: absolute; top: -70px; right: -50px;
  width: 190px; height: 190px; border-radius: 50%;
  opacity: .16; filter: blur(34px); pointer-events: none;
}
.service-head { display: flex; align-items: flex-start; gap: 12px; }
.service-head .app-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; margin-top: 5px; }
.service-fit {
  font-size: .9375rem; color: var(--muc-2);
  padding: 11px 15px; border-radius: 13px;
  background: var(--nen-2); border: 1px solid var(--vien);
}
.service-fit strong { color: var(--dong); font-weight: 600; }
.service-card ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.service-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--muc-2); }
.service-card li svg { width: 20px; height: 20px; color: var(--man); flex: none; margin-top: 2px; }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Nội dung dạng văn bản (khối minh bạch/disclaimer) ----------
   Panel nhẹ + thanh accent gradient trái: đủ "được thiết kế" trên desktop
   mà vẫn giữ sự nghiêm túc của nội dung disclaimer. */
.prose {
  position: relative;
  max-width: 760px; margin-inline: auto; display: grid; gap: 16px;
  padding: clamp(24px, 3.5vw, 40px) clamp(24px, 3.5vw, 40px) clamp(24px, 3.5vw, 40px) clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, .66);
  border: 1.5px solid var(--vien);
  border-radius: var(--bo-goc-lon);
}
.prose::before {
  content: ""; position: absolute; left: -1.5px; top: 26px; bottom: 26px;
  width: 4px; border-radius: 4px;
  background: var(--grad-brand);
}

/* Mục lục pill cho /chinh-sach/ — nhảy neo tới từng .faq-item (accordion tự mở
   theo :target trên trình duyệt hiện đại), tái dùng token màu có sẵn. */
.policy-nav { max-width: 760px; margin: clamp(16px, 4vw, 32px) auto 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.policy-nav a {
  padding: 8px 14px; border-radius: 999px;
  background: var(--the); border: 1.5px solid var(--vien);
  font-size: .8125rem; font-weight: 600; color: var(--muc-2);
  transition: border-color var(--t-nhanh) var(--ease), color var(--t-nhanh) var(--ease);
}
.policy-nav a:hover { border-color: var(--man); color: var(--man-dam); }
.prose h2 { margin-top: 22px; font-size: clamp(1.375rem, 2vw + .6rem, 1.75rem); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muc-2); font-size: .9688rem; }
.prose strong { color: var(--muc); }
.prose ul { padding-left: 22px; display: grid; gap: 8px; margin: 0; }

/* ---------- Disclosure footer ---------- */
.footer-disclosure {
  padding-block: 22px 0;
  font-size: .8125rem; line-height: 1.65; color: #BDA091;
  border-top: 1px solid rgba(246, 168, 60, .18);
}

/* ---------- Trang giới thiệu ---------- */
.story-quote {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.1875rem, 1.8vw, 1.4375rem); line-height: 1.45;
  padding-left: 20px; border-left: 4px solid var(--cam);
  color: var(--muc);
}

/* ---------- Trang cảm ơn ---------- */
.thanks-hero { min-height: 100svh; display: grid; place-items: center; padding-block: 120px 80px; position: relative; overflow: clip; }
.thanks-card {
  max-width: 620px; text-align: center;
  display: grid; gap: 18px; justify-items: center;
  padding: clamp(36px, 5vw, 56px);
  background: var(--kinh);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--kinh-vien);
  border-radius: clamp(28px, 4vw, 40px);
  box-shadow: var(--bong-noi);
}
.thanks-icon {
  width: 84px; height: 84px; border-radius: 28px;
  background: var(--grad-cta); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--bong-cta);
  animation: thanks-pop .7s var(--ease) both;
}
.thanks-icon svg { width: 42px; height: 42px; }
@keyframes thanks-pop {
  from { transform: scale(.5) rotate(-8deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}
.thanks-apps { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.thanks-apps .mini-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--vien-2);
  font-size: .875rem; font-weight: 600;
}
.thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-cham) var(--ease), transform var(--t-cham) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 90ms; }
.reveal-d2 { transition-delay: 180ms; }
.reveal-d3 { transition-delay: 270ms; }

/* Hero vào trang */
.hero-enter { animation: hero-vao .8s var(--ease) both; }
.hero-enter-2 { animation: hero-vao .8s var(--ease) .12s both; }
.hero-enter-3 { animation: hero-vao .8s var(--ease) .24s both; }
.hero-enter-4 { animation: hero-vao .9s var(--ease) .2s both; }
@keyframes hero-vao {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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