/* UNIHUB — theme teal #5ec7b6, thân thiện học sinh cấp 1–2 (prefix pxt-) */

:root {
  --pxt-brand: #5ec7b6;
  --pxt-brand-dark: #3aafa0;
  --pxt-brand-deep: #2a8f84;
  --pxt-brand-soft: #e6f8f5;
  --pxt-brand-mid: rgba(94, 199, 182, 0.18);
  --pxt-sun: #ffc857;
  --pxt-coral: #ff8a65;
  --pxt-sky: #7ec8e3;
  --pxt-ink: #1e3a3a;
  --pxt-ink-soft: #4a6565;
  --pxt-muted: #6b8585;
  --pxt-surface: #f4fbf9;
  --pxt-panel: #ffffff;
  --pxt-border: rgba(94, 199, 182, 0.35);
  --pxt-border-soft: rgba(30, 58, 58, 0.08);
  --pxt-radius: 1.25rem;
  --pxt-font: "Nunito", "Be Vietnam Pro", "Segoe UI", sans-serif;
  --pxt-display: "Be Vietnam Pro", "Nunito", "Segoe UI", sans-serif;
  --pxt-shadow: 0 12px 32px rgba(42, 143, 132, 0.12);
}

body.pxt-unihub {
  color: var(--pxt-ink);
  background:
    radial-gradient(ellipse 70% 40% at 10% 0%, rgba(94, 199, 182, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 35% at 95% 5%, rgba(255, 200, 87, 0.14), transparent 50%),
    var(--pxt-surface);
  font-family: var(--pxt-font);
  min-height: 100vh;
  padding-bottom: 0;
}

@media (max-width: 767.98px) {
  body.pxt-unihub {
    padding-bottom: 4.5rem;
  }
}

/* ——— Nav ——— */
.pxt-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(94, 199, 182, 0.12);
  box-shadow: 0 8px 24px rgba(42, 143, 132, 0.07);
  z-index: 1030;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  transition: padding 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.pxt-navbar.is-scrolled {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 28px rgba(42, 143, 132, 0.12);
}

.pxt-nav-inner {
  gap: 0.75rem;
}

.pxt-nav-toggler {
  border: 2px solid var(--pxt-brand-soft);
  border-radius: 12px;
  padding: 0.4rem 0.55rem;
}

.pxt-nav-toggler:focus {
  box-shadow: 0 0 0 0.2rem var(--pxt-brand-mid);
}

.pxt-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.pxt-brand-fallback {
  font-family: var(--pxt-display);
  font-weight: 800;
  color: var(--pxt-brand);
  font-size: 1.35rem;
}

.pxt-nav-main {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.28rem;
  background: linear-gradient(180deg, #f3fbf9 0%, #eaf7f4 100%);
  border: 1px solid rgba(94, 199, 182, 0.22);
  border-radius: 999px;
}

.pxt-nav-link {
  font-family: var(--pxt-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: #3d5c5a !important;
  border-radius: 999px;
  padding: 0.48rem 1rem !important;
  line-height: 1.2;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.pxt-nav-link:hover {
  color: var(--pxt-brand-deep) !important;
  background: rgba(255, 255, 255, 0.85);
}

.pxt-nav-link.active,
.pxt-nav-link.show {
  color: #fff !important;
  background: linear-gradient(135deg, var(--pxt-brand), var(--pxt-brand-dark));
  box-shadow: 0 6px 14px rgba(94, 199, 182, 0.35);
}

.pxt-nav-link.dropdown-toggle::after {
  margin-left: 0.35rem;
  vertical-align: 0.15em;
  opacity: 0.7;
}

.pxt-nav-drop {
  margin-top: 0.65rem !important;
  border-radius: 1.1rem !important;
  padding: 0.45rem !important;
  min-width: 13.5rem;
  background: #fff !important;
  box-shadow: 0 16px 40px rgba(30, 58, 58, 0.12) !important;
}

.pxt-nav-drop .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 700;
  color: #3d5c5a;
  border-radius: 0.85rem;
  padding: 0.55rem 0.8rem;
}

.pxt-nav-drop .dropdown-item small {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--pxt-brand-deep);
  background: var(--pxt-brand-soft);
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}

.pxt-nav-drop .dropdown-item:hover,
.pxt-nav-drop .dropdown-item:focus,
.pxt-nav-drop .dropdown-item.active {
  background: var(--pxt-brand-soft);
  color: var(--pxt-brand-deep);
}

.pxt-nav-actions {
  flex-wrap: wrap;
}

.pxt-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.65rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1.5px solid rgba(94, 199, 182, 0.35);
  background: #fff;
  color: var(--pxt-brand-deep);
  font-family: var(--pxt-display);
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pxt-chip:hover {
  background: var(--pxt-brand-soft);
  border-color: var(--pxt-brand);
  color: var(--pxt-brand-deep);
  transform: translateY(-1px);
}

.pxt-chip-lang {
  min-width: 3.1rem;
  padding: 0.55rem 0.85rem;
}

.pxt-chip-lang.dropdown-toggle::after {
  margin-left: 0.25rem;
  opacity: 0.65;
}

.pxt-chip-account {
  max-width: 11rem;
  padding: 0.55rem 0.85rem 0.55rem 0.7rem;
}

.pxt-chip-account-name {
  display: none;
  max-width: 7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pxt-account-menu {
  min-width: 15rem;
}

.pxt-account-menu .dropdown-item {
  justify-content: flex-start;
  gap: 0.65rem;
}

.pxt-account-menu .dropdown-item i {
  width: 1.1rem;
  text-align: center;
  color: var(--pxt-brand-deep);
}

.pxt-account-menu .dropdown-item.text-danger i {
  color: inherit;
}

@media (min-width: 992px) {
  .pxt-chip-account-name {
    display: inline;
  }
}

@media (max-width: 991.98px) {
  .pxt-chip-account {
    width: auto;
    max-width: none;
    padding: 0.55rem 0.95rem;
  }

  .pxt-chip-account-name {
    display: inline;
    max-width: 10rem;
  }
}

a.pxt-chip.pxt-chip-login,
.pxt-nav-actions a.pxt-chip-login {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.75rem 1.75rem !important;
  min-height: 3rem !important;
  line-height: 1.25 !important;
  box-sizing: border-box !important;
}

a.pxt-chip.pxt-chip-login i,
.pxt-nav-actions a.pxt-chip-login i {
  font-size: 1.05rem !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

a.pxt-chip.pxt-chip-login .pxt-chip-login-text {
  display: inline !important;
  line-height: 1.25 !important;
  white-space: nowrap;
}

.pxt-mega {
  border-radius: var(--pxt-radius) !important;
  background: #fff !important;
}

.pxt-mega-label {
  font-family: var(--pxt-display);
  font-size: 0.85rem;
  color: var(--pxt-brand-deep);
  margin-bottom: 0.35rem;
  padding-left: 0.75rem;
}

.pxt-mega .dropdown-item {
  font-weight: 600;
  color: var(--pxt-ink-soft);
  padding: 0.45rem 0.75rem;
}

.pxt-lang-toggle {
  font-weight: 800 !important;
  min-width: 2.5rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  .pxt-nav-main {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-radius: 1.25rem;
    padding: 0.4rem;
    gap: 0.15rem;
  }

  .pxt-nav-link {
    text-align: center;
  }

  .pxt-nav-actions {
    width: 100%;
  }

  .pxt-nav-actions a.pxt-chip-login {
    width: auto;
    padding: 0.75rem 1.75rem !important;
  }

  .pxt-chip-login-text {
    display: inline !important;
  }
}

/* ——— Buttons ——— */
.pxt-btn-primary {
  background: linear-gradient(135deg, var(--pxt-brand), var(--pxt-brand-dark));
  border: none;
  color: #fff !important;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(94, 199, 182, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.pxt-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(94, 199, 182, 0.5);
  color: #fff !important;
  filter: brightness(1.05);
}

.pxt-btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.pxt-btn-outline {
  border: 2px solid #fff;
  color: #fff !important;
  font-weight: 800;
  border-radius: 999px;
  background: transparent;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pxt-btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.pxt-btn-ghost {
  border: 2px solid var(--pxt-brand);
  color: var(--pxt-brand-deep) !important;
  font-weight: 800;
  border-radius: 999px;
  background: #fff;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pxt-btn-ghost:hover {
  background: var(--pxt-brand-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(94, 199, 182, 0.2);
}

/* ——— Hero (full-bleed video background) ——— */
.pxt-hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1e3a3a;
  color: #fff;
}

.pxt-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.pxt-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(30, 58, 58, 0.72) 0%, rgba(42, 143, 132, 0.55) 45%, rgba(94, 199, 182, 0.35) 100%);
}

.pxt-hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Không animate transform trên <video>: Firefox (đặc biệt Win) dễ rung cả cửa sổ/tab
     vì layer compositor full-viewport cập nhật liên tục. Chrome thường chịu được. */
  transform: none;
}

.pxt-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  z-index: 1;
  background: linear-gradient(transparent, var(--pxt-surface));
  pointer-events: none;
}

.pxt-hero-inner {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 5rem;
}

.pxt-hero-brand {
  font-family: var(--pxt-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  animation: pxt-rise 0.7s ease both;
}

.pxt-hero-title {
  font-family: var(--pxt-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  margin-bottom: 0.85rem;
  opacity: 0.95;
  animation: pxt-rise 0.7s 0.1s ease both;
}

.pxt-hero-lead {
  font-size: 1.05rem;
  max-width: 36rem;
  line-height: 1.55;
  opacity: 0.92;
  margin-bottom: 1.5rem;
  animation: pxt-rise 0.7s 0.2s ease both;
}

.pxt-hero-cta {
  animation: pxt-rise 0.7s 0.3s ease both;
}

.pxt-hero-stats {
  animation: pxt-rise 0.7s 0.45s ease both;
}

.pxt-hero-stat {
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.pxt-hero-stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.45);
}

@keyframes pxt-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pxt-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pxt-kenburns {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.14) translate(-1.5%, -1%); }
}

