/* =====================================================================
   EEC – CLB Tiếng Anh Khoa Kinh tế và Quản lý · VNUA
   Bảng màu: đỏ đô chủ đạo + vàng làm điểm nhấn (biến --g* = màu chủ đạo)
   ===================================================================== */
:root {
  --g950: #2a0609;
  --g900: #4a0c12;
  --g800: #6b1219;
  --g700: #8b1a22;
  --g600: #a8202a;
  --g500: #c62f37;
  --g300: #f0a3a6;
  --g100: #fbe4e4;
  --g50:  #fdf3f2;
  --gold: #ffc23d;
  --gold-600: #f2a900;
  --coral: #ff8a3d;
  --cream: #fbf8f1;
  --ink: #1f1214;
  --muted: #6b5a5c;
  --line: #ecdfdd;
  --white: #fff;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 12px 30px -14px rgba(74, 12, 18, .28);
  --shadow-lg: 0 30px 70px -24px rgba(74, 12, 18, .42);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1180px;
  --top-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; -webkit-appearance: none; appearance: none; }
/* Nút biểu tượng: giữ icon nằm chính giữa (Safari iPhone tự thêm khoảng đệm cho nút) */
.modal__close svg, .gal__nav svg, .to-top svg, .event-bar__close svg { display: block; flex: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
section[id], footer[id] { scroll-margin-top: calc(var(--top-h) + 48px); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--left { transform: translateX(-40px); }
.js .reveal--scale { transform: scale(.92); }

/* ---------- Progress bar ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  transform-origin: 0 50%; transform: scaleX(0);
  z-index: 100;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn svg { transition: transform .3s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--g700); color: #fff; box-shadow: 0 14px 30px -12px rgba(139, 26, 34, .7); }
.btn--primary:hover { background: var(--g800); box-shadow: 0 18px 36px -12px rgba(139, 26, 34, .8); }
.btn--ghost { background: #fff; color: var(--g800); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--g500); }
.btn--ghost:hover svg { transform: none; }
.btn--gold { background: var(--gold); color: var(--g950); box-shadow: 0 14px 30px -12px rgba(242, 169, 0, .8); }
.btn--gold:hover { background: #ffcf5f; }
.btn--gold:hover svg { transform: rotate(-8deg) scale(1.08); }

/* =====================================================================
   TOP: event bar + header
   ===================================================================== */
.topwrap { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; }

.event-bar {
  background: linear-gradient(90deg, var(--g950), var(--g800) 55%, var(--g700));
  color: #fff; font-size: 14px;
  overflow: hidden; position: relative;
}
.event-bar::after { /* shimmer */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .12) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: shimmer 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer { 0%, 30% { transform: translateX(-100%); } 70%, 100% { transform: translateX(100%); } }
.event-bar__inner { display: flex; align-items: center; gap: 14px; min-height: 46px; padding-top: 6px; padding-bottom: 6px; position: relative; z-index: 1; }
.event-bar__badge {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  background: var(--gold); color: var(--g950);
  font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.event-bar__badge.is-live { background: var(--coral); color: #fff; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }
.event-bar__title { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; text-align: left; }
.event-bar__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.event-bar__count { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--gold); white-space: nowrap; margin-left: auto; flex: none; }
.event-bar__btn {
  flex: none; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 13px;
  border: 1.5px solid rgba(255, 255, 255, .45); transition: background .25s, color .25s, border-color .25s;
}
.event-bar__btn:hover { background: #fff; color: var(--g900); border-color: #fff; }
.event-bar__close { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; opacity: .75; transition: background .2s, opacity .2s; }
.event-bar__close:hover { opacity: 1; background: rgba(255, 255, 255, .15); }
@media (max-width: 720px) {
  .event-bar__inner { flex-wrap: wrap; gap: 6px 10px; }
  .event-bar__badge { order: 0; }
  .event-bar__title { order: 1; flex: 1 1 calc(100% - 150px); }
  .event-bar__count { order: 2; margin: 0 auto 0 0; }
  .event-bar__btn { order: 3; }
  .event-bar__close { order: 4; }
}

.header {
  background: rgba(251, 248, 241, .82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(74, 12, 18, .45); border-color: var(--line); background: rgba(255, 255, 255, .9); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--top-h); transition: height .3s var(--ease); }
.header.is-scrolled .header__inner { height: 62px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden; flex: none;
  background: linear-gradient(135deg, var(--g700), var(--g500));
  color: #fff; box-shadow: 0 6px 18px -8px rgba(139, 26, 34, .8);
  transition: transform .5s var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-10deg) scale(1.05); }
.brand__logo b { font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.brand__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.brand__logo:has(img) { background: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 19px; font-weight: 800; color: var(--g900); letter-spacing: .02em; }
.brand__text small { font-size: 12px; color: var(--muted); font-weight: 500; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: rgba(255, 255, 255, .6); }

.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 14px; font-weight: 600; font-size: 15px; color: var(--g900);
  border-radius: 999px; transition: color .25s, background .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--gold-600); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--g700); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.lang {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  background: var(--g100); border-radius: 999px; padding: 4px;
}
.lang button { position: relative; z-index: 1; padding: 6px 12px; font-size: 13px; font-weight: 800; color: var(--g800); transition: color .3s; min-width: 42px; }
.lang button.is-active { color: #fff; }
.lang__pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  background: var(--g700); border-radius: 999px; transition: transform .4s var(--ease);
  box-shadow: 0 4px 12px -4px rgba(139, 26, 34, .7);
}
.lang[data-active="en"] .lang__pill { transform: translateX(100%); }

.burger { display: none; width: 42px; height: 42px; border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--g900); transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .burger { display: block; }
  .header__actions { margin-left: auto; }
  .nav {
    position: absolute; left: 12px; right: 12px; top: calc(100% + 8px);
    flex-direction: column; gap: 2px; padding: 10px;
    background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav a { padding: 12px 16px; font-size: 16px; }
  .nav a::after { display: none; }
  .nav a:hover, .nav a.is-active { background: var(--g50); }
  .header { position: relative; }
  .brand__text small { display: none; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; background: #f6c9c9; top: -160px; right: -120px; animation: drift 14s ease-in-out infinite alternate; }
.blob--2 { width: 380px; height: 380px; background: #ffe3a3; bottom: -60px; left: -120px; animation: drift 18s ease-in-out infinite alternate-reverse; }
.blob--3 { width: 260px; height: 260px; background: #ffd0c2; top: 40%; left: 45%; opacity: .35; animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(74, 12, 18, .12) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; min-height: 480px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: var(--g700); text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-600); border-radius: 2px; flex: none; }
.hero__title { font-size: clamp(40px, 6.2vw, 76px); font-weight: 800; color: var(--g900); letter-spacing: -.035em; line-height: 1.08; }
.rotator { position: relative; display: inline-block; color: var(--g600); }
.rotator > span { display: inline-block; position: relative; z-index: 1; }
.rotator::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: .08em; height: .32em;
  background: var(--gold); opacity: .55; border-radius: 6px; z-index: 0;
  transform-origin: left; animation: underline 1s var(--ease) .6s both;
}
@keyframes underline { from { transform: scaleX(0); } }
.rotator .is-out { animation: wordOut .35s var(--ease) forwards; }
.rotator .is-in { animation: wordIn .5s var(--ease) both; }
@keyframes wordOut { to { opacity: 0; transform: translateY(-.4em); filter: blur(4px); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(.5em); filter: blur(4px); } }
.hero__lead { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__visual { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin-left: auto; }
.orb { position: absolute; inset: 8%; display: grid; place-items: center; }
.orb__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(139, 26, 34, .3); animation: spin 40s linear infinite; }
.orb__ring--2 { inset: 12%; border-style: solid; border-color: rgba(255, 194, 61, .55); border-width: 2px; animation-duration: 26s; animation-direction: reverse; }
.orb__ring--2::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(255, 194, 61, .25); }
.orb__ring--1::before { content: ""; position: absolute; bottom: 12%; right: 4%; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
@keyframes spin { to { transform: rotate(360deg); } }
.orb__core {
  position: relative; width: 62%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 30% 25%, var(--g500), var(--g800) 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff;
  box-shadow: var(--shadow-lg), inset 0 -20px 40px rgba(0, 0, 0, .2);
  animation: float 6s ease-in-out infinite;
}
.orb__core img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.orb__logo { font-size: clamp(44px, 6vw, 68px); font-weight: 800; letter-spacing: .02em; line-height: 1; }
.orb__core small { font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; opacity: .85; margin-top: 8px; max-width: 80%; text-align: center; line-height: 1.5; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.bubble {
  position: absolute; padding: 10px 16px; border-radius: 18px; font-weight: 700; font-size: 15px;
  background: #fff; color: var(--g900); box-shadow: var(--shadow); white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}
.bubble::after { content: ""; position: absolute; width: 14px; height: 14px; background: inherit; bottom: -5px; left: 22px; transform: rotate(45deg); border-radius: 3px; }
.bubble--1 { top: 6%; left: 0; animation-delay: -1s; }
.bubble--2 { top: 18%; right: -2%; background: var(--gold); animation-delay: -2.4s; }
.bubble--2::after { left: auto; right: 22px; }
.bubble--3 { bottom: 14%; left: -4%; background: var(--g700); color: #fff; animation-delay: -3.2s; }
.bubble--4 { bottom: 4%; right: 6%; animation-delay: -.4s; }
.bubble--4::after { left: auto; right: 22px; }
.tag {
  position: absolute; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85); color: var(--g700);
  border: 1px solid var(--g100); animation: float 7s ease-in-out infinite;
}
.tag--1 { top: 44%; left: -6%; animation-delay: -2s; }
.tag--2 { top: 2%; right: 26%; animation-delay: -4s; }
.tag--3 { top: 52%; right: -6%; animation-delay: -1.2s; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px;
}
.stat {
  background: #fff; border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--line);
  box-shadow: 0 6px 20px -16px rgba(74, 12, 18, .4);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat__num { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; color: var(--g700); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat__num em { font-style: normal; color: var(--gold-600); }
.stat__label { font-size: 14px; color: var(--muted); font-weight: 500; margin-top: 4px; }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
  .hero__visual { max-width: 360px; margin: 8px auto 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding-top: 36px; }
  .hero__lead { font-size: 16px; }
  .hero__visual { max-width: 300px; }
  .bubble { font-size: 13px; padding: 8px 12px; }
  .tag--1 { left: -2%; }
  .tag--3 { right: -2%; }
  .stats { gap: 10px; margin-top: 32px; }
  .stat { padding: 16px; }
  .btn { padding: 13px 20px; }
}

/* ---------- Ribbon ---------- */
.ribbon-wrap { overflow: hidden; padding: 28px 0 12px; }
.ribbon { background: var(--g900); color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg) scaleX(1.02); box-shadow: 0 12px 30px -14px rgba(42, 6, 9, .6); }
.ribbon__track { display: flex; gap: 28px; width: max-content; animation: marquee 32s linear infinite; font-weight: 700; font-size: 18px; letter-spacing: .02em; align-items: center; }
.ribbon__track i { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { padding: 110px 0; position: relative; }
@media (max-width: 600px) { .section { padding: 72px 0; } }
.section-head { max-width: 680px; margin-bottom: 52px; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--g700); background: var(--g100); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; color: var(--g900); }
.section-head p { margin-top: 14px; font-size: 18px; color: var(--muted); }
.section-head--light .kicker { background: rgba(255, 255, 255, .1); color: var(--gold); }
.section-head--light h2 { color: #fff; }
.section-head--light p { color: rgba(255, 255, 255, .7); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; }
.about__story p { font-size: 17px; color: #3d2a2c; margin-bottom: 18px; }
.about__story p:first-child::first-letter {
  float: left; font-size: 64px; line-height: .9; font-weight: 800; color: var(--g700);
  margin: 6px 12px 0 0;
}
.about__story p:last-child {
  margin-bottom: 0; padding: 18px 22px; border-left: 4px solid var(--gold); background: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-weight: 600; color: var(--g900);
}
.about__card {
  background: linear-gradient(160deg, var(--g800), var(--g950));
  color: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.about__card::before {
  content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 194, 61, .35), transparent 70%);
}
.about__card h3 { font-size: 20px; margin-bottom: 18px; position: relative; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: relative; }
.fact { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.fact:first-child { border-top: 0; }
.fact__ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--gold); display: grid; place-items: center; flex: none; transition: transform .4s var(--ease), background .3s; }
.fact:hover .fact__ic { transform: rotate(-8deg) scale(1.08); background: rgba(255, 194, 61, .18); }
.fact small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .55); font-weight: 600; }
.fact span { font-weight: 600; font-size: 15px; line-height: 1.45; }

.sub-title { font-size: 26px; font-weight: 800; color: var(--g900); margin: 80px 0 28px; display: flex; align-items: center; gap: 14px; }
.sub-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Leaders timeline */
.leaders-wrap { overflow-x: auto; margin: 0 -24px; padding: 8px 24px 20px; scrollbar-width: thin; }
.leaders {
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 18px; min-width: 100%;
}
/* Thanh tiến trình: mỗi mốc vẽ 1 đoạn nối tới mốc kế tiếp, chạy lần lượt 01 → 07 */
.leader::before {
  content: ""; position: absolute; left: 0; right: -18px; top: 27px; height: 3px; z-index: 0;
  background: var(--g500); transform: scaleX(0); transform-origin: left;
  transition: transform .45s linear; transition-delay: calc(var(--d, 0s) + .1s);
}
.leader:last-child::before { display: none; }
.leaders.is-in .leader::before { transform: scaleX(1); }
.leader { position: relative; padding-top: 70px; }
/* Các thẻ hiện lần lượt khi cả dòng thời gian vào màn hình (không phụ thuộc từng thẻ có đang hiện hay không) */
.js .leader { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .leaders.is-in .leader { opacity: 1; transform: none; }
.leader__dot {
  position: absolute; top: 8px; left: 0; z-index: 1; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 3px solid var(--g500); display: grid; place-items: center;
  font-weight: 800; font-size: 14px; color: var(--g700);
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.leader:last-child .leader__dot { border-color: var(--gold-600); background: var(--gold); color: var(--g950); }
.leader__card {
  background: #fff; border-radius: var(--radius-sm); padding: 18px; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.leader:hover .leader__card { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--g300); }
.leader:hover .leader__dot { transform: scale(1.15); background: var(--g700); color: #fff; }
.leader__term { font-size: 13px; font-weight: 800; color: var(--gold-600); letter-spacing: .03em; }
.leader__name { font-size: 18px; font-weight: 800; color: var(--g900); margin: 4px 0 2px; }
.leader__note { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) {
  /* Điện thoại: dòng thời gian dạng dọc, thanh tiến trình chạy từ trên xuống – không cần vuốt ngang */
  .leaders-wrap { overflow: visible; margin: 0; padding: 4px 0 0; }
  .leaders { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; gap: 14px; width: auto; }
  .leader::before { left: 19px; right: auto; top: 14px; bottom: -28px; width: 3px; height: auto; transform: scaleY(0); transform-origin: top; }
  .leaders.is-in .leader::before { transform: scaleY(1); }
  .leader { padding-top: 0; padding-left: 60px; }
  .leader__dot { top: 14px; }
  .js .leader { transform: translateX(-16px); }
  .js .leaders.is-in .leader { transform: none; }
  .leader:hover .leader__card { transform: none; }
}

@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
}

/* ---------- Achievements ---------- */
.achievements { background: var(--g950); color: #fff; overflow: hidden; }
.achievements::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(198, 47, 55, .35), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(255, 194, 61, .16), transparent 70%);
  pointer-events: none;
}
.achievements .container { position: relative; }
.ach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ach {
  position: relative; padding: 30px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  overflow: hidden; transition: transform .4s var(--ease), border-color .3s, background .3s;
}
.ach::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 194, 61, .18), transparent 45%);
}
.ach:hover { transform: translateY(-8px); border-color: rgba(255, 194, 61, .5); background: rgba(255, 255, 255, .07); }
.ach:hover::before { opacity: 1; }
.ach__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; position: relative; }
.ach__ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-600)); color: var(--g950);
  box-shadow: 0 12px 24px -10px rgba(255, 194, 61, .7);
  transition: transform .5s var(--ease);
}
.ach:hover .ach__ic { transform: rotate(-10deg) scale(1.1); }
.ach__year { font-size: 13px; font-weight: 700; color: var(--g300); background: rgba(240, 163, 166, .1); padding: 5px 12px; border-radius: 999px; }
.ach h3 { font-size: 20px; font-weight: 800; position: relative; }
.ach p { margin-top: 8px; color: rgba(255, 255, 255, .7); font-size: 15px; position: relative; }
/* Thành tích nổi bật: trải rộng hết hàng */
.ach--wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 24px; align-items: center; }
.ach--wide .ach__top { grid-row: 1 / 3; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 0; }
.ach--wide h3 { font-size: 24px; align-self: end; }
.ach--wide p { align-self: start; }
@media (max-width: 960px) { .ach-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ach--wide { display: block; } .ach--wide .ach__top { flex-direction: row; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; } .ach--wide h3 { font-size: 20px; } }
@media (max-width: 600px) { .ach-grid { grid-template-columns: 1fr; } .ach { padding: 24px; } }

