/* =========================================================
   Đại sứ Văn hóa SHBiLove 2026 – Landing page
   Chủ đề animation: ngọn lửa 6T – ánh sáng – lan tỏa
   ========================================================= */

/* ---------- Font SHB Sans (fonts/SHB-San) ---------- */
@font-face {
  font-family: "SHB Sans";
  src: url("../fonts/SHB-San/SHBSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SHB Sans";
  src: url("../fonts/SHB-San/SHBSans-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SHB Sans";
  src: url("../fonts/SHB-San/SHBSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SHB Sans";
  src: url("../fonts/SHB-San/SHBSans-MediumItalic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SHB Sans";
  src: url("../fonts/SHB-San/SHBSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SHB Sans";
  src: url("../fonts/SHB-San/SHBSans-SemiBoldItalic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SHB Sans";
  src: url("../fonts/SHB-San/SHBSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SHB Sans";
  src: url("../fonts/SHB-San/SHBSans-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SHB Sans";
  src: url("../fonts/SHB-San/SHBSans-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SHB Sans";
  src: url("../fonts/SHB-San/SHBSans-ExtraBoldItalic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --orange: #f37021;
  --orange-2: #f47920;
  --orange-soft: #f7a163;
  --orange-pale: #fed7aa;
  --peach: #ffdcbd;
  --navy: #272771;
  --navy-2: #32327f;
  --gray: #636363;
  --white: #fff;

  --font: "SHB Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ui: "Inter", var(--font);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1440px;
  --gutter: 80px;
  --header-h: 98px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  color: var(--navy);
  text-align: center;
}

.eyebrow {
  font-size: 20px;
  font-weight: 600;
  line-height: 44px;
  color: var(--orange);
}

/* ---------- Button ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 16px 24px;
  border-radius: 64px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 22px -12px rgba(243, 112, 33, .9);
}

/* Ánh lửa lướt qua nút */
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 214, 120, .65) 50%, transparent 75%);
  transform: translateX(-130%);
  animation: btn-flare 4.5s var(--ease-soft) infinite 1.5s;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(243, 112, 33, .95), 0 0 0 4px rgba(243, 112, 33, .15);
}

@keyframes btn-flare {
  0%, 55% { transform: translateX(-130%); }
  85%, 100% { transform: translateX(130%); }
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: #fffcfa;
  transition: height .5s var(--ease), box-shadow .5s var(--ease-soft), background-color .5s;
}

.header.is-scrolled {
  height: 76px;
  background: rgba(255, 252, 250, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 30px -20px rgba(39, 39, 113, .45);
}

.header__inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__logo { flex: none; width: 113px; transition: transform .4s var(--ease); }
.header__logo:hover { transform: scale(1.04); }

.nav {
  flex: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 24px;
  margin: 0 auto;
}

.nav__list li { display: flex; }

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 24px;
  color: var(--navy-2);
  white-space: nowrap;
  transition: color .35s var(--ease-soft);
}

/* Gạch active ở mép trên header, rộng bằng chữ, chạy từ trái sang */
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: var(--orange);
  box-shadow: 0 2px 10px rgba(243, 112, 33, .4);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .45s var(--ease);
}

.nav__link:hover,
.nav__link.is-active { color: var(--orange); }

.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left center; }

.nav__cta { flex: none; }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
}

.burger span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform .45s var(--ease), opacity .3s;
}

.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 674px;
  overflow: hidden;
  background: #fec087;
}

.hero__media { position: absolute; inset: 0; }

.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform-origin: 70% 40%;
  animation: hero-zoom 2.6s var(--ease-out) both;
}

@keyframes hero-zoom {
  from { transform: scale(1.08); filter: brightness(1.08) saturate(.9); }
  to { transform: scale(1); filter: none; }
}

/* Quầng sáng nhịp thở trên ngọn lửa của đuốc 6T trong ảnh */
.hero__flame-glow {
  position: absolute;
  left: 73.4%;
  top: 30%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 196, 84, .55) 0%, rgba(255, 140, 40, .25) 38%, transparent 68%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: flame-breath 3.2s ease-in-out infinite;
}

@keyframes flame-breath {
  0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.92); }
  35% { opacity: .9; transform: translate(-50%, -52%) scale(1.04); }
  60% { opacity: .65; transform: translate(-50%, -50%) scale(.97); }
}

/* Vệt sáng quét qua toàn hero */
.hero__shine {
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .38) 48%, rgba(255, 236, 200, .2) 52%, transparent 60%);
  mix-blend-mode: soft-light;
  transform: translateX(-60%);
  animation: hero-shine 7s var(--ease-soft) 1.4s infinite;
  pointer-events: none;
}

@keyframes hero-shine {
  0% { transform: translateX(-60%); }
  45%, 100% { transform: translateX(60%); }
}

/* ---------- Đốm lửa bay lên (dùng chung) ---------- */
.embers {
  position: absolute;
  pointer-events: none;
  overflow: hidden;
}

.embers--hero { left: 60%; top: 0; width: 28%; height: 92%; }
.embers--letter { left: 15%; top: 0; width: 70%; height: 70%; }
.embers--torch { left: -40%; top: -25%; width: 180%; height: 80%; overflow: visible; }

