/* ============================================================
   Trang "Lý do chọn HUFLIT" — module why-huflit-page (SELF-CONTAINED).
   Port từ _design-reference/HUFLIT-standalone-260715/assets/css/site.css.
   Conditional enqueue: chỉ trang có block acf_fc_layout tiền tố "whyhuflit_".

   ⚠ SCOPE BẮT BUỘC: mọi rule component đặt dưới `.hf-page` (wrapper <main> của trang này).
   Lý do: các class dùng chung (.hf-shell, .hf-section, .hf-eyebrow, .hf-btn, .hf-crumb…)
   cũng được HEADER/MEGA-MENU + FOOTER dùng. File này load SAU mega-menu.css → nếu để class
   TRẦN sẽ ĐÈ định nghĩa gốc, làm mega/footer trên trang này bị co. Mọi module khác đều scope
   (`.hf-pd .hf-shell`, `.hf-pgp .hf-shell`, `:where(.hf-khoa) .hf-shell`…) — theo đúng convention đó.
   Namespace RIÊNG của module = hf-why5-* (cũng scope cho nhất quán).
   ============================================================ */

/* ---- Font 'Mulish' (family TRƠN) — theme chỉ có family theo weight; khai lại trỏ file self-host. GLOBAL (font vô hại). ---- */
@font-face { font-family: 'Mulish'; font-weight: 400; font-style: normal; font-display: swap; src: url(font/Mulish-Regular.woff2) format('woff2'), url(font/Mulish-Regular.woff) format('woff'); }
@font-face { font-family: 'Mulish'; font-weight: 500; font-style: normal; font-display: swap; src: url(font/Mulish-Medium.woff2) format('woff2'), url(font/Mulish-Medium.woff) format('woff'); }
@font-face { font-family: 'Mulish'; font-weight: 600; font-style: normal; font-display: swap; src: url(font/Mulish-SemiBold.woff2) format('woff2'), url(font/Mulish-SemiBold.woff) format('woff'); }
@font-face { font-family: 'Mulish'; font-weight: 700; font-style: normal; font-display: swap; src: url(font/Mulish-Bold.woff2) format('woff2'), url(font/Mulish-Bold.woff) format('woff'); }
@font-face { font-family: 'Mulish'; font-weight: 800; font-style: normal; font-display: swap; src: url(font/Mulish-ExtraBold.woff2) format('woff2'), url(font/Mulish-ExtraBold.woff) format('woff'); }

/* ---- Tokens + base ĐẶT TRÊN .hf-page (KHÔNG dùng :root global — tránh rò biến sang chrome dùng chung) ---- */
.hf-page {
  --blue: #17479D; --orange: #EE6823; --blue-700: #0f3270; --blue-50: #eef3fb;
  --blue-100: #dde7f6; --orange-50: #fdf0e7; --ink: #14213d; --ink-soft: #4a5a76;
  --muted: #7a879c; --line: #e4eaf2; --bg: #ffffff; --bg-soft: #f5f8fc;
  --radius: 4px; --radius-lg: 6px; --radius-sm: 3px;
  --shadow-sm: 0 1px 3px rgba(20,33,61,.05); --shadow-md: 0 4px 14px rgba(20,33,61,.07);
  --shadow-lg: 0 10px 28px rgba(20,33,61,.10);
  --maxw: 1360px; --gut: 32px; --ease: cubic-bezier(.22,.61,.36,1);
  font-family: 'Mulish', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
}
.hf-page, .hf-page *, .hf-page *::before, .hf-page *::after { box-sizing: border-box; }
.hf-page h1, .hf-page h2, .hf-page h3 { margin: 0; line-height: 1.16; letter-spacing: -.01em; font-weight: 700; }
.hf-page a { text-decoration: none; }
.hf-page img { max-width: 100%; }

.hf-page .hf-shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); width: 100%; }

.hf-page .hf-section { padding: 84px 0; }
.hf-page .hf-section.soft { background: var(--bg-soft); }
.hf-page .hf-head { max-width: 640px; margin-bottom: 40px; }
.hf-page .hf-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.hf-page .hf-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 14px 0 14px; }
.hf-page .hf-head p { font-size: 17px; color: var(--ink-soft); }

.hf-page .hf-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.hf-page .hf-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--orange); }
.hf-page .hf-eyebrow.center { justify-content: center; }

