/* ============================================================
   Trang "Trải nghiệm sinh viên" (Student Experience) — module student-experience.
   Port từ _design-reference/.../page-hero-shared.css (hf-phero, hf-org-*,
   hf-quality-*, hf-pd-bullet/hf-pd-careers) + program-detail-blocks.css
   (hf-explore-*) + pages-about-org-faculty.css (hf-exp5 responsive) +
   app-shell.css (hf-reveal stagger) + tokens-and-header.css (hf-dd-ext).
   Conditional enqueue: chỉ trang có block acf_fc_layout tiền tố "experience_".
   ============================================================ */

/* ---- Design tokens (mỗi component CSS conditional-load độc lập —
   không kế thừa token từ about-page.css/admission-page.css). ---- */
:root {
  --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-soft:   #f5f8fc;
  --radius:    4px;
  --radius-lg: 6px;
  --shadow-sm: 0 2px 8px rgba(20,33,61,.06);
  --shadow-md: 0 10px 30px rgba(20,33,61,.10);
  --shadow-lg: 0 10px 28px rgba(20,33,61,.10);
  --maxw:      1360px;
  --gut:       32px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

.hf-phero, .hf-explore-grid, .hf-org-grid, .hf-exp-helpdesk, .hf-cta-band {
  font-family: 'Mulish', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---- Resets có phạm vi, giống about-page.css/admission-page.css ----
   :not(.hf-btn) — tránh reset đè màu chữ nút CTA (.hf-btn-white có specificity
   1 class, thua a{} nếu không loại trừ, gây nút trắng-trên-trắng). */
.hf-phero a:not(.hf-btn), .hf-cta-band a:not(.hf-btn),
.hf-phero button:not(.hf-btn), .hf-cta-band button:not(.hf-btn) { color: inherit; text-decoration: none; }
.hf-phero h1, .hf-phero h2, .hf-phero h3,
.hf-explore-grid h1, .hf-explore-grid h2, .hf-explore-grid h3,
.hf-org-grid h1, .hf-org-grid h2, .hf-org-grid h3,
.hf-exp-helpdesk h1, .hf-exp-helpdesk h2, .hf-exp-helpdesk h3,
.hf-cta-band h1, .hf-cta-band h2 {
  margin: 0; line-height: 1.16; letter-spacing: -.01em; font-weight: 700;
}

.hf-exp-shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

/* ---- Section wrapper dùng chung ---- */
.hf-section { padding: 80px 0; }
.hf-section.soft { background: var(--bg-soft); }
/* Anchor mega-menu (#cam-nang-sinh-vien / #ho-tro-sinh-vien): chừa chỗ cho header fixed ~140px. */
.hf-section[id] { scroll-margin-top: 140px; }
.hf-head { margin-bottom: 40px; }
.hf-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-top: 10px; }
.hf-head p { font-size: 16px; color: var(--ink-soft); margin-top: 10px; }

.hf-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange);
}
.hf-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--orange); }