@keyframes pxt-soft-pulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(42, 143, 132, 0.35); }
  50% { box-shadow: 0 8px 28px rgba(42, 143, 132, 0.55), 0 0 0 8px rgba(94, 199, 182, 0.12); }
}

@keyframes pxt-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes pxt-arrow-nudge {
  0%, 100% { transform: translateX(0); opacity: 0.85; }
  50% { transform: translateX(4px); opacity: 1; }
}

@keyframes pxt-badge-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}

/* ——— Sections ——— */
.pxt-section {
  padding: 3.5rem 0;
}

.pxt-section-alt {
  background: #fff;
}

.pxt-section-label {
  display: inline-block;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pxt-brand-deep);
  background: var(--pxt-brand-soft);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  margin-bottom: 0.65rem;
}

.pxt-section-title {
  font-family: var(--pxt-display);
  font-weight: 700;
  color: var(--pxt-ink);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.pxt-section:hover .pxt-section-title,
.pxt-section [data-pxt-reveal]:hover .pxt-section-title {
  color: var(--pxt-brand-deep);
}

.pxt-section-sub {
  color: var(--pxt-muted);
  max-width: 38rem;
}

.pxt-hero-stats {
  max-width: 52rem;
}

.pxt-hero-stat {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.9rem;
  padding: 0.7rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  color: #fff;
}

/* ——— Program tiles (interactive containers OK) ——— */
.pxt-prog {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: var(--pxt-radius);
  border: 2px solid var(--pxt-border-soft);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.pxt-prog:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(42, 143, 132, 0.18);
  border-color: var(--pxt-brand);
  color: inherit;
}

.pxt-prog-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--pxt-brand-soft);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pxt-prog:hover .pxt-prog-img {
  transform: scale(1.06);
}