.ember {
  position: absolute;
  bottom: 0;
  left: var(--x, 50%);
  width: var(--s, 6px);
  height: var(--s, 6px);
  border-radius: 50%;
  background: radial-gradient(circle, #fff6d5 0%, #ffc04d 40%, rgba(243, 112, 33, 0) 72%);
  opacity: 0;
  animation: ember-rise var(--dur, 5s) linear var(--delay, 0s) infinite;
}

@keyframes ember-rise {
  0% { opacity: 0; transform: translate(0, 0) scale(.6); }
  12% { opacity: 1; }
  50% { transform: translate(var(--drift, 20px), -45vh) scale(1); }
  80% { opacity: .7; }
  100% { opacity: 0; transform: translate(calc(var(--drift, 20px) * -.6), var(--rise, -90vh)) scale(.3); }
}

/* =========================================================
   NEWS SLIDER
   ========================================================= */
.news { padding: 128px 0 80px; }

.news__slider { position: relative; }

.news__viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.news__track {
  display: flex;
  gap: 32px;
  transition: transform .8s var(--ease);
  will-change: transform;
}

.news-card {
  flex: 0 0 calc((100% - 64px) / 3);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-card__media {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 16px;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.news-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(243, 112, 33, .35));
  opacity: 0;
  transition: opacity .6s var(--ease-soft);
}

.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card:hover .news-card__media::after { opacity: 1; }

.news-card__label {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  color: var(--orange);
  text-transform: uppercase;
}

.news-card__title {
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: var(--navy-2);
  transition: color .35s;
}

.news-card:hover .news-card__title { color: var(--orange); }

.news__arrow {
  position: absolute;
  top: 124px;
  z-index: 2;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  transition: transform .4s var(--ease), filter .4s;
}

.news__arrow--prev { left: -16px; }
.news__arrow--prev img { transform: scaleX(-1); }
.news__arrow--next { right: -16px; }
.news__arrow:hover { transform: scale(1.12); filter: drop-shadow(0 6px 10px rgba(243, 112, 33, .45)); }
.news__arrow:disabled { opacity: .35; cursor: default; transform: none; filter: none; }

.news__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.news__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--orange-pale);
  transition: width .5s var(--ease), background-color .4s;
}

.news__dot.is-active { width: 26px; background: var(--orange-soft); }

/* =========================================================
   INTRO
   ========================================================= */
.intro {
  position: relative;
  height: 752px;
  overflow: hidden;
}

.intro__ribbon {
  position: absolute;
  left: 0;
  top: 27px;
  width: 100%;
  height: 725px;
  object-fit: cover;
  object-position: 50% 0;
  animation: ribbon-drift 14s ease-in-out infinite alternate;
}

@keyframes ribbon-drift {
  from { transform: translateX(0) scale(1); }
  to { transform: translateX(-1.5%) scale(1.03); }
}

.intro__inner { position: relative; height: 100%; }

.intro__content { position: relative; z-index: 2; width: 478px; padding-top: 39px; }

.intro__title {
  width: 423px;
  font-size: 40px;
  font-weight: 600;
  line-height: 44px;
  color: var(--navy);
}

.intro__desc {
  margin-top: 20px;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 24px;
}

.intro__info {
  margin-top: 20px;
  padding-left: 24px;
  list-style: disc;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 24px;
}

.intro__info li::marker { color: var(--navy); }

.intro__card,
.intro__photo {
  position: absolute;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 30px 60px -36px rgba(243, 112, 33, .7);
}

.intro__card { left: 628px; top: 0; width: 404px; height: 538px; }
.intro__photo { left: 1065px; top: 261px; width: 295px; height: 393px; }

.intro__card > img,
.intro__photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.intro__card:hover > img,
.intro__photo:hover > img { transform: scale(1.05); }

.intro__card-title {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 78px;
  font-size: 23px;
  letter-spacing: -.01em;
  font-weight: 700;
  line-height: 32px;
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(201, 76, 0, .35);
}

/* =========================================================
   LETTER
   ========================================================= */
.letter {
  padding: 78px 0 66px;
  background: linear-gradient(to bottom, var(--peach) 0%, var(--peach) 28%, rgba(254, 148, 54, .8) 100%);
}

.letter__card {
  position: relative;
  display: flex;
  gap: 56px;
  min-height: 844px;
  padding: 9px;
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 40px 80px -50px rgba(201, 76, 0, .55);
}

.letter__media {
  position: relative;
  flex: none;
  width: 604px;
  overflow: hidden;
  border-radius: 24px;
}

.letter__media > img {
  width: 100%;
  height: 100%;
  min-height: 825px;
  object-fit: cover;
}

.letter__body {
  position: relative;
  flex: 1;
  max-width: 562px;
  padding-top: 114px;
}

.letter__sign {
  position: absolute;
  top: 37px;   /* = 46px tính từ mép trên thẻ, như design */
  right: 11px; /* = 60px tính từ mép phải thẻ, như design */
  width: 174px;
}

.letter__greeting {
  font-size: 16px;
  font-weight: 700;
  line-height: 48px;
  color: #fd6001;
}

.letter__text {
  margin-top: 8px;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 24px;
  color: var(--navy);
}

.letter__text p + p { margin-top: 24px; }

/* =========================================================
   PORTRAIT
   ========================================================= */
.portrait {
  position: relative;
  height: 908px;
}

.portrait::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 61px;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 220, 189, 0) 11%, var(--peach) 61%);
}

.portrait__inner { position: relative; height: 100%; }