.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; transition: transform .16s var(--ease), box-shadow .2s, background .2s; cursor: pointer; }
.hf-btn-white { background: #fff; color: var(--blue); }
.hf-btn-lg { padding: 16px 30px; font-size: 16.5px; }
.hf-btn:hover { transform: translateY(-2px); }

/* ============ Breadcrumb (dùng trong hero) ============ */
.hf-phero .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-phero .hf-crumb.light { color: rgba(255,255,255,.78); }
.hf-phero .hf-crumb a:hover { color: #fff; }
.hf-phero .hf-crumb span[aria-current] { color: #fff; }

/* ============ Hero — nền màu đặc, KHÔNG ảnh nền ============ */
.hf-phero { background: var(--blue-700); color: #fff; padding: 46px 0 56px; }
.hf-phero.orange { background: #b85419; }
.hf-phero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; margin: 14px 0 14px; }
.hf-phero p { font-size: 17px; color: #dbe5f5; max-width: 620px; }
.hf-phero.orange p { color: #ffeede; }

/* ============ Hành trình của bạn tại HUFLIT (explore, 5 thẻ) ============ */
.hf-explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hf-explore-card { position: relative; display: block; text-align: left; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s; }
.hf-explore-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.hf-explore-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 4px; background: var(--bg-soft); color: var(--orange); margin-bottom: 16px; }
.hf-explore-card h3 { font-size: 18px; margin-bottom: 8px; }
.hf-explore-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 14px; }
.hf-explore-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 14px; color: var(--blue); transition: gap .16s; }
.hf-explore-card:hover .hf-explore-link { gap: 12px; }
.hf-dd-ext { display: grid; place-items: center; color: var(--muted); position: absolute; top: 16px; right: 18px; }

/* Grid 5 thẻ: 3 cột desktop (2 hàng, hàng cuối 2 thẻ), 2 cột tablet, 1 cột mobile */
.hf-exp5 { grid-template-columns: repeat(3, 1fr); }
.hf-exp5 .hf-explore-card { position: relative; }
@media (max-width: 960px) { .hf-exp5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hf-exp5 { grid-template-columns: 1fr; } }

/* ============ Sổ tay học đường (org-grid, 4 thẻ ngang) ============ */
.hf-org-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.hf-org-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.hf-org-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; background: var(--bg-soft); color: var(--blue); flex-shrink: 0; }
.hf-org-card h3 { font-size: 17px; margin-bottom: 6px; }
.hf-org-card p { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 640px) { .hf-org-grid { grid-template-columns: 1fr; } }

/* ============ Help desk sinh viên ============ */
.hf-exp-helpdesk { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hf-quality-copy h3 { font-size: 24px; margin-bottom: 14px; }
.hf-quality-copy p { font-size: 16px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 20px; }
.hf-pd-careers { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.hf-pd-careers li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--ink); font-weight: 600; }
.hf-pd-bullet { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; background: var(--orange-50); color: var(--orange); flex-shrink: 0; }
.hf-quality-stats { display: flex; flex-direction: column; gap: 16px; }
.hf-quality-stats > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); }
.hf-quality-stats strong { display: block; font-size: 34px; font-weight: 700; color: var(--blue); letter-spacing: -.02em; }
.hf-quality-stats span { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
@media (max-width: 860px) { .hf-exp-helpdesk { grid-template-columns: 1fr; } }

/* ============ CTA band cuối trang ============ */
.hf-cta-band { background: var(--orange); color: #fff; padding: 60px 0; }
.hf-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.hf-cta-copy h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 12px 0 12px; max-width: 600px; }
.hf-cta-copy p { font-size: 16.5px; color: #fff5ee; max-width: 560px; }
.hf-cta-actions { flex-shrink: 0; }

/* ============ Reveal animation ============ */
.hf-reveal {
  opacity: 0; transform: translateY(56px) scale(.97); filter: blur(6px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  will-change: opacity, transform, filter;
}
.hf-reveal.in { opacity: 1; transform: none; filter: blur(0); }
.hf-reveal .hf-explore-card, .hf-reveal .hf-org-card {
  opacity: 0; transform: translateY(26px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.hf-reveal.in .hf-explore-card, .hf-reveal.in .hf-org-card {
  opacity: 1; transform: none;
}
.hf-reveal :is(.hf-explore-card, .hf-org-card):nth-child(1) { transition-delay: .04s; }
.hf-reveal :is(.hf-explore-card, .hf-org-card):nth-child(2) { transition-delay: .10s; }
.hf-reveal :is(.hf-explore-card, .hf-org-card):nth-child(3) { transition-delay: .16s; }
.hf-reveal :is(.hf-explore-card, .hf-org-card):nth-child(4) { transition-delay: .22s; }
.hf-reveal :is(.hf-explore-card, .hf-org-card):nth-child(n+5) { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  .hf-reveal, .hf-reveal * { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* ============ Responsive ============ */
@media (max-width: 720px) {
  .hf-phero { padding: 34px 0 40px; }
  .hf-cta-in { text-align: center; justify-content: center; }
}