.pxt-prog-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.pxt-prog-age {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--pxt-brand-deep);
  background: var(--pxt-brand-soft);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.5rem;
}

.pxt-prog h3 {
  font-family: var(--pxt-display);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

/* ——— Why / feature grid ——— */
.pxt-why {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--pxt-radius);
  background: #fff;
  border: 1px solid var(--pxt-border-soft);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.pxt-why:hover {
  transform: translateY(-6px);
  box-shadow: var(--pxt-shadow);
  border-color: var(--pxt-border);
}

.pxt-why-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.85rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: var(--pxt-brand-soft);
  color: var(--pxt-brand-deep);
  font-size: 1.35rem;
  animation: pxt-float 4s ease-in-out infinite;
}

.pxt-why:nth-child(2n) .pxt-why-icon { animation-delay: 0.4s; }
.pxt-why:nth-child(3n) .pxt-why-icon { animation-delay: 0.8s; }

/* ——— Roadmap path ——— */
.pxt-path {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.pxt-path-step {
  background: #fff;
  border: 2px solid var(--pxt-brand);
  color: var(--pxt-brand-deep);
  font-weight: 800;
  font-family: var(--pxt-display);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  text-align: center;
  min-width: 7.5rem;
  box-shadow: 0 6px 16px rgba(94, 199, 182, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.pxt-path-step:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 22px rgba(94, 199, 182, 0.28);
  background: var(--pxt-brand-soft);
}

.pxt-path-step small {
  display: block;
  font-family: var(--pxt-font);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--pxt-muted);
}

.pxt-path-arrow {
  color: var(--pxt-brand);
  font-size: 1.25rem;
  animation: pxt-arrow-nudge 1.6s ease-in-out infinite;
}

/* ——— Method steps ——— */
.pxt-method {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  counter-reset: pxt-step;
}

.pxt-method-item {
  counter-increment: pxt-step;
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 1rem 0.55rem 0.55rem;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid var(--pxt-border);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pxt-method-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(94, 199, 182, 0.18);
  border-color: var(--pxt-brand);
}

.pxt-method-item::before {
  content: counter(pxt-step);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--pxt-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
}

/* ——— Pricing ——— */
.pxt-price {
  background: #fff;
  border: 2px solid var(--pxt-border-soft);
  border-radius: var(--pxt-radius);
  padding: 1.35rem;
  height: 100%;
  text-align: center;
  position: relative;
  transition: border-color 0.25s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.pxt-price:hover {
  border-color: var(--pxt-brand);
  transform: translateY(-5px);
  box-shadow: var(--pxt-shadow);
}

.pxt-price.is-popular {
  border-color: var(--pxt-brand);
  box-shadow: var(--pxt-shadow);
}

.pxt-price-badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pxt-sun);
  color: var(--pxt-ink);
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  white-space: nowrap;
  animation: pxt-badge-bob 2.4s ease-in-out infinite;
}

.pxt-price-name {
  font-family: var(--pxt-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.pxt-price-amount {
  font-family: var(--pxt-display);
  font-size: 1.45rem;
  color: var(--pxt-brand-deep);
  margin: 0.5rem 0;
}

/* ——— Teachers / stories ——— */
.pxt-person {
  background: #fff;
  border-radius: var(--pxt-radius);
  border: 1px solid var(--pxt-border-soft);
  overflow: hidden;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.pxt-person:hover {
  transform: translateY(-6px);
  box-shadow: var(--pxt-shadow);
  border-color: var(--pxt-border);
}

.pxt-person-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--pxt-brand-soft);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pxt-person:hover .pxt-person-img {
  transform: scale(1.05);
}

.pxt-person-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.pxt-person-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.2rem 0.1rem 1rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.pxt-person-slider::-webkit-scrollbar {
  display: none;
}

.pxt-person-slide {
  flex: 0 0 calc((100% - 3rem) / 4);
  min-width: 0;
  scroll-snap-align: start;
}

.pxt-person-slide .pxt-person {
  height: 100%;
}

.pxt-slider-controls {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}

.pxt-slider-btn {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--pxt-border);
  border-radius: 50%;
  background: #fff;
  color: var(--pxt-brand-deep);
  font-size: 1rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pxt-slider-btn:hover {
  transform: translateY(-2px);
  background: var(--pxt-brand);
  color: #fff;
}

@media (max-width: 991.98px) {
  .pxt-person-slide {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 575.98px) {
  .pxt-person-slide {
    flex-basis: 82%;
  }
}

.pxt-quote {
  font-style: italic;
  color: var(--pxt-ink-soft);
  border-left: 3px solid var(--pxt-brand);
  padding-left: 0.75rem;
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

.pxt-testimonial-mosaic {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: repeat(2, minmax(19rem, 1fr));
  gap: 1rem;
}

.pxt-testimonial-feature {
  position: relative;
  min-height: 19rem;
  overflow: hidden;
  border-radius: var(--pxt-radius);
  background: #173535;
  box-shadow: var(--pxt-shadow);
}

.pxt-testimonial-feature.is-main {
  grid-row: 1 / span 2;
}

.pxt-testimonial-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pxt-testimonial-feature:hover img {
  transform: scale(1.035);
}

.pxt-testimonial-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 4.5rem 1.5rem 1.5rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(13, 31, 31, 0.92));
}

.pxt-testimonial-overlay blockquote {
  margin: 0 0 0.8rem;
  font-size: clamp(0.9rem, 1.25vw, 1.1rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.55;
}

.pxt-testimonial-feature.is-main .pxt-testimonial-overlay blockquote {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.pxt-testimonial-author {
  font-family: var(--pxt-display);
  font-weight: 800;
}

.pxt-testimonial-meta {
  margin-top: 0.15rem;
  font-size: 0.8rem;
  opacity: 0.82;
}

.pxt-testimonial-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--pxt-border-soft);
  border-radius: var(--pxt-radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(42, 143, 132, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pxt-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--pxt-shadow);
}

.pxt-testimonial-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--pxt-brand-soft);
}

.pxt-testimonial-card-body {
  position: relative;
  padding: 1.35rem;
}

.pxt-testimonial-card-body > i {
  position: absolute;
  top: 0.7rem;
  right: 1rem;
  color: var(--pxt-brand);
  font-size: 2rem;
  opacity: 0.4;
}

.pxt-testimonial-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  color: var(--pxt-ink-soft);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.55;
}