/* ---------- Events ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -20px 0 36px; }
.filter {
  padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: #fff; border: 1.5px solid var(--line); color: var(--g800);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.filter:hover { border-color: var(--g500); transform: translateY(-2px); }
.filter.is-active { background: var(--g700); border-color: var(--g700); color: #fff; }
.filter sup { font-size: 11px; opacity: .7; margin-left: 3px; }

.ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ev {
  display: flex; flex-direction: column; text-align: left; width: 100%;
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 8px 24px -18px rgba(74, 12, 18, .45);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.ev:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--g300); }
.ev.pop { animation: pop .6s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.ev__media { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 16 / 11; background: var(--g100); overflow: hidden; }
.ev__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.ev__media img:first-of-type { grid-row: 1 / 3; }
.ev__media img:nth-of-type(4) { display: none; }
.ev:hover .ev__media img { transform: scale(1.07); }
.ev__year {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: var(--gold); color: var(--g950); font-weight: 800; font-size: 13px;
  padding: 5px 12px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35);
}
.ev__count {
  position: absolute; bottom: 12px; right: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(42, 6, 9, .7); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.ev__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ev__num { font-size: 12px; font-weight: 800; color: var(--g500); letter-spacing: .1em; }
.ev__title { font-size: 19px; font-weight: 800; color: var(--g900); margin: 6px 0 8px; }
.ev__summary { font-size: 15px; color: var(--muted); flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ev__more { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--g700); }
.ev__more svg { transition: transform .35s var(--ease); }
.ev:hover .ev__more svg { transform: translateX(5px); }
@media (min-width: 961px) {
  .ev--wide { grid-column: span 2; }
  .ev--wide .ev__media { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr; aspect-ratio: 32 / 10.6; }
  .ev--wide .ev__media img:first-of-type { grid-row: auto; }
}
/* Số ảnh đại diện trên thẻ: 1 hoặc 2 ảnh */
.ev .ev__media[data-n="1"] { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.ev .ev__media[data-n="2"] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.ev .ev__media[data-n="1"] img:first-of-type,
.ev .ev__media[data-n="2"] img:first-of-type { grid-row: auto; }
@media (max-width: 960px) { .ev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .ev-grid { grid-template-columns: 1fr; gap: 18px; }
  /* Điện thoại: thẻ chỉ hiện 1 ảnh đại diện, xem được TRỌN ảnh (không cắt/zoom), nền là chính ảnh đó làm mờ */
  .ev .ev__media { display: block; aspect-ratio: 4 / 3; }
  .ev .ev__media::before {
    content: ""; position: absolute; inset: -30px; z-index: 0;
    background: var(--bg) center / cover no-repeat; filter: blur(22px) brightness(.6) saturate(1.2);
  }
  .ev .ev__media img { display: none; }
  .ev .ev__media img:first-of-type { display: block; position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: center !important; }
  .ev:hover .ev__media img { transform: none; }
  .ev__year, .ev__count { z-index: 2; }
}

/* ---------- Join ---------- */
.join { padding: 0 0 110px; }
.join__card {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 48px 56px; border-radius: 28px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--g700), var(--g900));
  box-shadow: var(--shadow-lg);
}
.join__card::before, .join__card::after { content: ""; position: absolute; border-radius: 50%; }
.join__card::before { width: 300px; height: 300px; right: -60px; top: -140px; background: rgba(255, 194, 61, .22); animation: drift 12s ease-in-out infinite alternate; }
.join__card::after { width: 200px; height: 200px; left: 30%; bottom: -120px; background: rgba(255, 255, 255, .07); }
.join__card > * { position: relative; z-index: 1; }
.join__card h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
.join__card p { margin-top: 10px; color: rgba(255, 255, 255, .78); font-size: 17px; max-width: 560px; }
@media (max-width: 760px) {
  .join { padding-bottom: 72px; }
  .join__card { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .join__card .btn { white-space: normal; }
}

/* =====================================================================
   FOOTER (nền đen, chữ trắng)
   ===================================================================== */
.footer { background: #000; color: #fff; padding: 72px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer__brand p { margin-top: 18px; color: rgba(255, 255, 255, .7); max-width: 360px; font-size: 15px; }
.footer h4 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; color: #fff; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer__links a { color: rgba(255, 255, 255, .75); transition: color .25s, padding .25s; display: inline-flex; align-items: center; min-height: 40px; }
.footer__links a:hover { color: var(--gold); padding-left: 6px; }
.socials { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.social { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; transition: color .25s; }
.social__ic {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .25); transition: background .3s, color .3s, transform .35s var(--ease), border-color .3s;
}
.social:hover { color: var(--gold); }
.social:hover .social__ic { background: #fff; color: #000; border-color: #fff; transform: translateY(-3px) rotate(-6deg); }
.footer__addr { margin-top: 20px; display: flex; gap: 10px; color: rgba(255, 255, 255, .65); font-size: 14px; }
.footer__addr svg { flex: none; margin-top: 3px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; padding-bottom: 26px;
  font-size: 13px; color: rgba(255, 255, 255, .6);
}
.footer__made { color: var(--gold); font-weight: 600; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; gap: 36px; } }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--g950); display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .25s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #ffd067; transform: translateY(-3px); }

/* =====================================================================
   MODALS
   ===================================================================== */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(26, 4, 6, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.modal__panel {
  position: relative; width: 100%; max-height: calc(100dvh - 40px); overflow: auto;
  background: #fff; border-radius: 26px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .4s var(--ease), transform .45s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--g900); display: grid; place-items: center;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .3); transition: transform .3s var(--ease), background .2s;
}
.modal__close:hover { transform: rotate(90deg); background: #fff; }
.modal__panel--up { max-width: 880px; }
.modal__panel--ev { max-width: 1040px; }

/* Upcoming popup */
.up { display: grid; grid-template-columns: .9fr 1.1fr; }
.up__media { position: relative; min-height: 100%; background: linear-gradient(160deg, var(--g700), var(--g950)); overflow: hidden; }
.up__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.up__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(42, 6, 9, .7)); }
.up__badge {
  position: absolute; left: 20px; top: 20px; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--g950); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.up__badge.is-live { background: var(--coral); color: #fff; }
.up__date {
  position: absolute; left: 20px; bottom: 20px; z-index: 1; color: #fff;
  display: flex; align-items: flex-end; gap: 10px; line-height: 1;
}
.up__date b { font-size: 64px; font-weight: 800; }
.up__date span { font-size: 15px; font-weight: 700; padding-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.up__body { padding: 36px 36px 32px; }
.up__body .kicker { margin-bottom: 12px; }
.up__body h3 { font-size: 28px; font-weight: 800; color: var(--g900); padding-right: 36px; }
.up__topic { margin-top: 10px; color: var(--g700); font-weight: 600; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0; }
.cd {
  text-align: center; padding: 14px 6px 10px; border-radius: 16px;
  background: linear-gradient(160deg, var(--g800), var(--g950)); color: #fff; position: relative; overflow: hidden;
}
.cd::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .08); }
.cd b { display: block; font-size: 34px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.cd b.tick { animation: tick .4s var(--ease); }
@keyframes tick { from { transform: translateY(-30%); opacity: .3; } }
.cd small { display: block; margin-top: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 700; }
.live-note { margin: 22px 0; padding: 16px 18px; border-radius: 16px; background: #fff1ec; color: #b23d1c; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.up__meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.up__meta li { display: flex; gap: 12px; align-items: flex-start; }
.up__meta .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--g100); color: var(--g700); flex: none; }
.up__meta small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.up__meta span { font-weight: 600; color: var(--ink); line-height: 1.45; }
.up__desc { margin-top: 16px; color: var(--muted); font-size: 15px; }
.up__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 760px) {
  .up { grid-template-columns: 1fr; }
  .up__media { min-height: 200px; }
  .up__body { padding: 24px 20px; }
  .up__body h3 { font-size: 23px; }
  .cd b { font-size: 26px; }
}

