.av-ic {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #0b6fb3 0%, #1fa7e6 100%);
  box-shadow: 0 12px 24px -8px rgba(11, 111, 179, .45);
  border: 2px solid rgba(255,255,255,.85);
}

.av-value-ic {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; color: #0b6fb3;
  background: linear-gradient(135deg, #eef8ff 0%, #dceffc 100%);
  box-shadow: 0 8px 18px -8px rgba(11, 111, 179, .35);
  border: 1px solid rgba(11, 111, 179, .18);
}/* ============ FOOTER (restyle) ============ */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #e9f4fb 0%, #dcedf9 100%);
  color: var(--muted);
  padding: 64px 0 0;
  border-top: none;
}
.site-footer::before {
  content: 'VSIA STEM';
  position: absolute;
  right: 3%;
  top: 18px;
  font-family: 'Be Vietnam Pro', 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(10, 61, 102, .08);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.footer-inner, .footer-bottom {
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 44px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(10, 61, 102, .12);
  align-items: start;
}
.footer-brand p {
  font-size: .92rem;
  margin-top: 16px;
  max-width: 36ch;
  color: var(--muted);
}
.footer-brand .footer-tagline {
  font-weight: 700;
  font-size: .96rem;
  color: var(--navy);
  margin-top: 10px;
}
.footer-col h4 {
  color: var(--navy);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: .92rem;
  margin-bottom: 10px;
  color: var(--muted);
  transition: color .2s;
}
.footer-col a:hover { color: var(--blue); }
.footer-brand .logo { margin-bottom: 6px; }
.footer-brand .site-logo-img { height: 74px; }
.footer-brand .wm {
  color: var(--navy);
  font-size: 1.8rem;
}
.footer-brand .tag { color: var(--steel); }
.footer-bottom {
  border-top: none;
  padding: 24px 0 28px;
  font-size: .84rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  text-align: left;
}
.footer-legal { margin-top: 20px; }
.footer-legal p {
  font-size: .86rem;
  margin: 0 0 6px;
  max-width: none;
  color: var(--steel);
}
.footer-legal-name {
  font-weight: 600;
  color: var(--navy) !important;
}
.footer-contact a, .footer-contact span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.footer-contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue);
}/* ============================================================
   VSIA THEME — giao diện xanh dương / hoạ tiết hexagon
   Nạp sau style.css. Định nghĩa lớp mới cho trang chủ + nav/footer
   dùng chung, và restyle các partial dùng lại nhiều nơi
   (course-card, article-card, person-card, partner-tile).
   Không đụng tới .hero/.section-title cũ (dùng ở 3 trang dịch vụ)
   để không phá layout các trang đó.
   ============================================================ */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

.eyebrow {
  font-weight: 700; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue); display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--blue); }

.h-sec { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; color: var(--navy); margin: 16px 0 0; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .h-sec { position: relative; padding-bottom: 22px; }
.center .h-sec::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 64px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--gold));
}
.lead-new { color: #4a5b74; font-size: 1.06rem; max-width: 62ch; margin-top: 16px; }
.center .lead-new { margin-inline: auto; }

.section { padding: 64px 0; }

.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: var(--navy2); }

/* Dark-background ghost button variant (hero/cta/highlight sit on dark bg) */
.hero-home .btn-ghost, .cta .btn-ghost, .highlight .btn-ghost {
  color: #fff; border: 1.5px solid rgba(255, 255, 255, .4); background: transparent;
}
.hero-home .btn-ghost:hover, .cta .btn-ghost:hover, .highlight .btn-ghost:hover {
  border-color: #fff; background: rgba(255, 255, 255, .1); text-decoration: none;
}
.btn-primary:hover { text-decoration: none; }

/* Hexagon pattern helper */
.hexlayer { display: none; }