.portrait__content { position: relative; z-index: 2; width: 504px; padding-top: 224px; }

.portrait__title { width: 416px; max-width: 100%; }

.portrait__lead {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  color: var(--navy);
}

.traits {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 24px;
}

.trait {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 80px;
  background: var(--white);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 40px;
  color: var(--navy);
  white-space: nowrap;
  box-shadow: 0 10px 30px -22px rgba(243, 112, 33, .7);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.trait:last-child { align-self: stretch; justify-content: center; }

.trait img { flex: none; width: 32px; height: 32px; }

.trait:hover {
  transform: translateX(8px);
  box-shadow: 0 16px 34px -18px rgba(243, 112, 33, .8);
}

.portrait__visual {
  position: absolute;
  left: 704px;
  top: 125px;
  width: 656px;
  height: 783px;
}

.portrait__panel {
  position: absolute;
  left: 56px;
  top: 0;
  width: 600px;
  height: 781px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(to bottom, #f97c31 37%, rgba(255, 220, 189, 0) 100%);
  overflow: hidden;
}

/* Ánh nắng lướt chéo trên tấm nền cam */
.portrait__panel::after {
  content: "";
  position: absolute;
  inset: -30% -60%;
  background: linear-gradient(120deg, transparent 42%, rgba(255, 233, 196, .35) 50%, transparent 58%);
  animation: panel-sweep 6s var(--ease-soft) 1s infinite;
}

@keyframes panel-sweep {
  0% { transform: translateX(-45%); }
  50%, 100% { transform: translateX(45%); }
}

.portrait__quote {
  position: absolute;
  left: 274px;
  top: 47px;
  width: 342px;
  color: var(--white);
}

.portrait__quote-mark { width: 47px; height: 36px; }

.portrait__quote blockquote {
  margin-top: 30px;
  font-family: var(--font-ui);
  font-size: 20px;
  line-height: 30px;
}

.portrait__people {
  position: absolute;
  left: 0;
  top: 239px;
  width: 547px;
  max-width: none;
}

/* =========================================================
   PERKS
   ========================================================= */
.perks { padding: 80px 0; }

.perks__title { width: 355px; max-width: 100%; margin: 2px auto 0; }

.perks__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 63px;
  perspective: 1200px;
}

.perk {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 405 / 494;
  min-height: 494px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--orange);
  color: var(--white);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}

.perk:hover { box-shadow: 0 30px 60px -28px rgba(243, 112, 33, .85); }

.perk__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

/* Vệt sáng quét chéo khi hover */
.perk::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(125deg, transparent 40%, rgba(255, 240, 210, .45) 50%, transparent 60%);
  transform: translateX(-60%);
  transition: transform 1.1s var(--ease);
  pointer-events: none;
}

.perk:hover::after { transform: translateX(60%); }

.perk__art { position: absolute; inset: 0; }

.perk__icon {
  position: absolute;
  max-width: none;
  animation: icon-float 5s ease-in-out infinite;
  transition: transform .7s var(--ease);
}

.perk__icon--arrow-lg { left: 27.63cqw; top: 6.15cqw; width: 50.29cqw; rotate: 11.26deg; }
.perk__icon--arrow-sm { left: 19.26cqw; top: 13.09cqw; width: 36.52cqw; rotate: 11.26deg; animation-delay: .6s; }
.perk__icon--medal    { left: 25.68cqw; top: 8.64cqw; width: 49.38cqw; }
.perk__icon--spread   { left: 22.25cqw; top: 21.36cqw; width: 55.8cqw; rotate: 21.35deg; }
.perk__icon--s        { left: 44.35cqw; top: 14.81cqw; width: 11.94cqw; animation-delay: .4s; }

.perk:hover .perk__icon { transform: translateY(-10px) scale(1.06); }

@keyframes icon-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

/* Huy chương lấp lánh */
.perk__icon--medal { animation: icon-float 5s ease-in-out infinite, medal-glint 4s ease-in-out infinite; }

@keyframes medal-glint {
  0%, 70%, 100% { filter: brightness(1); }
  80% { filter: brightness(1.25) drop-shadow(0 0 14px rgba(255, 220, 120, .9)); }
}

.perk__title {
  position: absolute;
  left: 28px;
  top: 62.72cqw;
  font-size: 24px;
  font-weight: 700;
  line-height: 26px;
}

.perk__desc {
  position: absolute;
  left: 28px;
  right: 24px;
  top: calc(62.72cqw + 40px);
  font-size: 16px;
  line-height: 24px;
}

/* =========================================================
   JOURNEY
   ========================================================= */
.journey {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  aspect-ratio: 1440 / 1864;
}

.journey__glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(243, 112, 33, .32), rgba(243, 112, 33, 0));
  filter: blur(60px);
  pointer-events: none;
  animation: glow-breathe 7s ease-in-out infinite;
}

.journey__glow--1 { left: -5.83%; top: .27%; width: 55.83%; height: 42.44%; }
.journey__glow--2 { left: 47.01%; top: 28.81%; width: 56.81%; height: 47.37%; animation-delay: 2.3s; }
.journey__glow--3 { left: -5.69%; top: 54.94%; width: 56.81%; height: 47.37%; animation-delay: 4.6s; }