.pxt-testimonial-card strong,
.pxt-testimonial-card span {
  display: block;
}

.pxt-testimonial-card span {
  margin-top: 0.15rem;
  color: var(--pxt-muted);
  font-size: 0.78rem;
}

@media (max-width: 767.98px) {
  .pxt-testimonial-mosaic {
    display: flex;
    overflow-x: auto;
    gap: 0.85rem;
    padding-bottom: 0.75rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .pxt-testimonial-mosaic::-webkit-scrollbar {
    display: none;
  }

  .pxt-testimonial-feature,
  .pxt-testimonial-feature.is-main {
    flex: 0 0 88%;
    min-height: 31rem;
    scroll-snap-align: start;
  }
}

.pxt-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 5px solid #fff;
  border-radius: var(--pxt-radius);
  background: #163131;
  box-shadow: var(--pxt-shadow);
}

.pxt-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ——— Page banner ——— */
.pxt-page-hero {
  background:
    linear-gradient(120deg, var(--pxt-brand-deep), var(--pxt-brand)),
    url("../images/page-banner.png") center / cover;
  background-size: cover;
  color: #fff;
  padding: 3rem 0 2.75rem;
  position: relative;
  overflow: hidden;
}

.pxt-page-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.16), transparent 42%),
    radial-gradient(circle at 80% 20%, rgba(255, 200, 87, 0.18), transparent 40%);
  animation: pxt-kenburns 22s ease-in-out infinite alternate;
  pointer-events: none;
}

.pxt-page-hero .container {
  position: relative;
  z-index: 1;
}

.pxt-page-hero h1 {
  font-family: var(--pxt-display);
  font-weight: 700;
  margin-bottom: 0.5rem;
  animation: pxt-rise 0.65s ease both;
}

.pxt-page-hero p {
  opacity: 0.92;
  max-width: 36rem;
  margin-bottom: 0;
  animation: pxt-rise 0.65s 0.12s ease both;
}

/* ——— Forms ——— */
.pxt-form {
  background: #fff;
  border-radius: var(--pxt-radius);
  border: 1px solid var(--pxt-border-soft);
  padding: 1.75rem;
  box-shadow: var(--pxt-shadow);
}

.pxt-form .form-control,
.pxt-form .form-select {
  border-radius: 0.85rem;
  border-color: var(--pxt-border);
  padding: 0.7rem 1rem;
  font-weight: 600;
}

.pxt-form .form-control:focus,
.pxt-form .form-select:focus {
  border-color: var(--pxt-brand);
  box-shadow: 0 0 0 0.2rem var(--pxt-brand-mid);
}

.pxt-form .form-label {
  font-weight: 700;
  color: var(--pxt-ink-soft);
}

/* ——— Wizard ——— */
.pxt-wizard-step {
  display: none;
}

.pxt-wizard-step.is-active {
  display: block;
  animation: pxt-rise 0.35s ease;
}

.pxt-choice {
  cursor: pointer;
}

.pxt-choice input {
  display: none;
}

.pxt-choice span {
  display: block;
  padding: 0.85rem 1rem;
  border: 2px solid var(--pxt-border-soft);
  border-radius: 1rem;
  font-weight: 700;
  text-align: center;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
}

.pxt-choice input:checked + span {
  border-color: var(--pxt-brand);
  background: var(--pxt-brand-soft);
  color: var(--pxt-brand-deep);
}

/* ——— Table ——— */
.pxt-table {
  border-radius: var(--pxt-radius);
  overflow: hidden;
  border: 1px solid var(--pxt-border-soft);
  background: #fff;
}

.pxt-table table {
  margin-bottom: 0;
}

.pxt-table thead {
  background: var(--pxt-brand-soft);
}

.pxt-table th {
  font-weight: 800;
  color: var(--pxt-brand-deep);
  white-space: nowrap;
}

.pxt-table .table-featured {
  background: rgba(94, 199, 182, 0.1);
}