.hf-page .hf-btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px; border-radius: 4px; font-weight: 800; font-size: 15px; white-space: nowrap; text-decoration: none; transition: transform .16s var(--ease), box-shadow .2s, background .2s; }
.hf-page .hf-btn:hover { transform: translateY(-2px); }
.hf-page .hf-btn-white { background: #fff; color: var(--blue); }
.hf-page .hf-btn-lg { padding: 16px 30px; font-size: 16.5px; }

/* ---- Breadcrumb (trong hero) ---- */
.hf-page .hf-crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.7); margin-bottom: 10px; flex-wrap: wrap; }
.hf-page .hf-crumb.light { color: rgba(255,255,255,.78); }
.hf-page .hf-crumb svg { opacity: .5; }
.hf-page .hf-crumb a { color: inherit; }
.hf-page .hf-crumb a:hover { color: #fff; }
.hf-page .hf-crumb span[aria-current] { color: #fff; }

/* ============ Hero ============ */
.hf-page .hf-about-hero { position: relative; min-height: 86vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hf-page .hf-about-hero-bg { position: absolute; inset: 0; z-index: 0; }
.hf-page .hf-about-hero-bg > div:first-child { width: 100%; height: 100%; transform: scale(1.04); }
.hf-page .hf-about-hero-ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,44,.55) 0%, rgba(8,20,44,.45) 45%, rgba(8,20,44,.92) 100%); }
.hf-page .hf-about-hero-in { position: relative; z-index: 1; max-width: 760px; padding: 120px 0 90px; }
.hf-page .hf-about-hero-in h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -.02em; line-height: 1.06; margin: 18px 0 18px; }
.hf-page .hf-about-hero-in p { font-size: clamp(16px, 1.6vw, 19px); color: #dbe5f5; max-width: 600px; }
.hf-page .hf-about-hero-scroll { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 1; }
.hf-page .hf-about-hero-scroll span { display: block; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.55); border-radius: 999px; position: relative; }
.hf-page .hf-about-hero-scroll span::before { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 999px; background: #fff; }

/* ============ Khối 5 lý do (overview grid) ============ */
.hf-page .hf-why5-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.hf-page .hf-why5-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 16px 24px; color: var(--ink); text-decoration: none; transition: transform .22s var(--ease), box-shadow .22s, border-color .22s; }
.hf-page .hf-why5-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.hf-page .hf-why5-no { position: absolute; top: 8px; right: 14px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--blue-50); pointer-events: none; }
.hf-page .hf-why5-ic { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--blue); color: #fff; transition: background .22s, transform .22s var(--ease); }
.hf-page .hf-why5-card:hover .hf-why5-ic { background: var(--orange); transform: scale(1.08) rotate(-4deg); }
.hf-page .hf-why5-card h3 { font-size: 14.5px; font-weight: 700; line-height: 1.45; color: var(--ink); flex: 1; }
.hf-page .hf-why5-more { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--blue); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.hf-page .hf-why5-card:hover .hf-why5-more { opacity: 1; transform: none; }

/* ============ 5 section chi tiết ============ */
.hf-page .hf-why5-detail { display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; align-items: center; }
.hf-page .hf-why5-detail.flip .hf-why5-media { order: 2; }
.hf-page .hf-why5-media { position: relative; }
.hf-page .hf-why5-media-no { position: absolute; bottom: -30px; right: 18px; font-size: 96px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--blue); opacity: .14; pointer-events: none; }
.hf-page .hf-why5-detail.flip .hf-why5-media-no { right: auto; left: 18px; }
.hf-page .hf-why5-copy h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; margin: 10px 0 14px; }
.hf-page .hf-why5-copy p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 12px; }
.hf-page .hf-why5-copy p.hf-why5-lead { font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.hf-page .hf-why5-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hf-page .hf-why5-chip { background: var(--blue-50); border-left: 3px solid var(--orange); border-radius: 4px; padding: 12px 18px; min-width: 130px; }
.hf-page .hf-why5-chip strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--blue); }
.hf-page .hf-why5-chip span { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }

/* ============ Statsband ============ */
.hf-page .hf-statsband { background: var(--blue); }
.hf-page .hf-why5-statsrow { display: grid; grid-template-columns: repeat(4, 1fr); }
.hf-page .hf-why5-stat { padding: 38px 18px; text-align: center; color: #fff; position: relative; }
.hf-page .hf-why5-stat + .hf-why5-stat::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 1px; background: rgba(255,255,255,.18); }
.hf-page .hf-why5-stat strong { display: block; font-size: clamp(32px, 4vw, 46px); font-weight: 700; letter-spacing: -.03em; }
.hf-page .hf-why5-stat span { font-size: 14px; color: #b9cae8; font-weight: 600; }

/* ============ CTA band ============ */
.hf-page .hf-cta-band { background: var(--orange); color: #fff; padding: 60px 0; }
.hf-page .hf-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.hf-page .hf-cta-copy h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 12px 0 12px; max-width: 600px; }
.hf-page .hf-cta-copy p { font-size: 16.5px; color: #fff5ee; max-width: 560px; }
.hf-page .hf-cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hf-page .hf-cta-link { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; opacity: .9; }
.hf-page .hf-cta-link:hover { opacity: 1; }

/* ============ Responsive (port đúng breakpoint design) ============ */
@media (max-width: 960px) {
  .hf-page .hf-why5-grid { grid-template-columns: repeat(2, 1fr); }
  .hf-page .hf-why5-detail { grid-template-columns: 1fr; gap: 30px; }
  .hf-page .hf-why5-detail.flip .hf-why5-media { order: 0; }
  .hf-page .hf-why5-statsrow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .hf-page .hf-about-hero { min-height: 70vh; }
  .hf-page .hf-about-hero-in { padding: 90px 0 60px; }
  .hf-page .hf-cta-in { text-align: center; justify-content: center; }
}
@media (max-width: 600px) {
  .hf-page { --gut: 18px; }
  .hf-page .hf-section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .hf-page .hf-why5-grid { grid-template-columns: 1fr; }
}