@keyframes glow-breathe {
  0%, 100% { opacity: .7; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

.journey__title {
  position: absolute;
  left: 0;
  right: 0;
  top: 1.77%;
}

.journey__path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.journey__draw {
  fill: none;
  stroke: #fff;
  stroke-width: 34;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  visibility: hidden; /* đầu nét tròn vẫn để lộ 1 chấm khi offset = 1 */
}

.stage__circle {
  position: absolute;
  width: 35.69%;
  aspect-ratio: 1;
  border-radius: 50%;
}

/* Vòng sáng lan ra từ mỗi chặng */
.stage__circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(243, 112, 33, .45);
  opacity: 0;
  animation: ring-spread 3.6s var(--ease-out) infinite;
}

@keyframes ring-spread {
  0% { opacity: .9; transform: scale(.94); }
  100% { opacity: 0; transform: scale(1.18); }
}

.stage__circle img { position: relative; width: 100%; }

.stage--1 .stage__circle {
  left: 5.69%;
  top: 7.19%;
  background: radial-gradient(closest-side, rgba(254, 244, 235, 0) 0%, var(--peach) 100%);
}

.stage--1 .stage__camera {
  position: absolute;
  left: 16.73%;
  top: 10.89%;
  width: 71.01%;
  animation: camera-bob 4.5s ease-in-out infinite;
}

@keyframes camera-bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(-2deg); }
}

.stage--2 .stage__circle,
.stage--3 .stage__circle { background: radial-gradient(closest-side, #fef4eb 0%, var(--peach) 100%); }

.stage--2 .stage__circle { left: 58.68%; top: 39.97%; }
.stage--3 .stage__circle { left: 5.97%; top: 66.09%; }

.stage__text {
  position: absolute;
  width: 35.76%;
}

.stage--1 .stage__text { left: 51.11%; top: 13.95%; }
.stage--2 .stage__text { left: 13.13%; top: 48.71%; }
.stage--3 .stage__text { left: 51.11%; top: 76.18%; }

.stage__label {
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  color: var(--orange);
}

.stage__name {
  margin-top: 6px;
  font-size: 36px;
  font-weight: 700;
  line-height: 32px;
  color: var(--navy);
}

.stage__desc {
  margin-top: 33px;
  font-size: 16px;
  line-height: 24px;
  color: var(--navy);
}

.stage__desc + .stage__desc { margin-top: 24px; }

/* =========================================================
   TOP 100 + TOP 33
   ========================================================= */
.awards {
  position: relative;
  z-index: 2;
  margin-bottom: -167px;
}

.awards__layers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.awards__layers > * { position: absolute; max-width: none; }

.awards__orange { left: 0; right: 0; top: 0; height: 873px; background: #f36e1e; }
.awards__deco-100 { left: -1px; top: 129px; width: 100%; }
.awards__fade {
  left: 0;
  right: 0;
  top: 1294px;
  height: 1664px;
  background: linear-gradient(to bottom, rgba(255, 233, 218, .2) 0%, #f5c9aa 51%, rgba(255, 233, 218, 0) 100%);
}
.awards__texture { left: -1px; top: 196px; width: 100%; height: 760px; object-fit: cover; opacity: .5; }
.awards__bg-33 { left: -7px; top: 956px; width: calc(100% + 13px); height: 830px; object-fit: cover; object-position: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); }
.awards__deco-33 { left: -1px; top: 873px; width: 100%; height: 571px; object-fit: cover; object-position: 0 0; }

.top100 { position: relative; padding-top: 44px; }

.top100__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  color: var(--white);
}

.top100__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 90px;
}

.tool {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 10px 24px;
  border-radius: 8px;
  background: var(--white);
  color: var(--gray);
  transition: box-shadow .4s var(--ease-soft), transform .4s var(--ease);
}

.tool:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 214, 140, .9), 0 0 28px 4px rgba(255, 196, 84, .55);
  transform: translateY(-1px);
}

.tool img { flex: none; width: 24px; height: 24px; }

.tool select,
.tool input {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  line-height: 24px;
  color: var(--gray);
}

.tool select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 18px;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23636363' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center;
}

.tool--search { width: 299px; }
.tool--search input { width: 100%; min-width: 0; }
.tool input::placeholder { color: var(--gray); opacity: 1; }

.table-wrap {
  margin-top: 54px;
  min-height: 532px;
  overflow-x: auto;
  border-radius: 8px;
  background: rgba(211, 78, 19, .4);
}

.rank-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--white);
  font-size: 16px;
}

.rank-table th:nth-child(1) { width: 8.5%; }
.rank-table th:nth-child(2) { width: 23.75%; }
.rank-table th:nth-child(3) { width: 29%; }

.rank-table th {
  height: 52px;
  padding: 0;
  font-weight: 700;
  line-height: 24px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #ea8b52;
}

.rank-table th:first-child,
.rank-table td:first-child { padding-left: 20px; }

.rank-table td {
  height: 48px;
  padding: 0;
  line-height: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-table td:first-child { padding-left: 28px; }
.rank-table td:nth-child(2) { font-weight: 700; padding-left: 3px; }

.rank-table tbody tr:nth-child(even) td { background: rgba(204, 80, 25, .4); }

.rank-table tbody tr { transition: background-color .3s; }
.rank-table tbody tr:hover td { background: rgba(255, 196, 84, .22); }

.rank-table tbody tr.row-in { animation: row-in .6s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }

@keyframes row-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.rank-table .empty td {
  height: 160px;
  text-align: center;
  font-weight: 600;
  white-space: normal;
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 45px;
  min-height: 32px;
}

.pager__btn {
  position: relative;
  width: 31px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  font-size: 16px;
  line-height: 24px;
  transition: transform .3s var(--ease);
}

.pager__btn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .45s var(--ease);
}