/* ——— CTA band ——— */
.pxt-cta-band {
  background: linear-gradient(120deg, var(--pxt-brand-deep), var(--pxt-brand), var(--pxt-brand-dark), var(--pxt-brand-deep));
  background-size: 220% 220%;
  animation: pxt-shimmer 10s ease infinite;
  color: #fff;
  border-radius: calc(var(--pxt-radius) + 0.25rem);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(42, 143, 132, 0.22);
}

.pxt-cta-band::after {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  right: -4rem;
  top: -6rem;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.pxt-cta-band h2 {
  font-family: var(--pxt-display);
  margin-bottom: 0.5rem;
  position: relative;
}

.pxt-cta-band > * {
  position: relative;
  z-index: 1;
}

/* ——— Facility gallery ——— */
.pxt-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem;
  background: var(--pxt-brand-soft);
  transition: transform 0.45s ease, box-shadow 0.35s ease;
}

.pxt-gallery img:hover {
  transform: scale(1.03);
  box-shadow: var(--pxt-shadow);
}

/* ——— Note ——— */
.pxt-note {
  background: var(--pxt-brand-soft);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--pxt-ink-soft);
  border-left: 4px solid var(--pxt-brand);
}

/* ——— News ——— */
.pxt-news {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: var(--pxt-radius);
  overflow: hidden;
  border: 1px solid var(--pxt-border-soft);
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.pxt-news:hover {
  transform: translateY(-6px);
  box-shadow: var(--pxt-shadow);
  border-color: var(--pxt-border);
  color: inherit;
}

.pxt-news-img {
  width: 100%;
  aspect-ratio: 8 / 3; /* ~2/3 chiều cao so với 16/9 */
  max-height: 180px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--pxt-brand-soft);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pxt-img-fallback.pxt-news-img {
  max-height: 180px;
  aspect-ratio: 8 / 3;
  place-items: center;
  color: var(--pxt-brand);
  font-size: 1.75rem;
}

.pxt-news:hover .pxt-news-img {
  transform: scale(1.06);
}

.pxt-news-body {
  padding: 1.1rem 1.2rem 1.3rem;
}

.pxt-news-cat {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--pxt-coral);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ——— Footer ——— */
.pxt-footer {
  background: #1a3333;
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.pxt-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.pxt-footer a:hover {
  color: var(--pxt-brand);
  padding-left: 0.2rem;
}

.pxt-footer-logo {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.pxt-footer-tagline {
  font-family: var(--pxt-display);
  color: var(--pxt-brand);
  font-size: 1.05rem;
}

.pxt-footer-title {
  font-family: var(--pxt-display);
  color: #fff;
  margin-bottom: 0.75rem;
}

.pxt-footer-hr {
  border-color: rgba(255, 255, 255, 0.12);
}

.pxt-footer-mission {
  color: rgba(255, 255, 255, 0.7);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* ——— Floating CTAs ——— */
.pxt-float {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 1050;
  flex-direction: column;
  gap: 0.55rem;
}

.pxt-float-btn {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  background: var(--pxt-brand);
  color: #fff !important;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(42, 143, 132, 0.35);
  text-decoration: none;
  transition: transform 0.25s ease;
  animation: pxt-soft-pulse 2.8s ease-in-out infinite;
}

.pxt-float-btn:nth-child(2) {
  animation-delay: 0.7s;
}

.pxt-float-btn:hover {
  transform: scale(1.12);
  animation-play-state: paused;
}

.pxt-float-zalo {
  background: #0068ff;
}

.pxt-float-reg {
  background: var(--pxt-coral);
}

.pxt-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #fff;
  border-top: 1px solid var(--pxt-border-soft);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}

.pxt-mobile-bar a {
  text-align: center;
  padding: 0.55rem 0.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--pxt-ink-soft);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: center;
}

.pxt-mobile-bar i {
  font-size: 1.15rem;
  color: var(--pxt-brand-deep);
}

.pxt-mobile-cta {
  background: var(--pxt-brand-soft);
  color: var(--pxt-brand-deep) !important;
}

/* ——— Values / about ——— */
.pxt-value {
  background: #fff;
  border-radius: var(--pxt-radius);
  padding: 1.25rem;
  border-top: 4px solid var(--pxt-brand);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pxt-value:hover {
  transform: translateY(-4px);
  box-shadow: var(--pxt-shadow);
}

.pxt-value h3 {
  font-family: var(--pxt-display);
  font-size: 1.1rem;
  color: var(--pxt-brand-deep);
}

.pxt-list-check li {
  margin-bottom: 0.4rem;
  padding-left: 0.25rem;
}

.pxt-list-check li::marker {
  content: "✓ ";
  color: var(--pxt-brand-deep);
  font-weight: 800;
}

.pxt-why-panel {
  max-width: 44rem;
  background: #fff;
  border: 1px solid rgba(15, 80, 60, 0.08);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 30px rgba(15, 60, 40, 0.06);
}

.pxt-why-checklist {
  text-align: left;
  margin: 0 auto;
  max-width: 36rem;
}

.pxt-why-checklist li {
  margin-bottom: 0.55rem;
  line-height: 1.45;
}

.pxt-price-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--pxt-brand-soft), #fff);
  border: 1px solid rgba(15, 80, 60, 0.12);
}

.pxt-price-contact.is-compact {
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
}

.pxt-price-contact p {
  margin: 0;
  font-weight: 600;
  color: var(--pxt-brand-deep);
  flex: 1 1 14rem;
}

.pxt-price-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pxt-accent-sun { color: var(--pxt-sun); }
.pxt-accent-coral { color: var(--pxt-coral); }
.pxt-bg-soft { background: var(--pxt-brand-soft); }

.pxt-img-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pxt-brand-soft), #fff);
  color: var(--pxt-brand-deep);
  font-size: 2.5rem;
}