/* Logo (icon + wordmark), used in header/footer/admin sidebar */
.logo-icon { width: 36px; height: 36px; flex: none; }
.logo-text { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.wm { font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; line-height: 1; }
.tag { font-weight: 600; font-size: .54rem; letter-spacing: .24em; text-transform: uppercase; opacity: .7; display: block; margin-top: 2px; }
.site-header .wm { color: var(--navy); }
.site-header .tag { color: var(--steel); }
.site-header.nav-transparent .wm { color: #fff; }
.site-header.nav-transparent .tag { color: #d6ecfa; }
.admin-sidebar-logo .wm { color: #fff; }

.admin-sidebar-logo .tag { color: #9fb4c9; }

/* ============ NAV ============ */
/* Watermark logo xoay doc, co dinh ben phai, hien tren moi trang */
.site-watermark {
  position: fixed;
  top: 0; right: 0;
  width: 320px; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  opacity: .06;
}
.site-watermark img { width: 560px; max-width: none; height: auto; transform: rotate(90deg); }
@media (max-width: 900px) {
  .site-watermark { display: none; }
}

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.site-header .header-inner { height: 96px; gap: 32px; }

.site-header.nav-transparent {
  background: transparent;
  border-bottom-color: transparent;
}
.site-header.nav-transparent.solid {
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(14px);
  border-bottom-color: var(--border); box-shadow: 0 6px 22px -20px rgba(9, 48, 84, .6);
}
.site-header.nav-transparent .main-nav a { color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.site-header.nav-transparent .main-nav a:hover { color: #8fd4f5; }
.site-header.nav-transparent.solid .main-nav a { color: #40506a; text-shadow: none; }
.site-header.nav-transparent.solid .main-nav a:hover { color: var(--blue); }
.site-header.nav-transparent .nav-toggle span { background: #fff; }
.site-header.nav-transparent.solid .nav-toggle span { background: var(--navy); }
.site-header.nav-transparent .auth-actions .btn-ghost { color: #fff; }
.site-header.nav-transparent.solid .auth-actions .btn-ghost { color: var(--navy); }

.main-nav { gap: 30px; }
.main-nav a { font-size: 1.02rem; font-weight: 600; color: #40506a; transition: color .2s; white-space: nowrap; }
.main-nav a:hover { color: var(--blue); }
.main-nav a.nav-cta {
  padding: 13px 28px; border-radius: 6px; background: var(--blue); color: #fff !important;
  font-weight: 700; box-shadow: 0 10px 22px -10px rgba(26, 143, 209, .7); text-shadow: none !important;
}
.main-nav a.nav-cta:hover { background: var(--blue-d); transform: translateY(-1px); }

.logo-text .wm { font-size: 1.55rem; }
.logo-text .tag { font-size: .6rem; }
.site-logo-img { height: 48px; }
.site-header .site-logo-img { height: 56px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.nav-toggle span + span { margin-top: 5px; }

/* ============ IMAGE PLACEHOLDER (hexagon-pattern) ============ */
.imgph {
  position: relative; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy2), var(--navy-dark));
}
.imgph::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 85% at 12% 8%, rgba(255, 255, 255, .16), transparent 45%), linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, .32));
}
.imgph .hexlayer { color: rgba(255, 255, 255, .14); }
.imgph .cam {
  position: relative; z-index: 3; color: rgba(255, 255, 255, .62);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 0 16px;
}
.imgph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }

/* ============ HERO (trang chủ) ============ */
.hero-home {
  position: relative; margin-top: -97px; padding: 210px 0 150px; color: #fff; overflow: hidden; background: var(--navy);
}
.hero-home-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, #062544, #135f96 55%, #0b4470);
  background-size: cover; background-position: center;
}
/* Nền gradient mặc định (chưa có ảnh thật): hiệu ứng "tan màu" xanh/vàng trang trí */
.hero-home-bg:not(.has-photo)::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(58% 58% at 10% 8%, rgba(56, 182, 241, .55), transparent 68%),
    radial-gradient(50% 46% at 92% 4%, rgba(216, 161, 58, .32), transparent 70%),
    radial-gradient(1000px 500px at 80% 10%, rgba(26, 143, 209, .3), transparent 60%),
    linear-gradient(180deg, rgba(4, 20, 36, .4) 0%, transparent 42%, rgba(4, 20, 36, .7) 100%),
    linear-gradient(90deg, rgba(8, 22, 44, .85) 0%, rgba(8, 22, 44, .45) 55%, rgba(8, 22, 44, .2) 100%);
}
/* Ảnh nền thật do admin tải lên: làm mờ nhẹ + tối bớt, phóng to nhẹ để che mép mờ */
.hero-home-bg.has-photo {
  filter: blur(1px) brightness(0.78);
  transform: scale(1.02);
}
/* Slideshow nhiều ảnh nền: các lớp xếp chồng, chỉ lớp .active hiện, chuyển dần (crossfade) */
.hero-home-bg-slides { position: absolute; inset: 0; z-index: 0; }
.hero-home-bg-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: blur(1px) brightness(0.78);
  transform: scale(1.02);
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-home-bg-slide.active { opacity: 1; }
.hero-home-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(3, 14, 26, .8) 0%, rgba(3, 14, 26, .5) 45%, rgba(3, 14, 26, .24) 100%),
    linear-gradient(180deg, rgba(3, 14, 26, .1) 0%, transparent 35%, rgba(3, 14, 26, .55) 100%);
}
.hero-home .hexlayer { z-index: 2; opacity: .5; color: rgba(255, 255, 255, .09); }
.hero-home-bg.has-photo ~ .hexlayer,
.hero-home-bg-slides ~ .hexlayer { display: none; }
.hero-home-inner {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 26px;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 50px; align-items: center;
}
.hero-home .eyebrow { color: #7ecbf5; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.hero-home .eyebrow::before { background: #7ecbf5; }
.hero-home h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 700; margin: 20px 0 0; max-width: 26ch; color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .4); }
.hero-home h1 em { font-style: italic; color: #8fd4f5; }
.hero-home h1.hero-wordmark {
  font-family: 'Be Vietnam Pro', 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.18;
  max-width: 16ch;
  position: relative;
  padding-bottom: 24px;
}
.hero-home h1.hero-wordmark::after {
  content: ''; position: absolute; left: 2px; bottom: 0;
  width: 76px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}
.hero-home p.sub { font-size: 1.15rem; color: #cfe6f7; margin: 24px 0 0; max-width: 46ch; font-weight: 300; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.hero-home p.sub.sub-lg { font-size: 1.3rem; font-weight: 400; }
.hero-home-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-home-stats { display: grid; grid-template-columns: repeat(2, minmax(230px, 1fr)); gap: 18px 26px; margin-top: 48px; max-width: 580px; }
.hero-home-stats .s {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5);
  transition: background .2s ease, transform .2s ease;
}
.hero-home-stats .s:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.hero-home-stats .s-ic {
  width: 48px; height: 48px; flex: none; border-radius: 12px;
  display: grid; place-items: center; color: #e8c26a;
  background: linear-gradient(135deg, rgba(232, 194, 106, .22), rgba(56, 182, 241, .2));
  border: 1px solid rgba(255, 255, 255, .16);
}
.hero-home-stats .s-ic svg { width: 24px; height: 24px; }
.hero-home-stats .s-body { min-width: 0; }
.hero-home-stats .n { font-family: 'Playfair Display'; font-weight: 700; font-size: 2.1rem; line-height: 1; color: #e8c26a; }
.hero-home-stats .l { font-size: .88rem; color: #d3ecfb; margin-top: 5px; line-height: 1.3; }

.hero-visual { position: relative; aspect-ratio: 1/1; max-width: 440px; margin-left: auto; width: 100%; }
.hv-ring {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(26, 143, 209, .35), transparent 60%);
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: inset 0 0 60px rgba(56, 182, 241, .18);
}
.hv-ring::before { content: ''; position: absolute; inset: 14%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .14); }
.hv-net { position: absolute; inset: 0; width: 100%; height: 100%; }
.hv-dot { fill: #7ecbf5; }
.hv-dot.d2, .hv-dot.d4 { fill: #e8c26a; }
.hv-core { fill: #38b6f1; filter: drop-shadow(0 0 10px rgba(56, 182, 241, .9)); }
.hv-dot, .hv-core { animation: hvp 3.6s ease-in-out infinite; }
.hv-dot.d1 { animation-delay: .3s; } .hv-dot.d2 { animation-delay: .9s; } .hv-dot.d3 { animation-delay: 1.4s; } .hv-dot.d4 { animation-delay: 2s; }
@keyframes hvp { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
.hv-card {
  position: absolute; left: -8px; bottom: 14%; background: rgba(7, 30, 54, .62); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 14px 16px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
}
.hv-card .hv-ic {
  width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #1a8fd1, #38b6f1);
  display: grid; place-items: center; color: #fff; flex: none;
}
.hv-card .t { font-weight: 700; font-size: .9rem; color: #fff; }
.hv-card .d { font-size: .74rem; color: #c7e3f5; margin-top: 2px; }

/* ============ VỀ CHÚNG TÔI (Sứ mệnh / Tầm nhìn / Giá trị cốt lõi) ============ */
.about-us-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf4fb 0%, #f5faff 100%);
}
.about-us-deco-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.about-us-deco-bg::before, .about-us-deco-bg::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(4px);
}
.about-us-deco-bg::before {
  width: 420px; height: 420px; top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(26, 143, 209, .16), transparent 70%);
}
.about-us-deco-bg::after {
  width: 360px; height: 360px; bottom: -140px; left: -100px;
  background: radial-gradient(circle, rgba(232, 194, 106, .18), transparent 70%);
}
/* Về VSIA — Sứ mệnh / Tầm nhìn / Giá trị cốt lõi + Vì sao chọn VSIA */
.about-vsia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.av-card, .why-vsia-card {
  position: relative; z-index: 2;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 36px 34px; box-shadow: var(--shadow-sm);
}
.av-item-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.av-item-head h3 { color: var(--navy); font-size: 1.14rem; margin: 0; display: flex; align-items: baseline; gap: 6px; }
.av-num { color: var(--blue); font-family: 'Playfair Display', serif; }
.av-ic {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--blue), #38b6f1);
  box-shadow: 0 10px 22px -8px rgba(26, 143, 209, .55);
  animation: avIconFloat 3.2s ease-in-out infinite;
}
.av-item:nth-child(3) .av-ic { animation-delay: .5s; }
.av-card p { color: var(--muted); font-size: .95rem; line-height: 1.7; margin: 0; }
.av-divider { height: 1px; background: var(--line); margin: 22px 0; }
.av-values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.av-value {
  display: flex; align-items: center; gap: 12px;
  background: var(--mist); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.av-value:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); background: #fff; }
.av-value-ic {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; color: var(--blue); background: #fff;
  box-shadow: 0 6px 14px -6px rgba(26, 143, 209, .4);
  animation: avIconFloat 3.4s ease-in-out infinite;
}
.av-value:nth-child(2) .av-value-ic { animation-delay: .3s; }
.av-value:nth-child(3) .av-value-ic { animation-delay: .6s; }
.av-value:nth-child(4) .av-value-ic { animation-delay: .9s; }
.av-value span { font-weight: 600; font-size: .88rem; color: var(--navy); line-height: 1.35; }
@keyframes avIconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.why-vsia-card { display: flex; flex-direction: column; background: linear-gradient(160deg, #fff 0%, var(--mist) 130%); }
.why-vsia-title { color: var(--navy); font-size: 1.3rem; margin: 0 0 22px; }
.why-item { display: flex; gap: 16px; padding: 16px 0; }
.why-item + .why-item { border-top: 1px solid var(--line); }
.why-ic {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; color: var(--blue); background: var(--mist);
  border: 1px solid var(--line); transition: transform .3s ease, background .3s ease, color .3s ease;
}
.why-item:hover .why-ic { transform: scale(1.08) rotate(-4deg); background: var(--blue); color: #fff; }
.why-body h4 { color: var(--navy); font-size: 1.02rem; margin: 4px 0 8px; }
.why-body p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin: 0; }

@media (max-width: 900px) {
  .about-vsia-grid { grid-template-columns: 1fr; }
  .av-values-grid { grid-template-columns: 1fr 1fr; }
}
/* ============ ABOUT + EXPERTISE ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media .imgph { aspect-ratio: 4/5; border-radius: 8px; }
.about-media .badge { position: absolute; right: -18px; bottom: -18px; background: var(--navy); color: #fff; border-radius: 8px; padding: 22px 26px; box-shadow: var(--shadow); max-width: 210px; }
.about-media .badge .n { font-family: 'Playfair Display'; font-weight: 700; font-size: 2rem; line-height: 1; }
.about-media .badge .l { font-size: .8rem; color: #c2e0f5; margin-top: 6px; }
.services-list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.service-pill {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 20px; cursor: pointer; font-family: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.service-pill:hover { transform: translateX(8px); box-shadow: var(--shadow); border-color: var(--blue); }
.service-pill.active {
  background: linear-gradient(90deg, var(--blue), #1c7fc7);
  border-color: transparent;
  box-shadow: 0 14px 30px -14px rgba(26, 143, 209, .55);
}
.service-pill-ic {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--blue), #38b6f1);
  transition: transform .25s ease, background .25s ease;
}
.service-pill:hover .service-pill-ic { transform: scale(1.12) rotate(-6deg); }
.service-pill.active .service-pill-ic { background: rgba(255, 255, 255, .22); }
.service-pill-text { font-weight: 600; color: var(--navy); font-size: .96rem; line-height: 1.4; transition: color .22s ease; }
.service-pill.active .service-pill-text { color: #fff; }
.services-list > .reveal:nth-child(2) { transition-delay: .07s; }
.services-list > .reveal:nth-child(3) { transition-delay: .14s; }
.services-list > .reveal:nth-child(4) { transition-delay: .21s; }
.services-list > .reveal:nth-child(5) { transition-delay: .28s; }

/* ============ BIZ (Lĩnh vực hoạt động) ============ */
.biz { background: var(--mist); position: relative; overflow: hidden; }
.biz-mask { position: relative; text-align: center; padding: 8px 0 0; }
.bigword {
  font-weight: 800; font-size: clamp(5rem, 22vw, 17rem); line-height: .86; letter-spacing: -.04em;
  background-image: linear-gradient(115deg, #062544 0%, #135f96 26%, #1a8fd1 46%, #e8c26a 54%, #38b6f1 62%, #135f96 82%, #062544 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 20px 30px rgba(9, 48, 84, .2)); animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
/* 3 lĩnh vực hoạt động chính: ảnh + tên lĩnh vực, chi tiết ẩn trong accordion */
.linhvuc-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 12px; }
.linhvuc-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  text-decoration: none; color: inherit; cursor: pointer;
}
.linhvuc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.lv-1 { --lv-a: #1a8fd1; --lv-b: #38b6f1; }
.lv-2 { --lv-a: #d8a13a; --lv-b: #f0c869; }
.lv-3 { --lv-a: #17a398; --lv-b: #4fd1c5; }

.linhvuc-media { position: relative; }
.linhvuc-media .imgph { aspect-ratio: 4/3; border-radius: 0; }
.linhvuc-media::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--lv-a), var(--lv-b));
}
.linhvuc-ic {
  position: absolute; left: 24px; bottom: -26px; z-index: 2;
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--lv-a), var(--lv-b));
  box-shadow: 0 10px 22px -8px rgba(9, 48, 84, .45);
  border: 4px solid #fff;
  transition: transform .3s ease;
}
.linhvuc-card:hover .linhvuc-ic { transform: scale(1.08) rotate(-4deg); }

.linhvuc-body { padding: 46px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.linhvuc-body h3 { font-size: 1.14rem; color: var(--navy); font-weight: 700; margin: 0 0 16px; line-height: 1.35; }
.linhvuc-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
  font-weight: 600; font-size: .88rem; color: var(--lv-a); transition: gap .2s ease;
}
.linhvuc-card:hover .linhvuc-more { gap: 11px; }

/* ============ COURSE CARD (restyle, dùng chung trang chủ + /khoa-hoc) ============ */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.course-grid > .reveal { height: 100%; display: flex; }
.course-card {
  display: flex; flex-direction: column; width: 100%; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d3ddec; }
.course-thumb { height: 210px; position: relative; flex: none; }
.course-thumb.course-thumb-image { background-size: cover; background-position: center; }
.course-cat {
  position: absolute; left: 16px; top: 14px; z-index: 3; background: var(--blue); color: #fff;
  font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 3px;
}
.course-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.course-body h3 { font-size: 1.16rem; color: var(--navy); font-weight: 700; font-family: 'Be Vietnam Pro'; margin: 0; }
.course-meta-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--steel); }
.course-price { color: var(--steel); font-weight: 600; }
.course-price.is-free { color: #2795d1; }

/* ============ ARTICLE / NEWS CARD (restyle, dùng chung trang chủ + /tin-tuc) ============ */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.article-grid > .reveal { height: 100%; display: flex; }
.article-card {
  display: flex; flex-direction: column; width: 100%; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform .22s, box-shadow .22s;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-thumb-link { display: block; flex: none; }
.article-thumb { height: 220px; position: relative; }
.article-thumb.course-thumb-image { background-size: cover; background-position: center; }
.article-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.article-date { font-size: .76rem; color: var(--steel); letter-spacing: .04em; }
.article-body h3 { font-size: 1.1rem; color: var(--navy); font-weight: 700; font-family: 'Be Vietnam Pro'; margin: 8px 0 10px; line-height: 1.4; }
.article-body h3 a { color: var(--navy); }
.article-summary { color: var(--steel); font-size: .88rem; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-more { font-weight: 600; font-size: .86rem; color: var(--blue); display: inline-flex; gap: 6px; padding: 0; margin-top: auto; transition: gap .2s; }
.article-more:hover { gap: 11px; background: none; text-decoration: none; }

/* Carousel trượt cho "Hoạt động nổi bật" (trang chủ) */
.article-carousel { position: relative; }
.article-carousel .carousel-track { padding: 4px 4px 20px; scroll-padding-left: 4px; }
.article-carousel-item { width: 340px; height: auto; }
.article-carousel-item .article-card { height: 100%; }
.article-carousel .carousel-btn {
  width: 46px; height: 46px; box-shadow: var(--shadow-sm); border-color: var(--line);
  flex-shrink: 0; position: relative; z-index: 2;
}
.article-carousel .carousel-btn:hover { background: var(--blue); color: #fff; border-color: transparent; }
@media (max-width: 640px) {
  .article-carousel-item { width: 82vw; }
  .article-carousel .carousel-btn { display: none; }
}

/* ============ PETROVIETNAM HIGHLIGHT ============ */
.highlight { background: linear-gradient(140deg, #062544, #135f96); color: #fff; position: relative; overflow: hidden; }
.highlight .hexlayer { color: rgba(255, 255, 255, .06); }
.hl-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.highlight .eyebrow { color: #7ecbf5; }
.highlight .eyebrow::before { background: #7ecbf5; }
.highlight h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; margin-top: 14px; }
.highlight .lead-new { color: #cfe6f7; }
.hl-tl { margin-top: 8px; }
.hl-item { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.hl-item .y { font-family: 'Playfair Display'; font-weight: 700; font-size: 1.7rem; color: #8fd4f5; line-height: 1; }
.hl-item h4 { font-size: 1.05rem; margin-bottom: 6px; }
.hl-item p { color: #cfe6f7; font-size: .94rem; margin: 0; }

/* ============ Timeline lộ trình (dùng chung: tư vấn phòng Lab, đào tạo...) ============ */
.tl-steps { position: relative; max-width: 720px; margin: 44px auto 0; }
.tl-step { position: relative; display: flex; gap: 24px; padding-bottom: 36px; }
.tl-step::after {
  content: ''; position: absolute; left: 23px; top: 54px; bottom: -4px; width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--line) 90%);
}
.tl-step:last-child { padding-bottom: 0; }
.tl-step:last-child::after { display: none; }
.tl-num {
  position: relative; z-index: 2; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 10px 22px -8px rgba(9, 48, 84, .5);
  transition: transform .3s ease, box-shadow .3s ease;
}
.tl-step:hover .tl-num { transform: scale(1.1); box-shadow: 0 14px 26px -8px rgba(9, 48, 84, .6); }
.tl-content {
  flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; box-shadow: var(--shadow-sm); margin-top: -2px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tl-step:hover .tl-content { transform: translateX(6px); box-shadow: var(--shadow); border-color: #d3ddec; }
.tl-content h3 { color: var(--navy); font-size: 1.08rem; font-weight: 700; margin: 0; }
.tl-content ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.tl-content li { position: relative; padding-left: 18px; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.tl-content li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.tl-content > h3 { margin-bottom: 10px; }
.tl-content-head { display: flex; align-items: center; gap: 12px; }
.tl-ic {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--blue), #38b6f1);
}
.tl-content p { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: 10px 0 0; }
.tl-steps > .reveal:nth-child(2) { transition-delay: .06s; }
.tl-steps > .reveal:nth-child(3) { transition-delay: .12s; }
.tl-steps > .reveal:nth-child(4) { transition-delay: .18s; }
.tl-steps > .reveal:nth-child(5) { transition-delay: .24s; }
.tl-steps > .reveal:nth-child(6) { transition-delay: .3s; }
@media (max-width: 560px) {
  .tl-num { width: 40px; height: 40px; font-size: 1rem; }
  .tl-step::after { left: 19px; }
  .tl-content { padding: 14px 16px; }
}

/* ============ Team section: nền gradient xanh ============ */
.team-section {
  position: relative;
  background: linear-gradient(160deg, #eaf4fb 0%, #dcedf9 45%, #cbe4f5 100%);
}

/* ============ TEAM: leader spotlight (ảnh trái, thông tin phải) + expert card ============ */
.leader {
  display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: center;
  background:
    radial-gradient(90% 80% at 0% 15%, rgba(56, 182, 241, .3), transparent 62%),
    linear-gradient(135deg, #0c3a63 0%, #135f96 55%, #062544 100%);
  border-radius: 20px; padding: 72px; min-height: 380px; color: #fff;
  box-shadow: var(--shadow); position: relative; overflow: hidden; margin-bottom: 20px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.leader::after {
  /* hiệu ứng tan màu ở đáy thẻ */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 48%; z-index: 0;
  background: linear-gradient(to top, rgba(3, 14, 26, .88), transparent); pointer-events: none;
}
.leader:last-child { margin-bottom: 0; }
.leader:hover { transform: translateY(-6px); box-shadow: 0 32px 70px -28px rgba(4, 20, 36, .65); }
.leader-av {
  position: relative; z-index: 1; width: 250px; height: 250px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-family: 'Playfair Display'; font-weight: 700; font-size: 4rem; color: #fff;
  background: linear-gradient(135deg, var(--blue), #38b6f1); overflow: hidden;
  animation: leaderGlow 3.4s ease-in-out infinite;
}
.leader-av img { width: 100%; height: 100%; object-fit: cover; }
@keyframes leaderGlow {
  0%, 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, .08), 0 0 26px 4px rgba(56, 182, 241, .28); }
  50% { box-shadow: 0 0 0 10px rgba(255, 255, 255, .12), 0 0 46px 10px rgba(56, 182, 241, .52); }
}
.leader-info { position: relative; z-index: 1; text-align: left; }
.leader-info .role { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #8fd4f5; }
.leader-info .role::before { content: ''; width: 24px; height: 2px; background: #8fd4f5; }
.leader-info h3 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 700; margin: 16px 0 8px; color: #fff; }
.leader-info .pos { color: #c7e3f5; font-size: 1.15rem; }
.leader-info .quote {
  margin: 24px 0 0; color: #dff3fc; font-size: 1.05rem; line-height: 1.65; max-width: 50ch;
  padding-left: 18px; border-left: 2px solid rgba(255, 255, 255, .28);
}
.leader-info .quote-list { margin: 20px 0 0; padding: 0; list-style: none; max-width: 46ch; }
.leader-info .quote-list li { color: #dff3fc; font-size: .94rem; padding-left: 16px; border-left: 2px solid rgba(255, 255, 255, .28); margin-bottom: 10px; }
.leader-info .quote-list li:last-child { margin-bottom: 0; }

.experts3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.expert-card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 34px 26px 28px; text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; flex-shrink: 0; overflow: hidden;
}
.expert-card::before {
  content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.expert-card:hover::before { transform: scaleX(1); }
.expert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.expert-av {
  width: 108px; height: 108px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  font-family: 'Playfair Display'; font-weight: 700; font-size: 1.7rem; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--navy2), var(--blue));
  box-shadow: 0 0 0 6px #fff, 0 8px 20px -8px rgba(26, 143, 209, .5);
  transition: box-shadow .3s ease;
}
.expert-card:hover .expert-av { box-shadow: 0 0 0 6px #fff, 0 0 0 10px rgba(26, 143, 209, .2), 0 10px 24px -8px rgba(26, 143, 209, .65); }
.expert-av img { width: 100%; height: 100%; object-fit: cover; }
.expert-card .deg { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.expert-card h4 { font-size: 1.12rem; color: var(--navy); margin: 6px 0 10px; font-weight: 700; }
.expert-card .aff { color: #5a6b84; font-size: .88rem; line-height: 1.55; }
.expert-card .aff-list { margin: 0; padding: 0; list-style: none; text-align: left; }
.expert-card .aff-list li { display: flex; gap: 8px; color: #5a6b84; font-size: .86rem; line-height: 1.5; margin-bottom: 8px; }
.expert-card .aff-list li:last-child { margin-bottom: 0; }
.expert-card .aff-list .check-icon {
  flex: 0 0 auto; width: 15px; height: 15px; border-radius: 50%; background: var(--blue); color: #fff;
  font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 3px;
}
.experts3 .profile-card-slide { width: auto; }

/* ============ PARTNER CARDS (khung viền + logo lớn) ============ */
.partners { background: var(--mist); }
.plogos {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.plogo {
  background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 20px;
  height: 112px; display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plogo:hover { transform: translateY(-5px); border-color: var(--blue); box-shadow: var(--shadow-sm); }
.plogo .plogo-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.plogo .dot-fallback {
  width: 100%; height: 100%; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .92rem; color: #fff; text-align: center; padding: 8px;
}

@media (max-width: 900px) { .plogos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .plogos { grid-template-columns: repeat(2, 1fr); gap: 14px; } .plogo { height: 88px; padding: 14px; } }

/* ============ CTA BANNER ============ */
.cta { background: var(--navy); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta .hexlayer { color: rgba(255, 255, 255, .06); }
.cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
.cta p { color: #cfe6f7; font-size: 1.1rem; margin: 18px auto 32px; max-width: 52ch; font-weight: 300; }
.cta .btn-primary { background: #fff; color: var(--navy); box-shadow: none; }
.cta .btn-primary:hover { background: #eef3fa; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ============ GALLERY MARQUEE (ảnh hoạt động lướt tự động, co the dieu khien) ============ */
.gallery-marquee { display: flex; align-items: center; gap: 14px; }
.gallery-marquee-btn { flex-shrink: 0; }
.gallery-marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  padding: 14px 4px;
}
.gallery-marquee-track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) {
  .gallery-marquee-track { scroll-behavior: auto; }
}
.gallery-marquee-item {
  position: relative;
  flex: 0 0 auto;
  width: 460px;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, #135f96, #062544);
  border-radius: 14px;
  display: flex;
  align-items: flex-end;
  padding: 18px 20px;
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-marquee-item:hover {
  transform: scale(1.08);
  z-index: 5;
  box-shadow: var(--shadow);
}
.gallery-marquee-item img, .gallery-marquee-item video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.gallery-marquee-item::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(3, 14, 26, .8) 0%, rgba(3, 14, 26, .18) 55%, transparent 75%);
}
.gallery-marquee-item span { position: relative; z-index: 2; font-size: .96rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
@media (max-width: 640px) {
  .gallery-marquee-item { width: 300px; height: 220px; }
  .gallery-marquee-btn { display: none; }
}

/* ============ BRAND MARQUEE (dải chữ VSIA STEM chạy ngang) ============ */
.brand-marquee {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
}
.brand-marquee-track {
  display: flex;
  width: max-content;
  animation: brandMarquee 26s linear infinite;
}
.brand-marquee-track span {
  flex: 0 0 auto;
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  line-height: 1;
  letter-spacing: .01em;
  padding: 0 34px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(10, 61, 102, .16);
  white-space: nowrap;
}
.brand-marquee-track span:nth-child(4n) { color: rgba(216, 161, 58, .16); -webkit-text-stroke: 0; }
@keyframes brandMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.brand-marquee:hover .brand-marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .brand-marquee-track { animation: none; }
}

/* ============ FOOTER (restyle) ============ */
.site-footer { background: linear-gradient(180deg, #e9f4fb 0%, #dcedf9 100%); color: var(--muted); padding: 64px 0 0; border-top: none; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 44px; padding-bottom: 38px; border-bottom: 1px solid rgba(10, 61, 102, .12); align-items: start; }
.footer-brand p { font-size: .92rem; margin-top: 16px; max-width: 36ch; color: var(--muted); }
.footer-brand .footer-tagline { font-weight: 700; font-size: .96rem; color: var(--navy); margin-top: 10px; }
.footer-col h4 { color: var(--navy); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: .92rem; margin-bottom: 10px; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-brand .logo { margin-bottom: 4px; }
.footer-brand .site-logo-img { height: 64px; }
.footer-brand .wm { color: var(--navy); font-size: 1.6rem; }
.footer-brand .tag { color: var(--steel); }
.footer-bottom { border-top: none; padding: 24px 0 28px; font-size: .84rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; text-align: left; }

/* Legal identity, shown as small print under the logo */
.footer-legal { margin-top: 20px; }
.footer-legal p { font-size: .86rem; margin: 0 0 6px; max-width: none; color: var(--steel); }
.footer-legal-name { font-weight: 600; color: var(--navy) !important; }

/* Contact column: icon + text rows */
.footer-contact a, .footer-contact span {
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}
.footer-contact svg {
  flex-shrink: 0; margin-top: 2px; color: var(--blue);
}


/* ============ AUTH (Đăng nhập / Đăng ký) ============ */
.auth-section-new { background: var(--mist); position: relative; padding: 80px 0; overflow: hidden; }
.auth-deco-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.auth-deco-bg::before, .auth-deco-bg::after { content: ''; position: absolute; border-radius: 50%; filter: blur(4px); }
.auth-deco-bg::before { width: 420px; height: 420px; top: -160px; left: -140px; background: radial-gradient(circle, rgba(26, 143, 209, .14), transparent 70%); }
.auth-deco-bg::after { width: 360px; height: 360px; bottom: -140px; right: -120px; background: radial-gradient(circle, rgba(232, 194, 106, .16), transparent 70%); }

.auth-card {
  position: relative; z-index: 1;
  max-width: 460px; margin: 0 auto;
  background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  padding: 44px 40px;
}
.auth-card-brand { display: flex; justify-content: center; margin-bottom: 20px; }
.auth-card-brand .site-logo-img { height: 44px; }
.auth-card .eyebrow { display: flex; width: fit-content; margin: 0 auto 14px; }
.auth-card h1 { color: var(--navy); font-size: 1.7rem; margin: 0 0 8px; text-align: center; }
.auth-card .lead-new { margin: 0 0 26px; font-size: .92rem; text-align: center; }
.auth-card label { display: block; margin-bottom: 16px; font-size: .86rem; font-weight: 600; color: var(--navy); }
.auth-input-wrap { position: relative; margin-top: 7px; }
.auth-input-ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--steel); pointer-events: none; }
.auth-card input {
  display: block; width: 100%; padding: 12px 14px 12px 40px; border: 1.5px solid var(--line);
  border-radius: 8px; font-size: .94rem; font-family: inherit; transition: border-color .2s; box-sizing: border-box;
}
.auth-card input:focus { outline: none; border-color: var(--blue); }
.auth-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-switch { margin-top: 18px; font-size: .88rem; color: var(--steel); text-align: center; }
.auth-switch a { color: var(--blue); font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .auth-card { padding: 36px 24px; }
  .auth-form-row { grid-template-columns: 1fr; }
}

/* ============ Reveal-on-scroll ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }

/* Hiệu ứng chiều sâu khi cuộn: section "trồi" lên và phóng to nhẹ vào đúng vị trí */
.depth-section {
  opacity: 0;
  transform: translateY(64px) scale(.96);
  transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1);
  will-change: transform, opacity;
}
.depth-section.depth-in { opacity: 1; transform: translateY(0) scale(1); }
.course-grid > .reveal:nth-child(2), .article-grid > .reveal:nth-child(2), .linhvuc-grid > .reveal:nth-child(2), .info-grid > .reveal:nth-child(2) { transition-delay: .07s; }
.course-grid > .reveal:nth-child(3), .article-grid > .reveal:nth-child(3), .linhvuc-grid > .reveal:nth-child(3), .info-grid > .reveal:nth-child(3) { transition-delay: .14s; }
.info-grid > .reveal:nth-child(4) { transition-delay: .21s; }
.info-grid > .reveal:nth-child(5) { transition-delay: .28s; }
.info-grid > .reveal:nth-child(6) { transition-delay: .35s; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .depth-section { opacity: 1; transform: none; transition: none; }
  .bigword, .hv-dot, .hv-core { animation: none !important; }
}

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .main-nav { position: fixed; inset: 96px 0 auto; flex-direction: column; background: #fff; padding: 24px; gap: 18px; border-bottom: 1px solid var(--line); transform: translateY(-160%); transition: transform .35s; box-shadow: var(--shadow); align-items: flex-start; display: flex; }
  .main-nav.open { transform: none; }
  .site-header.nav-transparent .main-nav a { color: #40506a; }
  .nav-toggle { display: block; }
  .main-nav a.nav-cta { width: 100%; text-align: center; }
  .hero-home-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .course-grid, .article-grid, .experts3 { grid-template-columns: 1fr 1fr; }
  .about-grid, .hl-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-media .badge { position: static; margin-top: 16px; max-width: none; }
  .linhvuc-grid { grid-template-columns: 1fr; }
  .leader { grid-template-columns: 1fr; padding: 38px 28px; gap: 26px; }
  .leader-av { margin: 0 auto; width: 180px; height: 180px; font-size: 2.8rem; }
  .leader-info { text-align: center; }
  .leader-info .role { justify-content: center; }
  .leader-info .quote, .leader-info .quote-list { margin-inline: auto; text-align: left; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .course-grid, .article-grid, .expertise, .experts3 { grid-template-columns: 1fr; }
  .hero-home { padding: 150px 0 120px; }
  .hero-home-stats { grid-template-columns: 1fr; max-width: 340px; gap: 12px; }
}
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