.pager__btn { isolation: isolate; }
.pager__btn:hover { transform: translateY(-2px); }

.pager__btn.is-active { color: var(--gray); font-weight: 700; }
.pager__btn.is-active::before { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 18px 2px rgba(255, 214, 140, .6); }

.pager__btn--nav { width: 32px; font-size: 18px; }
.pager__btn:disabled { opacity: .35; cursor: default; transform: none; }

.top33 { position: relative; }

.top33__title {
  width: 582px;
  margin: 110px 0 0 656px;
}

.ambassadors {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 32px 32px;
  margin-top: 97px;
}

.amb {
  --d: 0ms;
}

.amb__photo {
  position: relative;
  aspect-ratio: 187 / 188;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 0 0 0 rgba(243, 112, 33, 0);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}

.amb__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}

.amb:hover .amb__photo {
  transform: translateY(-6px);
  box-shadow: 0 0 0 3px var(--orange), 0 18px 36px -10px rgba(243, 112, 33, .75);
}

.amb:hover .amb__photo img { transform: scale(1.08); }

.amb__name,
.amb__unit {
  font-size: 14px;
  line-height: 20px;
  color: var(--navy);
}

.amb__name { margin-top: 9px; font-weight: 700; }

/* Hiện lan tỏa từ tâm lưới */
.js .ambassadors .amb { opacity: 0; transform: scale(.85); }

.ambassadors.is-visible .amb {
  animation: amb-in .9s var(--ease) both;
  animation-delay: var(--d);
}

@keyframes amb-in {
  from { opacity: 0; transform: scale(.85); filter: brightness(1.6) saturate(.4); }
  to { opacity: 1; transform: none; filter: none; }
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative;
  height: 738px;
}

.cta__bg {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 844px;
  object-fit: cover;
}

.cta__inner {
  position: relative;
  z-index: 3;
  height: 100%;
}

.cta__text {
  position: absolute;
  left: 50%;
  top: 359px;
  width: 624px;
  transform: translateX(-50%);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.17;
  text-align: center;
  text-transform: uppercase;
  color: var(--navy-2);
  /* Ánh lửa lướt qua chữ */
  background: linear-gradient(100deg, var(--navy-2) 0%, var(--navy-2) 42%, #f37021 50%, #ffb347 52%, var(--navy-2) 60%, var(--navy-2) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-fire 6s ease-in-out infinite;
}

.js .cta__text[data-animate] { transform: translate(-50%, 40px); }
.js .cta__text[data-animate].is-visible { transform: translateX(-50%); }

@keyframes text-fire {
  0% { background-position: 100% 0; }
  55%, 100% { background-position: 0 0; }
}

.torch {
  position: absolute;
  left: 973px;
  top: 317px;
  z-index: 5;
  width: 267px;
}

.torch__img {
  position: relative;
  width: 267px;
  transform-origin: 50% 64%;
  animation: torch-flicker 2.8s ease-in-out infinite;
}

/* Ngọn lửa bập bùng: co giãn nhẹ quanh chân lửa */
@keyframes torch-flicker {
  0%, 100% { transform: scale(1, 1) skewX(0deg); filter: brightness(1); }
  18% { transform: scale(1.01, 1.025) skewX(-.8deg); filter: brightness(1.06); }
  36% { transform: scale(.995, .99) skewX(.6deg); filter: brightness(.98); }
  58% { transform: scale(1.012, 1.03) skewX(-.4deg); filter: brightness(1.08); }
  80% { transform: scale(1, .995) skewX(.5deg); }
}

.torch::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 70%;
  height: 16%;
  border-radius: 50%;
  transform: translateX(-46%);
  background: radial-gradient(closest-side, rgba(255, 246, 220, .95), rgba(255, 196, 110, .45) 55%, transparent);
  filter: blur(4px);
  animation: base-pulse 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes base-pulse {
  0%, 100% { opacity: .65; transform: translateX(-46%) scale(.92); }
  50% { opacity: 1; transform: translateX(-46%) scale(1.06); }
}

.torch__glow {
  position: absolute;
  left: 50%;
  top: 25%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 186, 80, .65) 0%, rgba(243, 112, 33, .28) 40%, transparent 70%);
  filter: blur(6px);
  animation: flame-breath 3s ease-in-out infinite;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  z-index: 4;
  padding: 47px 0 31px;
  background: var(--navy-2);
  color: var(--white);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0;
  height: 41px;
}

.footer__brand img:first-child { width: 113px; }
.footer__brand img:last-child { width: 136px; }

.footer__divider {
  width: 1px;
  height: 40px;
  margin: 0 24px 0 31px;
  background: #6161a1;
}

.footer__contacts {
  display: flex;
  gap: 68px;
  margin-right: 152px;
  padding-top: 7px;
}

.contact { width: 202px; }

.contact__label {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  text-transform: uppercase;
}

.contact__name {
  margin-top: 16px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--orange-soft);
}

.contact__line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  transition: color .3s;
}

.contact__line img { flex: none; }
.contact__line:hover { color: var(--orange-soft); }