/* ——— Detailed marketing pages ——— */
.pxt-hero-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.85;
}

.pxt-detail-panel,
.pxt-benefit-card,
.pxt-skill-card,
.pxt-step-card {
  padding: 1.5rem;
  border: 1px solid var(--pxt-border-soft);
  border-radius: var(--pxt-radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(42, 143, 132, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pxt-detail-panel:hover,
.pxt-benefit-card:hover,
.pxt-skill-card:hover,
.pxt-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--pxt-border);
  box-shadow: var(--pxt-shadow);
}

.pxt-detail-icon {
  width: 3.75rem;
  height: 3.75rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--pxt-brand), var(--pxt-brand-deep));
  font-size: 1.5rem;
}

.pxt-detail-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  background: var(--pxt-brand-soft);
}

.pxt-wide-photo,
.pxt-cert-visual,
.pxt-recruit-hero-img,
.pxt-gallery-tile,
.pxt-side-portrait {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: var(--pxt-radius);
  background: var(--pxt-brand-soft);
}

.pxt-wide-photo,
.pxt-cert-visual {
  aspect-ratio: 16 / 10;
}

.pxt-recruit-hero-img {
  aspect-ratio: 4 / 3;
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.pxt-gallery-tile {
  aspect-ratio: 1;
}

.pxt-side-portrait {
  aspect-ratio: 4 / 5;
}

.pxt-media-stack {
  position: relative;
  min-height: 22rem;
}

.pxt-media-stack-main {
  width: 78%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--pxt-radius);
  background: var(--pxt-brand-soft);
  box-shadow: var(--pxt-shadow);
}

.pxt-media-stack-side {
  position: absolute;
  right: 0;
  bottom: 1rem;
  width: 48%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 5px solid #fff;
  border-radius: 1.25rem;
  background: var(--pxt-brand-soft);
  box-shadow: 0 14px 30px rgba(42, 143, 132, 0.2);
}

.pxt-benefit-media {
  overflow: hidden;
  border: 1px solid var(--pxt-border-soft);
  border-radius: var(--pxt-radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(42, 143, 132, 0.08);
}

.pxt-benefit-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--pxt-brand-soft);
}

.pxt-benefit-media-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.pxt-why-band {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--pxt-radius) + 0.25rem);
  min-height: 18rem;
}

.pxt-why-band img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.pxt-why-band-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.75rem;
  background: linear-gradient(transparent, rgba(30, 58, 58, 0.88));
}

.pxt-split-card {
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--pxt-border-soft);
  border-radius: var(--pxt-radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(42, 143, 132, 0.08);
}

.pxt-split-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--pxt-brand-soft);
}

@media (max-width: 991.98px) {
  .pxt-media-stack {
    min-height: 0;
    margin-bottom: 1rem;
  }

  .pxt-media-stack-main {
    width: 100%;
  }

  .pxt-media-stack-side {
    position: relative;
    right: auto;
    bottom: auto;
    width: 70%;
    margin: -3rem 0 0 auto;
  }
}

.pxt-step-card {
  position: relative;
  padding-top: 3.6rem;
}

.pxt-step-number {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pxt-sun);
  color: var(--pxt-ink);
  font-weight: 800;
}

.pxt-highlight-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--pxt-radius);
  background: var(--pxt-brand-soft);
}

.pxt-highlight-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  color: var(--pxt-brand-deep);
  font-size: 0.86rem;
  font-weight: 800;
}

.pxt-certificate-level {
  width: 5rem;
  height: 5rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border: 3px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: var(--pxt-display);
  font-size: 1.6rem;
  font-weight: 800;
}

.pxt-skill-card {
  text-align: center;
}

.pxt-program-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.pxt-program-link:hover {
  color: inherit;
}

.pxt-program-link > span {
  color: var(--pxt-brand-deep);
}

.pxt-certificate-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.35rem 1rem;
  border: 2px solid var(--pxt-border);
  border-radius: var(--pxt-radius);
  background: #fff;
  color: var(--pxt-ink);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.pxt-certificate-tile strong {
  color: var(--pxt-brand-deep);
  font-family: var(--pxt-display);
  font-size: 1.5rem;
}

.pxt-certificate-tile span {
  color: var(--pxt-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.pxt-certificate-tile:hover {
  transform: translateY(-4px);
  background: var(--pxt-brand-soft);
  box-shadow: var(--pxt-shadow);
  color: var(--pxt-ink);
}

.pxt-job-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pxt-job {
  overflow: hidden;
  border: 1px solid var(--pxt-border-soft) !important;
  border-radius: var(--pxt-radius) !important;
  background: #fff;
}

.pxt-job .accordion-button {
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  color: var(--pxt-ink);
  background: #fff;
  box-shadow: none;
}

.pxt-job .accordion-button:not(.collapsed) {
  color: var(--pxt-brand-deep);
  background: var(--pxt-brand-soft);
}

.pxt-job .accordion-button small {
  display: block;
  margin-top: 0.2rem;
  color: var(--pxt-muted);
  font-weight: 600;
}

.pxt-job-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.85rem;
  color: var(--pxt-brand-deep);
  background: var(--pxt-brand-soft);
  font-size: 1.2rem;
}

.pxt-recruitment-aside {
  position: sticky;
  top: 6rem;
}

@media (max-width: 991.98px) {
  .pxt-recruitment-aside {
    position: static;
  }
}

/* ——— RIASEC quiz — one page, scroll & revise ——— */
.uh-quiz {
  padding: 1rem 0 7rem;
  background:
    radial-gradient(ellipse 60% 30% at 0% 0%, rgba(255, 200, 87, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 28% at 100% 0%, rgba(126, 200, 227, 0.18), transparent 50%);
}

.uh-quiz-shell {
  max-width: 820px;
}

.uh-quiz-sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 251, 249, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0 0.85rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(94, 199, 182, 0.2);
}

.uh-quiz-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
}