/* Event gallery popup */
.gal { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
@media (min-width: 861px) {
  .gal__viewer { position: sticky; top: 0; }
  .gal { background: linear-gradient(to right, var(--g950) calc(100% * 1.35 / 2.35), #fff 0); }
}
.gal__viewer { background: var(--g950); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.gal__main { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #000; }
/* Xem ảnh lớn: hiện TRỌN ảnh (không cắt), nền là chính ảnh đó làm mờ */
.gal__main::before {
  content: ""; position: absolute; inset: -40px; z-index: 0;
  background: var(--bg) center / cover no-repeat;
  filter: blur(28px) brightness(.55) saturate(1.2);
  transition: background-image .3s;
}
/* scale-down: ảnh lớn thu vừa khung; ảnh nhỏ (độ phân giải thấp) giữ kích thước gốc, nằm giữa – không phóng to gây mờ */
.gal__main img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: scale-down; object-position: center !important; }
.gal__main .gal__nav, .gal__main .gal__counter { z-index: 2; }
.gal__main img.fade { animation: fadeImg .45s var(--ease); }
@keyframes fadeImg { from { opacity: 0; transform: scale(1.03); } }
.gal__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: var(--g900); display: grid; place-items: center;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); transition: transform .25s var(--ease), background .2s;
}
.gal__nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.gal__nav--prev { left: 12px; }
.gal__nav--next { right: 12px; }
.gal__counter { position: absolute; bottom: 12px; left: 12px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.gal__thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 4px; margin: -4px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; }
.gal__thumb { flex: 0 0 calc((100% - 30px) / 4); border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; opacity: .55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .25s, outline-color .25s, transform .25s var(--ease); }
.gal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumb:hover { opacity: .9; transform: translateY(-2px); }
.gal__thumb.is-active { opacity: 1; outline-color: var(--gold); }
.gal__info { padding: 36px 32px 32px; }
.gal__year { display: inline-block; background: var(--gold); color: var(--g950); font-weight: 800; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.gal__info h3 { font-size: 26px; font-weight: 800; color: var(--g900); margin: 14px 40px 10px 0; }
.gal__info > p { color: var(--muted); }
.gal__info h4 { margin: 24px 0 12px; font-size: 15px; font-weight: 800; color: var(--g800); text-transform: uppercase; letter-spacing: .06em; }
.did { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.did li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--g50); border-radius: 12px; font-weight: 500; animation: pop .5s var(--ease) both; animation-delay: var(--d, 0s); }
.did .ic { width: 24px; height: 24px; border-radius: 50%; background: var(--g600); color: #fff; display: grid; place-items: center; flex: none; margin-top: 1px; }
@media (max-width: 860px) {
  .gal { grid-template-columns: minmax(0, 1fr); }
  .gal__info { padding: 24px 20px 28px; }
  .gal__info h3 { font-size: 22px; margin-right: 0; }
  .gal__viewer { padding: 12px; }
}
@media (max-width: 600px) { .modal { padding: 10px; } .modal__panel { max-height: calc(100dvh - 20px); border-radius: 20px; } }

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