.footer__copy {
  margin-top: 46px;
  padding-top: 25px;
  border-top: 1px solid rgba(162, 170, 200, .5);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 18px;
}

/* ---------- To top ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(243, 112, 33, .9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .5s var(--ease-soft), transform .5s var(--ease), visibility .5s;
}

.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.js [data-animate] {
  opacity: 0;
  transition-property: opacity, transform, filter;
  transition-duration: 1s;
  transition-timing-function: var(--ease);
}

.js [data-animate="fade-up"]    { transform: translateY(40px); }
.js [data-animate="fade-left"]  { transform: translateX(60px); }
.js [data-animate="fade-right"] { transform: translateX(-60px); }
.js [data-animate="zoom-in"]    { transform: scale(.82); }
.js [data-animate="rise"]       { transform: translateY(70px) scale(.96); filter: brightness(1.15); }

.js [data-animate].is-visible { opacity: 1; transform: none; filter: none; }

/* Chữ viết tay hiện dần như đang viết */
.js .write-in { clip-path: inset(-10% 100% -20% 0); }
.js .is-visible > .write-in,
.js .write-in.is-visible { clip-path: inset(-10% -2% -20% 0); transition: clip-path 1.8s cubic-bezier(.65, 0, .35, 1); }

/* Các phần tử con hiện lần lượt */
.js [data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js [data-stagger].is-visible > * { opacity: 1; transform: none; }
.js [data-stagger].is-visible > *:nth-child(2) { transition-delay: .1s; }
.js [data-stagger].is-visible > *:nth-child(3) { transition-delay: .2s; }
.js [data-stagger].is-visible > *:nth-child(4) { transition-delay: .3s; }
.js [data-stagger].is-visible > *:nth-child(5) { transition-delay: .4s; }

.js .traits > * { transform: translateX(-40px); }

/* Dấu tick "bật" lên */
.traits.is-visible .trait img { animation: tick-pop .7s var(--ease) both; }
.traits.is-visible .trait:nth-child(1) img { animation-delay: .35s; }
.traits.is-visible .trait:nth-child(2) img { animation-delay: .45s; }
.traits.is-visible .trait:nth-child(3) img { animation-delay: .55s; }
.traits.is-visible .trait:nth-child(4) img { animation-delay: .65s; }
.traits.is-visible .trait:nth-child(5) img { animation-delay: .75s; }

@keyframes tick-pop {
  0% { transform: scale(0) rotate(-40deg); }
  60% { transform: scale(1.25) rotate(8deg); }
  100% { transform: scale(1) rotate(0); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1400px) {
  :root { --gutter: 48px; }

  .header__inner { padding: 0 24px; }
  .nav__list { gap: 18px; }
  .nav__link { font-size: 15px; }

  .intro__card { left: auto; right: calc(var(--gutter) + 328px); }
  .intro__photo { left: auto; right: var(--gutter); }
  .intro__content { width: min(478px, calc(100% - 760px)); }
  .intro__title { width: 100%; font-size: 36px; line-height: 42px; }

  .letter__card { gap: 40px; }
  .letter__media { width: 46%; }

  .portrait__visual { left: auto; right: var(--gutter); }

  .top33__title { margin-left: auto; margin-right: 42px; }
  .torch { left: auto; right: calc(50% - 520px); }
}

/* ---------- ≤ 1200: tablet ngang ---------- */
@media (max-width: 1200px) {
  :root { --gutter: 32px; --header-h: 80px; }

  .burger { display: block; z-index: 2; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 86vw);
    flex: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 104px 32px 32px;
    background: #fffcfa;
    visibility: hidden;
    transform: translateX(105%);
    transition: transform .7s var(--ease), box-shadow .7s var(--ease), visibility 0s .7s;
  }

  .nav.is-open {
    visibility: visible;
    transform: none;
    box-shadow: -20px 0 60px -30px rgba(39, 39, 113, .4);
    transition: transform .7s var(--ease), box-shadow .7s var(--ease), visibility 0s;
  }

  .nav__list { flex-direction: column; align-items: flex-start; gap: 18px; margin: 0; }
  .nav__link { font-size: 17px; }
  .nav__list li { display: block; }
  .nav__link { display: inline-block; }
  .nav__link::after { top: auto; bottom: -4px; height: 2px; border-radius: 2px; }

  .nav__list li { opacity: 0; transform: translateX(24px); transition: opacity .5s var(--ease-soft), transform .6s var(--ease); }
  .nav.is-open .nav__list li { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: .04s; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: .08s; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: .12s; }
  .nav.is-open .nav__list li:nth-child(5) { transition-delay: .16s; }
  .nav.is-open .nav__list li:nth-child(6) { transition-delay: .2s; }
  .nav.is-open .nav__list li:nth-child(7) { transition-delay: .24s; }
  .nav.is-open .nav__list li:nth-child(8) { transition-delay: .28s; }

  .hero { height: clamp(230px, 46.8vw, 674px); }

  .news { padding: 80px 0 32px; }
  .news-card { flex-basis: calc((100% - 32px) / 2); }

  /* Giới thiệu: nội dung trên, 2 ảnh dưới */
  .intro { height: auto; padding: 24px 0 72px; }
  .intro__ribbon { top: auto; bottom: 0; height: 70%; }
  .intro__inner { display: grid; grid-template-columns: 1.37fr 1fr; gap: 24px; align-items: end; }
  .intro__content { grid-column: 1 / -1; width: auto; max-width: 720px; padding-top: 0; }
  .intro__card,
  .intro__photo { position: relative; left: auto; right: auto; top: auto; width: auto; height: auto; }
  .intro__card { aspect-ratio: 404 / 538; }
  .intro__photo { aspect-ratio: 295 / 393; margin-bottom: 40px; }

  .letter__card { gap: 32px; min-height: 0; }
  .letter__media { width: 42%; }
  .letter__media > img { min-height: 0; height: 100%; object-position: 50% 40%; }
  .letter__body { max-width: none; padding: 96px 28px 32px 0; }
  .letter__sign { top: 30px; right: 28px; }

  .portrait { height: auto; padding: 72px 0 0; }
  .portrait::before { top: 0; }
  .portrait__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 32px; }
  .portrait__content { width: 100%; padding: 0 0 48px; }
  .trait { white-space: normal; line-height: 24px; }
  .portrait__visual { position: relative; left: auto; right: auto; top: auto; width: 100%; height: auto; aspect-ratio: 656 / 783; container-type: inline-size; }
  .portrait__panel { left: 8.54%; width: 91.46%; height: 99.7%; }
  .portrait__quote { left: 41.77%; top: 6%; width: 52%; }
  .portrait__quote blockquote { font-size: clamp(14px, 3cqw, 20px); line-height: 1.5; margin-top: 3cqw; }
  .portrait__quote-mark { width: 7cqw; height: auto; }
  .portrait__people { top: 30.5%; width: 83.4%; }

  .perks__grid { gap: 20px; }
  .perk { aspect-ratio: auto; min-height: 0; padding-bottom: 28px; }
  .perk__title,
  .perk__desc { position: relative; left: auto; right: auto; top: auto; padding: 0 22px; }
  .perk__title { padding-top: 62.72cqw; font-size: 22px; }
  .perk__desc { margin-top: 12px; font-size: 15px; }

  .awards { margin-bottom: -120px; }
  .top100__tools { margin-top: 48px; }
  .table-wrap { margin-top: 32px; min-height: 0; }
  .top33__title { margin: 96px auto 0; width: min(582px, 100%); }
  .ambassadors { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 20px; margin-top: 56px; }

  .cta { height: auto; padding: 200px 0 0; overflow: hidden; }
  .cta__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }
  .cta__text,
  .js .cta__text[data-animate],
  .js .cta__text[data-animate].is-visible { position: relative; left: auto; top: auto; transform: none; width: auto; max-width: 624px; }
  .js .cta__text[data-animate] { transform: translateY(40px); }
  .js .cta__text[data-animate].is-visible { transform: none; }
  .torch { position: relative; left: auto; right: auto; top: auto; margin-bottom: -14px; }
  .cta__bg { height: 100%; object-position: 50% 100%; }

  .footer__top { flex-direction: column; }
  .footer__contacts { margin-right: 0; }
}