.uh-quiz-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pxt-brand-deep);
  background: #fff;
  border: 1px solid var(--pxt-border);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  margin-bottom: 0.3rem;
}

.uh-quiz-title {
  font-family: var(--pxt-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  color: var(--pxt-ink);
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}

.uh-quiz-hint {
  color: var(--pxt-ink-soft);
  font-size: 0.9rem;
  max-width: 34rem;
}

.uh-quiz-meter {
  text-align: center;
  flex-shrink: 0;
}

.uh-quiz-meter-ring {
  --pct: 0;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--pxt-brand) calc(var(--pct) * 1%), rgba(94, 199, 182, 0.18) 0);
  box-shadow: 0 6px 16px rgba(42, 143, 132, 0.14);
  margin: 0 auto 0.25rem;
  position: relative;
}

.uh-quiz-meter-ring::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
}

.uh-quiz-meter-ring span,
.uh-quiz-meter-ring small {
  position: relative;
  z-index: 1;
  line-height: 1;
}

.uh-quiz-meter-ring span {
  font-weight: 800;
  font-size: 1rem;
  color: var(--pxt-brand-deep);
}

.uh-quiz-meter-ring small {
  font-size: 0.68rem;
  color: var(--pxt-muted);
  margin-top: 0.1rem;
}

.uh-quiz-meter-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--pxt-muted);
}

.uh-quiz-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(94, 199, 182, 0.18);
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.uh-quiz-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pxt-sky), var(--pxt-brand), var(--pxt-sun));
  transition: width 0.3s ease;
}

.uh-likert-legend {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
}

.uh-likert-legend-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.35rem 0.2rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  line-height: 1;
}

.uh-likert-legend-item small {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--pxt-ink-soft);
  text-align: center;
  line-height: 1.15;
}

.uh-likert-0 { background: #fff0ee; }
.uh-likert-1 { background: #fff6e8; }
.uh-likert-2 { background: #f3f6f8; }
.uh-likert-3 { background: #eaf8f4; }
.uh-likert-4 { background: #e7f7ff; }

.uh-quiz-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.uh-qrow {
  background: #fff;
  border: 1px solid rgba(94, 199, 182, 0.22);
  border-radius: 1.15rem;
  padding: 0.95rem 1rem 1.05rem;
  box-shadow: 0 8px 20px rgba(42, 143, 132, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.uh-qrow:hover {
  border-color: rgba(94, 199, 182, 0.45);
  box-shadow: 0 10px 24px rgba(42, 143, 132, 0.1);
}

.uh-qrow.is-answered {
  background: linear-gradient(180deg, #f7fffd 0%, #fff 55%);
  border-color: rgba(94, 199, 182, 0.5);
}

.uh-qrow-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.uh-qrow-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--pxt-muted);
  min-width: 2rem;
}

.uh-construct {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  color: #fff;
  background: var(--pxt-brand-deep);
}

.uh-construct-R { background: #5a9e45; }
.uh-construct-I { background: #3d8fb8; }
.uh-construct-A { background: #e07a5f; }
.uh-construct-S { background: var(--pxt-brand-deep); }
.uh-construct-E { background: #d99a1a; color: #1e3a3a; }
.uh-construct-C { background: #5f738c; }

.uh-qrow-done {
  margin-left: auto;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(94, 199, 182, 0.15);
  color: transparent;
  font-size: 0.85rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.uh-qrow.is-answered .uh-qrow-done {
  background: var(--pxt-brand);
  color: #fff;
}

.uh-qrow-prompt {
  font-family: var(--pxt-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--pxt-ink);
  margin: 0 0 0.75rem;
}

.uh-likert.btn-group {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
  width: 100%;
}

.uh-likert.btn-group > .btn {
  border-radius: 0.9rem !important;
  flex: 1 1 auto;
}

.uh-likert-btn {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 4.1rem;
  padding: 0.45rem 0.25rem !important;
  border: 2px solid transparent !important;
  box-shadow: none !important;
  color: var(--pxt-ink-soft) !important;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.uh-likert-btn:hover {
  transform: translateY(-2px);
  filter: brightness(0.98);
}

.uh-likert-btn.uh-likert-0 { background: #fff0ee !important; }
.uh-likert-btn.uh-likert-1 { background: #fff6e8 !important; }
.uh-likert-btn.uh-likert-2 { background: #f3f6f8 !important; }
.uh-likert-btn.uh-likert-3 { background: #eaf8f4 !important; }
.uh-likert-btn.uh-likert-4 { background: #e7f7ff !important; }

.uh-likert-emoji {
  font-size: 1.35rem;
  line-height: 1;
}

.uh-likert-text {
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.15;
}

.uh-answer:checked + .uh-likert-btn {
  border-color: var(--pxt-brand-deep) !important;
  box-shadow: 0 0 0 3px rgba(94, 199, 182, 0.25) !important;
  transform: translateY(-2px);
  color: var(--pxt-ink) !important;
}

.uh-answer:checked + .uh-likert-0 {
  border-color: #e07a5f !important;
  background: #ffe4de !important;
  box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.22) !important;
}

.uh-answer:checked + .uh-likert-1 {
  border-color: #e0a040 !important;
  background: #ffefd2 !important;
  box-shadow: 0 0 0 3px rgba(224, 160, 64, 0.22) !important;
}

.uh-answer:checked + .uh-likert-2 {
  border-color: #8aa0b0 !important;
  background: #e8eef3 !important;
  box-shadow: 0 0 0 3px rgba(138, 160, 176, 0.22) !important;
}

.uh-answer:checked + .uh-likert-3 {
  border-color: var(--pxt-brand-deep) !important;
  background: #d8f5ef !important;
}

.uh-answer:checked + .uh-likert-4 {
  border-color: #3d8fb8 !important;
  background: #d6f0ff !important;
  box-shadow: 0 0 0 3px rgba(61, 143, 184, 0.22) !important;
}

.uh-answer:focus-visible + .uh-likert-btn {
  outline: 3px solid rgba(94, 199, 182, 0.55);
  outline-offset: 2px;
}

.uh-quiz-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(94, 199, 182, 0.25);
  box-shadow: 0 -8px 24px rgba(42, 143, 132, 0.1);
  padding: 0.75rem 0;
}

.uh-quiz-footer-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.uh-quiz-footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.uh-quiz-footer-note {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pxt-ink-soft);
}

.uh-quiz-footer .pxt-btn-primary:disabled {
  opacity: 0.5;
}

@media (max-width: 767.98px) {
  .uh-quiz {
    padding-bottom: 10.5rem;
  }

  .uh-quiz-footer {
    bottom: 4.5rem;
  }

  .uh-likert-btn {
    min-height: 3.6rem;
    padding: 0.35rem 0.1rem !important;
  }

  .uh-likert-emoji {
    font-size: 1.15rem;
  }

  .uh-likert-text {
    font-size: 0.58rem;
  }

  .uh-qrow-prompt {
    font-size: 0.98rem;
  }

  .uh-likert-legend-item small {
    font-size: 0.58rem;
  }
}

@media (max-width: 575.98px) {
  .uh-quiz-footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .uh-quiz-footer-actions {
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .uh-quiz-footer-note {
    text-align: center;
  }
}

/* ——— Motion / scroll reveal ——— */
.pxt-section-label {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pxt-section:hover .pxt-section-label,
[data-pxt-reveal]:hover .pxt-section-label {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(94, 199, 182, 0.22);
}

.pxt-why-panel {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pxt-why-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 60, 40, 0.1);
}

.pxt-choice span:hover {
  border-color: var(--pxt-brand);
  transform: translateY(-2px);
}

.pxt-choice span {
  transition: border-color 0.2s, background 0.2s, transform 0.2s ease, box-shadow 0.2s ease;
}

.pxt-choice input:checked + span {
  box-shadow: 0 8px 18px rgba(94, 199, 182, 0.2);
}

.pxt-reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.pxt-reveal-item.is-in {
  opacity: 1;
  transform: none;
}

.pxt-reveal-item.is-in:nth-child(1) { transition-delay: 0.02s; }
.pxt-reveal-item.is-in:nth-child(2) { transition-delay: 0.07s; }
.pxt-reveal-item.is-in:nth-child(3) { transition-delay: 0.12s; }
.pxt-reveal-item.is-in:nth-child(4) { transition-delay: 0.17s; }
.pxt-reveal-item.is-in:nth-child(5) { transition-delay: 0.22s; }
.pxt-reveal-item.is-in:nth-child(6) { transition-delay: 0.27s; }
.pxt-reveal-item.is-in:nth-child(7) { transition-delay: 0.32s; }
.pxt-reveal-item.is-in:nth-child(8) { transition-delay: 0.37s; }

[data-pxt-reveal].pxt-revealed .pxt-list-check li {
  animation: pxt-rise 0.45s ease both;
}

[data-pxt-reveal].pxt-revealed .pxt-list-check li:nth-child(1) { animation-delay: 0.05s; }
[data-pxt-reveal].pxt-revealed .pxt-list-check li:nth-child(2) { animation-delay: 0.1s; }
[data-pxt-reveal].pxt-revealed .pxt-list-check li:nth-child(3) { animation-delay: 0.15s; }
[data-pxt-reveal].pxt-revealed .pxt-list-check li:nth-child(4) { animation-delay: 0.2s; }
[data-pxt-reveal].pxt-revealed .pxt-list-check li:nth-child(5) { animation-delay: 0.25s; }
[data-pxt-reveal].pxt-revealed .pxt-list-check li:nth-child(6) { animation-delay: 0.3s; }
[data-pxt-reveal].pxt-revealed .pxt-list-check li:nth-child(7) { animation-delay: 0.35s; }
[data-pxt-reveal].pxt-revealed .pxt-list-check li:nth-child(8) { animation-delay: 0.4s; }

.pxt-nav-link {
  position: relative;
}

.pxt-logo {
  transition: transform 0.3s ease;
}

.pxt-brand:hover .pxt-logo {
  transform: scale(1.04) rotate(-2deg);
}

.pxt-mobile-bar a {
  transition: background 0.2s ease, transform 0.2s ease;
}

.pxt-mobile-bar a:active {
  transform: scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .pxt-hero-video,
  .pxt-page-hero::before {
    animation: none !important;
    transform: none !important;
  }

  .pxt-reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}