/* ---------- ≤ 900: tablet dọc ---------- */
@media (max-width: 900px) {
  :root { --gutter: 24px; }

  .section-title,
  .top100__title { font-size: 30px; line-height: 38px; }


  /* Hành trình: chuyển sang dòng thời gian dọc */
  .journey {
    aspect-ratio: auto;
    padding: 56px var(--gutter) 64px;
    display: flex;
    flex-direction: column;
    gap: 56px;
  }

  .journey::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 150px;
    bottom: 140px;
    width: 4px;
    margin-left: -2px;
    border-radius: 4px;
    background: linear-gradient(to bottom, var(--orange) var(--progress, 0%), rgba(243, 112, 33, .15) var(--progress, 0%));
  }

  .journey__path { display: none; }
  .journey__title { position: relative; top: auto; }
  .journey__glow { display: none; }

  .stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }

  .stage__circle,
  .stage__text { position: relative; left: auto !important; top: auto !important; }
  .stage { z-index: 1; }
  .stage__circle { width: min(360px, 80vw); background-color: #fff; }
  .stage__text { width: auto; max-width: 560px; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 20px 40px -30px rgba(243, 112, 33, .6); }
  .stage__name { font-size: 30px; }
  .stage__desc { margin-top: 18px; }

  .letter__card { flex-direction: column; gap: 0; }
  .letter__media { width: 100%; height: 400px; }
  .letter__media > img { object-position: 50% 42%; }
  .letter__body { padding: 40px 32px 32px; }
  .letter__sign { top: 30px; right: 32px; }

  .portrait__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
  .portrait__content { max-width: 560px; padding-bottom: 0; }

  .perks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .perk:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px); }
  .perk__title,
  .perk__desc { padding-left: 28px; padding-right: 28px; }
  .perk__title { font-size: 24px; }
  .perk__desc { font-size: 16px; }

  .portrait__visual { max-width: 560px; }

  .ambassadors { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }

  .cta__text { font-size: 30px; }

  .footer__contacts { flex-wrap: wrap; gap: 32px; }
}

/* ---------- 601–900: hành trình so le ảnh / chữ ---------- */
@media (min-width: 601px) and (max-width: 900px) {
  .journey { gap: 48px; }
  .journey::before { display: none; }
  .stage { flex-direction: row; align-items: center; gap: 28px; text-align: left; }
  .stage--2 { flex-direction: row-reverse; }
  .stage__circle { flex: none; width: 42%; }
  .stage__text { flex: 1; }
}

/* ---------- ≤ 600: mobile ---------- */
@media (max-width: 600px) {
  :root { --gutter: 16px; --header-h: 68px; }

  .header__logo { width: 92px; }
  .header__inner { padding: 0 16px; }


  .news { padding: 48px 0; }
  .news-card { flex-basis: 100%; }
  .news__arrow--prev { left: -6px; }
  .news__arrow--next { right: -6px; }
  .news__arrow { top: 108px; }
  .news-card__media { height: 220px; }

  .eyebrow { font-size: 17px; line-height: 32px; }
  .intro__title { font-size: 28px; line-height: 34px; }
  .intro__inner { grid-template-columns: 1fr; }
  .intro__photo { display: none; }

  .letter { padding: 48px 0; }
  .letter__card { padding: 6px; border-radius: 24px; }
  .letter__media { height: 260px; border-radius: 20px; }
  .letter__body { padding: 28px 14px 18px; }
  .letter__sign { position: relative; top: auto; right: auto; width: 140px; margin-bottom: 8px; }

  .trait { padding: 10px 18px; line-height: 24px; font-size: 15px; border-radius: 40px; white-space: normal; }

  .intro__card-title { top: 48px; font-size: 19px; line-height: 26px; }

  /* Chân dung: trích dẫn phía trên, ảnh nhân sự bám đáy */
  .portrait__visual { aspect-ratio: 656 / 1000; }
  .portrait__panel { left: 0; width: 100%; height: 100%; }
  .portrait__quote { left: 9%; top: 5%; width: 82%; }
  .portrait__quote blockquote { font-size: 15px; line-height: 23px; }
  .portrait__people { top: auto; bottom: 0; left: 0; width: 96%; }
  .trait:last-child { justify-content: flex-start; }

  .perks { padding: 56px 0 24px; }
  .perks__grid { grid-template-columns: minmax(0, 1fr); }
  .perk:last-child { grid-column: auto; width: auto; justify-self: stretch; }
  .journey { padding-top: 32px; gap: 40px; }
  .perks__title { width: min(320px, 100%); }
  .perks__grid { margin-top: 40px; }

  .top100__tools { flex-direction: column; }
  .tool,
  .tool--search { width: 100%; }
  .tool select { width: 100%; }

  /* Bảng Top 100 dạng thẻ: không phải vuốt ngang */
  .table-wrap { overflow: visible; background: rgba(211, 78, 19, .4); }
  .rank-table { min-width: 0; table-layout: auto; }
  .rank-table thead { display: none; }
  .rank-table tbody tr {
    display: grid;
    grid-template-columns: 34px auto minmax(0, 1fr);
    column-gap: 8px;
    row-gap: 2px;
    align-items: center;
    padding: 12px 16px;
  }
  .rank-table tbody tr:nth-child(even) { background: rgba(204, 80, 25, .4); }
  .rank-table tbody tr:nth-child(even) td { background: none; }
  .rank-table tbody td { height: auto; padding: 0 !important; white-space: normal; }
  .rank-table tbody td:nth-child(1) { grid-row: 1 / span 2; font-size: 18px; font-weight: 700; text-align: center; }
  .rank-table tbody td:nth-child(2) { grid-column: 2 / span 2; font-size: 16px; }
  .rank-table tbody td:nth-child(3),
  .rank-table tbody td:nth-child(4) { font-size: 14px; opacity: .88; }
  .rank-table tbody td:nth-child(3)::before { content: "Mã NV: "; }
  .rank-table tbody td:nth-child(4)::before { content: "· "; }
  .rank-table .empty { display: block; }
  .rank-table .empty td { display: block; height: auto; padding: 40px 16px !important; text-align: center; }

  /* Dải cam mềm sau tiêu đề trắng "Xin chúc mừng" (nền desktop đặt theo toạ độ cố định) */
  .top33::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -30px;
    width: 100vw;
    height: 360px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, rgba(243, 110, 30, 0) 0%, rgba(243, 110, 30, .9) 22%, #f36e1e 34%, #f36e1e 64%, rgba(243, 110, 30, 0) 100%);
    pointer-events: none;
  }
  .top33__title,
  .ambassadors { position: relative; }
  .top33__title { margin-top: 110px; }
  .ambassadors { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; }
  .amb__name, .amb__unit { font-size: 12px; line-height: 17px; }

  .cta { padding-top: 160px; }
  .cta__text { font-size: 24px; }
  .torch { width: 200px; }
  .torch__img { width: 200px; }

  .footer__brand { flex-wrap: wrap; height: auto; }
  .footer__contacts { flex-direction: column; }
}

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

  .js [data-animate],
  .js [data-stagger] > *,
  .js .ambassadors .amb { opacity: 1; transform: none; filter: none; }

  .js .write-in { clip-path: none; }
  .traits.is-visible .trait img,
  .ambassadors.is-visible .amb,
  .rank-table tbody tr.row-in { animation: none; }
  .journey__draw { stroke-dashoffset: 0; visibility: visible; }
  .embers { display: none; }
  .cta__text { background: none; -webkit-text-fill-color: currentColor; }
}

@media (max-width: 359px) {
  .ambassadors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .amb__name, .amb__unit { font-size: 13px; line-height: 18px; }
}
