/* Index page: hero floating parallax (vanilla adaptation) */
.hero--wave{
  /* Bỏ height cố định: chiều cao theo tỉ lệ ảnh → mọi màn hiển thị TRỌN ảnh giống nhau, không crop. */
  background: #ffffff;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
/* Vô hiệu min-height:84vh của .hero--fullbleed → chiều cao hero theo đúng tỉ lệ ảnh, không tạo khoảng trống. */
.hero.hero--fullbleed.hero--wave { min-height: 0; }
.hero--wave .hero__bg{
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  /* Khung đúng tỉ lệ ảnh (905×548) → box tự cao theo bề rộng, ảnh phủ khít. */
  aspect-ratio: 905 / 548;
  isolation: isolate;
  background: #ffffff;
  overflow: hidden;
}
.hero--wave .hero__bg-media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero--wave .hero__bg-media--blur{
  /* Không còn khoảng trống 2 bên (box = tỉ lệ ảnh) nên không cần lớp nền mờ. */
  display: none;
}
.hero--wave .hero__bg-media--main{
  /* Box đã đúng tỉ lệ ảnh → cover phủ khít, KHÔNG crop, đồng bộ mọi màn. */
  object-fit: cover;
  object-position: center;
  display: block;
  transform: none;
  filter: none;
}
/* debug-20260605 (hero-mobile-covered-small): ở mobile/tablet box aspect-ratio
   905/548 chỉ cao ~227px trên màn ~375px → hero quá nhỏ và đỉnh nằm sau header
   over-hero. Đặt min-height để ảnh đủ to; main media đã object-fit:cover +
   object-position:center → chủ thể nằm giữa, không bị header che. */
@media (max-width: 1023px) {
  .hero--wave .hero__bg { min-height: clamp(360px, 56vh, 560px); }
}
.hero--wave .hero__wave{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  /* Giảm độ wave: thấp/phẳng hơn, bớt chiếm diện tích. */
  height: clamp(56px, 9vh, 110px);
  color: #ffffff;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 -10px 22px rgba(2, 6, 23, 0.16));
}
.hero--wave .hero__wave svg{
  width: 100%;
  height: 100%;
  display: block;
}

/* Chỉ báo "cuộn xuống" — mũi tên bounce ở giữa-đáy ảnh hero. */
.hero-scroll-cue{
  position: absolute;
  left: 50%;
  bottom: clamp(84px, 11vh, 132px);
  z-index: 4;
  display: block;
  color: #fff;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
  animation: heroScrollBounce 1.6s ease-in-out infinite;
}
.hero-scroll-cue svg{
  width: 54px;
  height: 54px;
  display: block;
}
@keyframes heroScrollBounce{
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 9px); }
}
@media (prefers-reduced-motion: reduce){
  .hero-scroll-cue{ animation: none; transform: translate(-50%, 0); }
}

.hero-wave__content{
  position: relative;
  z-index: 3;
  background: #ffffff;
  padding: clamp(22px, 3.4vh, 40px) 0 clamp(18px, 3vh, 34px);
}
.hero-wave__content-inner{
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}
.hero-wave__title{
  margin: 0 0 10px;
  color: var(--color-text);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.08;
}
.hero-wave__subtitle{
  margin: 0 auto;
  max-width: 60ch;
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: 1.65;
}
.hero-wave__ctas{
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero--floating {
  /* ENH-063 hotfix 1.46.3: 820px ép hero cao quá so với content desktop → 600px. */
  background: #ffffff;
  min-height: 600px;
  --hero-grid-color: #e7e5e4;
  --hero-grid-size: 20px;
  --hero-grid-dot: 3px;
  --hero-grid-gap: 8px;
  /* BUG-015 — clip slider negative-margin overflow để không tạo horizontal scroll */
  overflow: hidden;
}
.hero--floating .hero__bg {
  isolation: isolate;
  background:
    radial-gradient(900px 520px at 10% 18%, rgba(6, 136, 211, 0.18), transparent 62%),
    radial-gradient(820px 460px at 88% 70%, rgba(6, 136, 211, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f0f8ff 100%);
}
.hero--floating .hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, var(--hero-grid-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hero-grid-color) 1px, transparent 1px);
  background-size: var(--hero-grid-size) var(--hero-grid-size);
  mask-image:
    repeating-linear-gradient(
      to right,
      #000 0,
      #000 var(--hero-grid-dot),
      transparent var(--hero-grid-dot),
      transparent var(--hero-grid-gap)
    ),
    repeating-linear-gradient(
      to bottom,
      #000 0,
      #000 var(--hero-grid-dot),
      transparent var(--hero-grid-dot),
      transparent var(--hero-grid-gap)
    );
  -webkit-mask-image:
    repeating-linear-gradient(
      to right,
      #000 0,
      #000 var(--hero-grid-dot),
      transparent var(--hero-grid-dot),
      transparent var(--hero-grid-gap)
    ),
    repeating-linear-gradient(
      to bottom,
      #000 0,
      #000 var(--hero-grid-dot),
      transparent var(--hero-grid-dot),
      transparent var(--hero-grid-gap)
    );
}
.hero--floating .hero__bg-overlay {
  z-index: 1;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 40%, rgba(241, 245, 255, 0.35) 100%);
}
.hero--floating .hero__content {
  /* ENH-063 hotfix 1.46.3: clamp(780, 82vh, 920) → clamp(720, 70vh, 860). */
  min-height: clamp(720px, 70vh, 860px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--space-6));
  padding-bottom: calc(var(--header-h) + var(--space-10));
  position: relative;
}
.hero--floating .hero__content::after {
  content: none;
}
.hero--floating .hero-inner {
  min-height: 100%;
}
.hero--floating .hero-right {
  display: block;
  align-self: end;
}
.hero--floating .hero-left {
  z-index: 3;
  text-align: left;
}
.hero--floating .hero-left::after { content: none; }
.hero--floating .hero-ctas {
  justify-content: flex-start;
}
.hero--floating .hero__title,
.hero--floating .hero__subtitle {
  color: var(--color-text);
}
.hero--floating .hero__title {
  font-size: clamp(2rem, 4.1vw, 3.3rem);
  line-height: 1.08;
}
.hero--floating .hero__subtitle {
  font-size: var(--text-body);
  color: var(--color-text-muted);
  max-width: 58ch;
  margin-inline: 0;
}
.hero--floating .hero-ctas .btn {
  font-size: 0.98rem;
}

.hero-floating-scene {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1400px, 98vw);
  height: min(860px, calc(100% - 16px));
  transform: translate(-50%, -50%);
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-right--desktop-slider {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-static-media {
  margin: 0;
}

.hero-static-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-static-media--desktop {
  width: 100%;
  max-width: none;
  margin-top: clamp(18px, 2.8vh, 40px);
  margin-left: 0;
  margin-right: 0;
  position: relative;
  height: clamp(440px, 45vw, 680px);
}

.hero-floating__item {
  position: absolute;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 56px rgba(6, 136, 211, 0.22);
  will-change: transform;
}
.hero-floating__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 10 floating images: wider spread on both sides + denser middle */
.hero-floating__item--1 { top: 7%; left: -2%; width: clamp(205px, 19vw, 330px); height: clamp(242px, 23vw, 405px); }
.hero-floating__item--2 { top: 7%; right: -2%; width: clamp(198px, 18vw, 315px); height: clamp(236px, 22vw, 390px); }
.hero-floating__item--3 { bottom: 4%; left: 1%; width: clamp(178px, 16.5vw, 285px); height: clamp(206px, 20vw, 350px); }
.hero-floating__item--4 { bottom: 4%; right: 1%; width: clamp(178px, 16.5vw, 285px); height: clamp(206px, 20vw, 350px); }
.hero-floating__item--5 { top: 24%; left: 18%; width: clamp(114px, 10.2vw, 178px); height: clamp(86px, 8.2vw, 138px); }
.hero-floating__item--6 { top: 24%; right: 18%; width: clamp(114px, 10.2vw, 178px); height: clamp(86px, 8.2vw, 138px); }
.hero-floating__item--7 { bottom: 24%; left: 18%; width: clamp(120px, 10.6vw, 188px); height: clamp(92px, 8.8vw, 148px); }
.hero-floating__item--8 { bottom: 24%; right: 18%; width: clamp(120px, 10.6vw, 188px); height: clamp(92px, 8.8vw, 148px); }
.hero-floating__item--9 { top: 11%; left: 30%; width: clamp(94px, 8.5vw, 148px); height: clamp(72px, 6.8vw, 118px); }
.hero-floating__item--10 { bottom: 12%; right: 30%; width: clamp(94px, 8.5vw, 148px); height: clamp(72px, 6.8vw, 118px); }

.hero-static-mobile {
  display: none;
}

.hero-static-media--desktop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 48%, rgba(255,255,255,0.1) 100%);
}

/* Phase 94 task 377 rolled back 2026-05-18 (debug session
   `hero-floating-scene-covers-content`): floating-scene chưa polish, các items
   ở size 20-27vw + vị trí -2%/-5% đè lên hero content. Quay lại bản trước
   Phase 94 — slider có fade hiển thị, floating-scene giữ `display: none`. */

/* Desktop contract: 3 breakpoint bands to avoid overlap and keep images readable */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-floating-scene { display: none; }
  .hero-floating-scene {
    width: min(1120px, 96vw);
    height: min(760px, calc(100% - 24px));
  }
  .hero-floating__item--1 { top: 8%; left: -8%; width: 27vw; height: 33vw; }
  .hero-floating__item--2 { top: 8%; right: -8%; width: 27vw; height: 33vw; }
  .hero-floating__item--3 { bottom: 6%; left: -6%; width: 24vw; height: 29vw; }
  .hero-floating__item--4 { bottom: 6%; right: -6%; width: 24vw; height: 29vw; }
  .hero-floating__item--5 { top: 24%; left: 11%; width: 12vw; height: 8.8vw; }
  .hero-floating__item--6 { top: 24%; right: 11%; width: 12vw; height: 8.8vw; }
  .hero-floating__item--7 { bottom: 24%; left: 11%; width: 12.5vw; height: 9.3vw; }
  .hero-floating__item--8 { bottom: 24%; right: 11%; width: 12.5vw; height: 9.3vw; }
  .hero-floating__item--9 { display: none; }
  .hero-floating__item--10 { display: none; }
}

@media (max-width: 980px){
  .hero--wave .hero__bg-media--main{
    object-position: center;
  }
}

@media (max-width: 640px){
  .hero--wave .hero__wave{
    height: clamp(48px, 10vh, 90px);
  }
  .hero--wave .hero__bg-media--main{
    object-position: center;
  }
}

@media (min-width: 1280px) and (max-width: 1535px) {
  .hero-floating-scene { display: none; }
  .hero-floating-scene {
    width: min(1280px, 96vw);
    height: min(820px, calc(100% - 20px));
  }
  .hero-floating__item--1 { top: 8%; left: -4%; width: 25vw; height: 31vw; }
  .hero-floating__item--2 { top: 8%; right: -4%; width: 25vw; height: 31vw; }
  .hero-floating__item--3 { bottom: 5%; left: -1%; width: 22vw; height: 27vw; }
  .hero-floating__item--4 { bottom: 5%; right: -1%; width: 22vw; height: 27vw; }
  .hero-floating__item--5 { top: 24%; left: 14%; width: 11vw; height: 8.2vw; }
  .hero-floating__item--6 { top: 24%; right: 14%; width: 11vw; height: 8.2vw; }
  .hero-floating__item--7 { bottom: 24%; left: 14%; width: 11.6vw; height: 8.8vw; }
  .hero-floating__item--8 { bottom: 24%; right: 14%; width: 11.6vw; height: 8.8vw; }
  .hero-floating__item--9 { display: none; }
  .hero-floating__item--10 { display: none; }
}

@media (min-width: 1536px) {
  .hero-floating-scene { display: none; }
  .hero-floating-scene {
    width: min(1440px, 94vw);
    height: min(860px, calc(100% - 16px));
  }
  .hero-floating__item--1 { top: 7%; left: -2%; width: 23vw; height: 28vw; max-width: 400px; max-height: 500px; }
  .hero-floating__item--2 { top: 7%; right: -2%; width: 23vw; height: 28vw; max-width: 400px; max-height: 500px; }
  .hero-floating__item--3 { bottom: 5%; left: 1%; width: 20vw; height: 24vw; max-width: 340px; max-height: 420px; }
  .hero-floating__item--4 { bottom: 5%; right: 1%; width: 20vw; height: 24vw; max-width: 340px; max-height: 420px; }
  .hero-floating__item--5 { top: 23%; left: 16%; width: 10.2vw; height: 7.4vw; min-width: 158px; min-height: 118px; }
  .hero-floating__item--6 { top: 23%; right: 16%; width: 10.2vw; height: 7.4vw; min-width: 158px; min-height: 118px; }
  .hero-floating__item--7 { bottom: 23%; left: 16%; width: 10.8vw; height: 7.9vw; min-width: 168px; min-height: 126px; }
  .hero-floating__item--8 { bottom: 23%; right: 16%; width: 10.8vw; height: 7.9vw; min-width: 168px; min-height: 126px; }
  .hero-floating__item--9 { display: none; }
  .hero-floating__item--10 { display: none; }
}

@media (max-width: 1023px) {
  /* Debug 2026-05-18 (hero-tablet-2sliders): `.hero--floating .hero-right` ở L94
     có specificity (0,2,0) > `.hero-right--desktop-slider` (0,1,0), nên rule
     hide bên dưới không thắng nếu thiếu `!important`. Mobile block L387 đã có. */
  .hero-right--desktop-slider { display: none !important; }
  .hero-floating-scene { display: none; }
  .hero-static-mobile {
    order: 1;
    display: block;
    position: relative;
    width: min(98vw, 900px);
    margin: 0 auto 16px;
    z-index: 1;
    touch-action: pan-y;
  }
  .hero-static-media--mobile {
    aspect-ratio: 905 / 548;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 46px rgba(6, 136, 211, 0.22);
    background: #0a1a3a;
  }
  .hero--floating .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  /* Debug 2026-05-18 (hero-tablet-2sliders-and-mobile-100vh): hero không được
     ép min-height 760px (cộng với .hero--fullbleed 100vh) → tạo blank space lớn
     ở tablet/mobile khi content ngắn hơn viewport. Override về auto để section
     co theo nội dung thực. */
  .hero.hero--fullbleed,
  .hero--floating,
  .hero--floating .hero__content { min-height: auto; }
  /* Debug 2026-05-18 (hero-tablet-order-image-first): tablet flex-column để
     `order` của `.hero-static-mobile` có hiệu lực — ảnh render TRƯỚC content.
     Mirror pattern từ mobile block ≤767 đã ổn định. */
  .hero--floating {
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--header-h) + var(--space-4));
    padding-bottom: var(--space-8);
  }
  .hero--floating .hero__bg { order: 0; }
  .hero--floating .hero__content::after { display: none; }
  .hero--floating .hero__content {
    order: 2;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }
}
@media (max-width: 767px) {
  .hero--floating,
  .hero--floating .hero__content { min-height: auto; }
  .hero--floating {
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--header-h) + var(--space-3));
    padding-bottom: var(--space-8);
  }
  .hero--floating .hero__bg { order: 0; }
  .hero--floating .hero__content::after { display: none; }
  .hero--floating .hero__content {
    order: 2;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }
  .hero-right--desktop-slider { display: none !important; }
  .hero-floating-scene { display: none; }
  .hero-static-mobile {
    order: 1;
    display: block;
    position: relative;
    width: min(98vw, 720px);
    margin: 0 auto 16px;
    z-index: 1;
    touch-action: pan-y;
  }
  .hero-static-media--mobile {
    aspect-ratio: 905 / 548;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 46px rgba(6, 136, 211, 0.22);
    background: #0a1a3a;
  }
  .hero--floating .hero-inner {
    display: block;
    min-height: auto;
  }
  .hero--floating .hero-left {
    max-width: min(94vw, 520px);
    margin: 0 auto;
    padding: 16px;
    text-align: left;
  }
  .hero--floating .hero__title { font-size: clamp(1.78rem, 7.2vw, 2.25rem); }
  .hero--floating .hero__subtitle { font-size: 0.95rem; }
  .hero--floating .hero-ctas .btn { font-size: 0.92rem; padding: 0.72rem 1.04rem; }
}

/* -------------------------------------------------------------------------- */
/* Tablet static hero image (768–1023px): keep the first image large enough   */
/* for portrait tablets without reintroducing slider controls or autoplay.    */
/* -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-static-mobile {
    width: min(86vw, 720px);
    margin: var(--space-6) auto var(--space-4);
  }
  .hero-static-media--mobile {
    min-height: clamp(420px, 52vw, 560px);
    border-radius: 22px;
  }
  .hero--floating .hero__content {
    padding-top: calc(var(--header-h) + var(--space-4));
    padding-bottom: var(--space-8);
  }
}

/* -------------------------------------------------------------------------- */
/* Trust Stats Bar (Global Metrics)                                            */
/* -------------------------------------------------------------------------- */
.trust-stats-bar {
  background: #ffffff;
  padding: var(--space-8) 0; /* Standardized tight padding for metrics */
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  z-index: 2;
}

.trust-stats-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  max-width: 1000px;
  margin: 0 auto;
}

.trust-stats-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-stats-item__val {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.trust-stats-item__label {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.div-sep {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, #e2e8f0, transparent);
}

@media (max-width: 768px) {
  .div-sep { display: none; }
  .trust-stats-bar__inner { 
    flex-direction: column;
    gap: var(--space-8);
  }
}

/* -------------------------------------------------------------------------- */
/* Industry Slider (Modern Slider within Container)                            */
/* -------------------------------------------------------------------------- */
.industry-slider-section {
  overflow: hidden;
  padding-bottom: var(--section-pad-y);
}

.industry-slider-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: var(--space-12); /* Standardized with global H2 margin */
  gap: var(--space-4);
}

.industry-slider-nav {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  width: 100%;
  margin-top: var(--space-6);
}

.slider-btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: var(--color-text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.slider-btn:hover:not(:disabled) {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.slider-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.industry-slider__viewport {
  width: 100%;
  overflow-x: auto; /* Enable native horizontal scroll */
  overflow-y: hidden;
  padding: var(--space-4) 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
  cursor: grab;
  user-select: none;
  /* BUG-012 Phase 94 Task 379: was `pan-y` which blocked horizontal touch
     swipe on tablet/mobile despite the native overflow-x + snap setup. */
  touch-action: pan-x pinch-zoom;
}

.industry-slider__viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none; /* Disable snap during drag */
  scroll-behavior: auto; /* Immediate response */
}

.industry-slider__viewport::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.industry-slider__track {
  display: flex;
  gap: var(--space-8);
  width: max-content;
  padding-right: var(--space-8); /* Buffer for snapping */
}

/* Ensure cards snap correctly */
.i-card {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  --card-color: hsl(var(--card-hue) 80% 45%);
  --card-bg-subtle: hsl(var(--card-hue) 100% 98.5%);
  
  flex-shrink: 0;
  width: min(85vw, 400px);
  aspect-ratio: 4 / 5.2;
  background: #ffffff;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.82);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.i-card:hover {
  box-shadow: 0 32px 64px -16px rgba(15, 23, 42, 0.18);
}

/* Slider Progress Bar */
.industry-slider-progress {
  width: min(400px, 100%);
  height: 4px;
  background: rgba(226, 232, 240, 0.6);
  margin: var(--space-8) auto 0;
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.industry-slider-progress-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 100%;
  background: var(--color-primary);
  transform: scaleX(0.166); /* 1/6 default */
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Redefined i-card for Reveal-on-Hover style within Slider */
.i-card {
  --card-color: hsl(var(--card-hue) 80% 45%);
  --card-bg-subtle: hsl(var(--card-hue) 100% 98.5%);
  
  flex-shrink: 0;
  width: min(85vw, 400px);
  aspect-ratio: 4 / 5.2;
  background: #ffffff;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.82);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.i-card:hover {
  box-shadow: 0 32px 64px -16px rgba(15, 23, 42, 0.18);
}

.i-card__main {
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.i-card:is(:hover, :focus-within, :active) .i-card__main {
  transform: scale(1.1);
}

.i-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Core-industry overlay contract */
.i-card__content {
  position: absolute;
  inset: auto 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  
  /* Default state: content visible, CTA hidden */
  transform: translateY(0);
  opacity: 1;
  transition: inset 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, background 0.35s ease, border-color 0.35s ease;
  pointer-events: auto;
}

.industry-slider-section .i-card:is(:hover, :focus-within, :active) .i-card__content {
  inset: 0;
  border-radius: inherit;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.65rem;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0.86) 68%, rgba(15, 23, 42, 0.94) 100%);
  border-color: rgba(255, 255, 255, 0.22);
}

.i-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.i-card__badge {
  font-size: 0.65rem;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--card-color);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.i-card__market-sm {
  font-size: 0.6875rem;
  font-weight: 800;
  color: rgba(255,255,255,0.7);
}

.i-card__title-rev {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.i-card__desc-rev {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  margin-bottom: 18px;
}

.i-card__footer-rev {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.i-card__sal-rev {
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
}

.i-card__link-rev {
  font-size: 0.875rem;
  font-weight: 800;
  color: #ffffff; /* Explicit white */
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.i-card__contact-rev {
  display: none;
}

.industry-slider-section .i-card:is(:hover, :focus-within, :active) .i-card__meta,
.industry-slider-section .i-card:is(:hover, :focus-within, :active) .i-card__title-rev,
.industry-slider-section .i-card:is(:hover, :focus-within, :active) .i-card__desc-rev,
.industry-slider-section .i-card:is(:hover, :focus-within, :active) .i-card__sal-rev {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-height: 0;
  margin: 0;
}

.industry-slider-section .i-card:is(:hover, :focus-within, :active) .i-card__footer-rev {
  border-top: 0;
  padding-top: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
}

.industry-slider-section .i-card:is(:hover, :focus-within, :active) .i-card__footer-rev > :not(.i-card__link-rev--hover) {
  display: none;
}

.industry-slider-section .i-card:is(:hover, :focus-within, :active) .i-card__contact-rev {
  display: none;
}

.industry-slider-section .i-card__link-rev--hover {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}

.industry-slider-section .i-card:is(:hover, :focus-within, :active) .i-card__link-rev--hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.industry-slider-section .i-card__contact-rev {
  min-width: 140px;
  justify-content: center;
  padding: 0.68rem 1.05rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.42);
  text-decoration: none;
}

.industry-slider-section .i-card__contact-rev:hover {
  background: rgba(15, 23, 42, 0.58);
  color: #ffffff;
}

.i-card__link-rev span {
  color: inherit; /* Sync color with text */
  margin-top: 2px;
  transition: transform 0.3s ease;
}

.i-card__link-rev:hover {
  opacity: 0.8;
}

.i-card__link-rev:hover span {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .industry-slider-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
  .i-card { width: min(85vw, 320px); }
  .i-card__content { inset: auto 1rem 1rem; padding: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .industry-slider-section .i-card__main,
  .industry-slider-section .i-card__content,
  .industry-slider-section .i-card__link-rev--hover {
    transition: none;
  }
}

/* Index page: offers (card-21 inspired, vanilla) */
.offer-card {
  /* theme color = "H S% L%" triple, e.g. 222 84% 28% */
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.offer-card__link {
  position: relative;
  display: block;
  width: 100%;
  /* Make cards taller (avoid small square feel) */
  aspect-ratio: 3 / 4;
  min-height: clamp(360px, 38vw, 520px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 0 40px -15px hsl(var(--theme-color) / 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card__link,
.offer-card__link * {
  text-decoration: none;
}

.offer-card__link:hover,
.offer-card__link:hover *,
.offer-card__link:active,
.offer-card__link:active *,
.offer-card__link:focus-visible,
.offer-card__link:focus-visible * {
  text-decoration: none;
}
.offer-card__link:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 60px -15px hsl(var(--theme-color) / 0.6);
}
.offer-card__link:hover,
.offer-card__link:active,
.offer-card__link:focus-visible {
  text-decoration: none;
}
.offer-card__link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px hsl(var(--theme-color) / 0.28), 0 0 60px -15px hsl(var(--theme-color) / 0.55);
}

.offer-card__media {
  position: absolute;
  inset: 0;
  transform: scale(1);
  transition: transform 0.3s ease;
}
.offer-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.offer-card__link:hover .offer-card__media {
  transform: scale(1.10);
}

.offer-card__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    hsl(var(--theme-color) / 0.92) 0%,
    hsl(var(--theme-color) / 0.62) 32%,
    rgba(0, 0, 0, 0) 62%
  );
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.offer-card__link:hover .offer-card__overlay {
  opacity: 1;
  filter: saturate(1.05);
  background: linear-gradient(
    to top,
    hsl(var(--theme-color) / 0.96) 0%,
    hsl(var(--theme-color) / 0.68) 34%,
    rgba(0, 0, 0, 0) 64%
  );
}

.offer-card__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  color: #fff;
}
.offer-card__title {
  margin: 0;
  font-size: clamp(1.25rem, 1.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  display: flex;
  flex-wrap: wrap;
  gap: var(--layout-stack-tight);
  align-items: baseline;
}
.offer-card__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: hsl(var(--theme-color) / 0.22);
  border: 1px solid hsl(var(--theme-color) / 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.offer-card__desc {
  margin: var(--layout-stack-tight) 0 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-card__cta {
  margin-top: var(--layout-stack-loose);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--layout-stack-tight);
  border-radius: 14px;
  background: hsl(var(--theme-color) / 0.20);
  border: 1px solid hsl(var(--theme-color) / 0.30);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.offer-card__link:hover .offer-card__cta {
  background: hsl(var(--theme-color) / 0.34);
  border-color: hsl(var(--theme-color) / 0.48);
}
.offer-card__cta-text {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.offer-card__cta-icon {
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.3s ease;
  opacity: 0.95;
}
.offer-card__link:hover .offer-card__cta-icon {
  transform: translateX(6px);
}

@media (max-width: 767px) {
  .offer-card__link {
    aspect-ratio: 3 / 4;
    min-height: 420px;
  }
  .offer-card__content { padding: var(--layout-stack-loose); }
}

/* Index page: testimonial card stack (vanilla) */
.card-stack {
  width: 100%;
}
.card-stack__stage {
  position: relative;
  width: 100%;
  height: clamp(420px, 48vw, 620px);
  outline: none;
}
.card-stack__wash {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  top: 28px;
  margin-inline: auto;
  width: min(72%, 980px);
  height: 200px;
  border-radius: 999px;
  background: rgba(6, 136, 211, 0.08);
  filter: blur(48px);
}
.card-stack__cards {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  perspective: 1100px;
}
.card-stack__card {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(520px, 90vw);
  height: clamp(340px, 36vw, 460px);
  transform-style: preserve-3d;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  will-change: transform, opacity;
}
.card-stack__card::after { display: none; }
.card-stack__bg { display: none; }
.card-stack__shade { display: none; }
.card-stack__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--layout-stack-loose);
  color: var(--color-text);
}
.card-stack__head {
  display: flex;
  align-items: center;
  gap: var(--layout-stack-tight);
  margin-bottom: var(--layout-stack-tight);
}
.card-stack__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  background: var(--color-primary);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}
.card-stack__name {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.card-stack__sub {
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 2px;
}
.card-stack__title {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.125rem, 1.6vw, 1.6rem);
  line-height: 1.15;
  margin-bottom: var(--layout-stack-tight);
}
.card-stack__desc {
  color: var(--color-text-muted);
  line-height: 1.6;
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-stack__meta { display: none; }

/* Active emphasis */
.card-stack__card[data-active="true"] {
  background: linear-gradient(180deg, rgba(6, 136, 211, 0.08) 0%, rgba(188, 54, 1, 0.05) 100%), rgba(255,255,255,0.98);
  border-color: rgba(6, 136, 211, 0.30);
  box-shadow: 0 18px 40px rgba(6, 136, 211, 0.20);
}
.card-stack__card[data-active="false"] {
  background: rgba(255,255,255,0.90);
  border-color: rgba(226, 232, 240, 0.95);
}

.card-stack__nav {
  position: static;
  transform: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255,255,255,0.85);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
  user-select: none;
}
.card-stack__nav:disabled { opacity: 0.4; cursor: not-allowed; }

.card-stack__controls {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--layout-stack-loose);
}

.card-stack__dots {
  margin-top: var(--layout-stack-loose);
  display: flex;
  justify-content: center;
  gap: var(--layout-stack-tight);
}
.card-stack__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.25);
  cursor: pointer;
}
.card-stack__dot.is-active { background: rgba(15, 23, 42, 0.85); }

/* Home quiz intro modal */
.quiz-home-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;

  /* Premium-ish entrance animation */
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 220ms ease, transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
  pointer-events: none;
}
.quiz-home-modal[hidden] {
  display: none;
}

.quiz-home-modal--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.quiz-home-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 220ms ease;
}
.quiz-home-modal__panel {
  position: relative;
  width: min(680px, 100%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(6, 136, 211, 0.22);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  text-align: center;

  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 220ms ease, transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
}
.quiz-home-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
  cursor: pointer;
}
.quiz-home-modal__title {
  font-size: var(--text-h2);
  margin-bottom: var(--space-4);
}
.quiz-home-modal__desc {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.65;
}

.quiz-home-modal--visible .quiz-home-modal__backdrop {
  opacity: 1;
}
.quiz-home-modal--visible .quiz-home-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.quiz-home-modal__micro {
  margin-top: calc(var(--space-3) * 0.6);
  margin-bottom: var(--space-6);
  font-size: var(--text-small);
  color: var(--color-text-muted);
}
.quiz-home-modal__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}
.quiz-home-modal__actions .btn {
  min-width: 180px;
}

@media (max-width: 767px) {
  .quiz-home-modal {
    padding: 0.75rem;
    align-items: end;
  }
  .quiz-home-modal__panel {
    width: min(100%, 420px);
    padding: 1rem;
    border-radius: 14px;
  }
  .quiz-home-modal__close {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
  }
  .quiz-home-modal__title {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
    line-height: 1.2;
    padding-right: 2rem;
  }
  .quiz-home-modal__desc {
    font-size: 0.95rem;
    margin-bottom: var(--space-5);
  }
  .quiz-home-modal__micro {
    margin-bottom: var(--space-4);
  }
  .quiz-home-modal__actions {
    flex-direction: column;
    gap: 0.6rem;
  }
  .quiz-home-modal__actions .btn {
    width: 100%;
    min-width: 0;
  }
}

/* -------------------------------------------------------------------------- */
/* Partners marquee (index — hợp tác doanh nghiệp / nghiệp đoàn)              */
/* Logo files: ../_design/logo/ (relative from site/index.html)               */
/* -------------------------------------------------------------------------- */

.section--partners-marquee {
  position: relative;
  overflow: hidden;
}

.partners-marquee__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}

.partners-marquee__inner {
  position: relative;
  z-index: 1;
}

.partners-marquee__chip {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: var(--space-4);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(250, 250, 250, 0.95);
}

.partners-marquee__title {
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.25;
  margin: 0 auto var(--layout-stack-tight);
  max-width: 52rem;
  color: #fafafa;
}

.partners-marquee__lead {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--layout-stack-loose);
  line-height: 1.6;
}

.partners-marquee__viewport {
  position: relative;
  margin-top: var(--layout-stack-loose);
  padding-bottom: var(--space-2);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.partners-marquee__row {
  overflow: hidden;
}

.partners-marquee__row + .partners-marquee__row {
  margin-top: var(--space-8);
}

.partners-marquee__track {
  display: flex;
  width: max-content;
  animation: partners-marquee-left var(--tlb-partner-marquee-duration, 52s) linear infinite;
}

.partners-marquee__row--right .partners-marquee__track {
  animation-name: partners-marquee-right;
}

.partners-marquee__group {
  display: flex;
  align-items: center;
  gap: var(--tlb-partner-logo-gap, clamp(2rem, 4vw, 3.5rem));
  padding-right: var(--tlb-partner-logo-gap, clamp(2rem, 4vw, 3.5rem));
}

.partners-marquee__logo {
  flex-shrink: 0;
  width: var(--tlb-partner-logo-width, clamp(180px, 28vw, 280px));
  height: var(--tlb-partner-logo-height, clamp(88px, 18vw, 120px));
  border-radius: var(--tlb-partner-logo-radius, 18px);
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  padding: var(--tlb-partner-logo-padding, 14px);
}

.partners-marquee__logo img {
  max-width: 100%;
  max-height: var(--tlb-partner-logo-max-height, clamp(56px, 14vw, 96px));
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@keyframes partners-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes partners-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .partners-marquee__track {
    animation: none;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .partners-marquee__row + .partners-marquee__row {
    margin-top: var(--space-4);
  }

  .partners-marquee__group:last-child {
    display: none;
  }

  .partners-marquee__viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Activity image gallery (index — vanilla port of react grid + lightbox)     */
/* -------------------------------------------------------------------------- */

.activity-gallery {
  position: relative;
  padding-top: var(--section-pad-y-lg);
  padding-bottom: var(--section-pad-y-lg);
  background: linear-gradient(180deg, #0b1020 0%, #070a14 100%);
  color: #e2e8f0;
  overflow: hidden;
}

.activity-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
}

.activity-gallery .container {
  position: relative;
  z-index: 1;
}

.activity-gallery__heading {
  margin: 0 auto var(--layout-stack-tight);
  max-width: 40rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #fafafa;
  letter-spacing: -0.02em;
}

.activity-gallery__sub {
  margin: 0 auto var(--layout-stack-loose);
  max-width: 36rem;
  color: rgba(226, 232, 240, 0.78) !important;
  font-size: var(--text-small);
}

.activity-gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--layout-grid-gap);
  grid-auto-flow: dense;
  /* Đặt height theo row để các tile không bị "cao/thấp" khác nhau tạo lỗ hổng */
  grid-auto-rows: clamp(230px, 27vw, 351px);
}

@media (min-width: 640px) {
  .activity-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-gallery__item--wide {
    grid-column: span 2;
  }
}

@media (min-width: 768px) {
  .activity-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .activity-gallery__item--wide {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .activity-gallery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* Tạo "đường hàng" rõ ràng: H1 < H2 cao hơn < H3 tăng/giảm nhẹ */
    --ag-row-1: clamp(285px, 24.3vw, 392px);
    --ag-row-2: clamp(365px, 29.7vw, 486px);
    --ag-row-3: clamp(318px, 27vw, 432px);
    grid-template-rows: var(--ag-row-1) var(--ag-row-2) var(--ag-row-3);
    grid-auto-rows: var(--ag-row-3);
  }

  .activity-gallery__item--wide {
    grid-column: span 2;
  }
}

.activity-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 0;
  margin: 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
  background: rgba(15, 23, 42, 0.55);
  aspect-ratio: auto; /* height do grid-auto-rows quyết định */
  display: block;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.activity-gallery__item--wide {
  aspect-ratio: auto;
}

.activity-gallery__item:focus {
  outline: none;
}

.activity-gallery__item:focus-visible {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.55), 0 16px 40px rgba(0, 0, 0, 0.35);
}

.activity-gallery__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.activity-gallery__item:hover img,
.activity-gallery__item:focus-visible img {
  transform: scale(1.04);
}

.activity-gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.15) 45%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.activity-gallery__item:hover .activity-gallery__overlay,
.activity-gallery__item:focus-visible .activity-gallery__overlay {
  opacity: 1;
}

.activity-gallery__title {
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  transform: translateY(12px);
  transition: transform 0.3s ease;
}

.activity-gallery__item:hover .activity-gallery__title,
.activity-gallery__item:focus-visible .activity-gallery__title {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .activity-gallery__item img {
    transition: none;
    transform: none;
  }

  .activity-gallery__overlay {
    opacity: 1;
  }

  .activity-gallery__title {
    transform: none;
  }
}

/* Lightbox */
.activity-gallery-modal[hidden] {
  display: none !important;
}

.activity-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.activity-gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.82);
}

.activity-gallery-modal__content {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 1200px);
  max-height: 90vh;
}

.activity-gallery-modal__img {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.activity-gallery-modal__close {
  position: fixed;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.activity-gallery-modal__close:hover {
  background: rgba(30, 41, 59, 0.95);
}

/* -------------------------------------------------------------------------- */
/* Blog posts (Home — Tin tức & Sự kiện)                                     */
/* -------------------------------------------------------------------------- */
.blog-posts {
  position: relative;
  overflow: hidden;
}

.blog-posts .container {
  position: relative;
  z-index: 1;
}

.blog-posts__bg-label {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  top: -2.25rem;
  display: block;
  text-align: center;
  font-size: clamp(3.25rem, 9vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.06);
}

.blog-posts__title {
  text-align: center;
  margin: 0 auto var(--layout-stack-tight);
  max-width: 50rem;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
}

.blog-posts__desc {
  text-align: center;
  margin: 0 auto var(--layout-stack-loose);
  max-width: 52rem;
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.7;
}

.blog-posts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--layout-grid-gap);
  grid-auto-flow: dense;
}

.blog-posts__right-stack,
.blog-posts__bottom-grid {
  display: flex;
  flex-direction: column;
  gap: var(--layout-grid-gap);
}

.blog-posts__card {
  /* BUG-012 Phase 94 Task 378: pilot +50% on news card min-height so cards
     don't feel cramped (base mobile 190 → 260; desktop overrides below). */
  min-height: 260px;
}

@media (min-width: 1024px) {
  .blog-posts__grid {
    grid-template-columns: 1.1fr 0.9fr;
    /* Chỉ 1 hàng để cột trái không bị thấp hơn cột phải tạo khoảng trống */
    grid-template-rows: 1fr;
    align-items: stretch;
  }

  /* Card to nhất bên trái */
  .blog-posts__card--primary {
    grid-column: 1;
    grid-row: 1;
    min-height: 620px;
    height: 100%;
  }

  /* 4 bài bên phải xếp dọc */
  .blog-posts__right-stack {
    grid-column: 2;
    grid-row: 1;
    min-height: 620px;
    height: 100%;
  }

  .blog-posts__right-stack .blog-posts__card {
    flex: 1 1 auto;
    /* BUG-012 Phase 94 Task 378: 150 → 220 (pilot +50%) */
    min-height: 220px;
    height: 100%;
  }

  /* Chặn trường hợp heading dài bị cắt do chiều cao cột phải bị giới hạn */
  .blog-posts__right-stack .blog-posts__heading {
    font-size: 1.05rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Các bài còn lại nằm dưới */
  .blog-posts__bottom-grid {
    grid-column: 1 / span 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--layout-grid-gap);
  }

  .blog-posts__bottom-grid .blog-posts__card {
    /* BUG-012 Phase 94 Task 378: 170 → 280 (pilot +50%) */
    min-height: 280px;
  }
}

.blog-posts__card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(226, 232, 240, 0.12);
  box-shadow: var(--shadow-soft);
  background-size: cover;
  background-position: center;
  transform: translateZ(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-posts__card,
.blog-posts__card * {
  text-decoration: none;
}

.blog-posts__card:hover,
.blog-posts__card:hover *,
.blog-posts__card:active,
.blog-posts__card:active *,
.blog-posts__card:focus-visible,
.blog-posts__card:focus-visible * {
  text-decoration: none;
}

.blog-posts__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.42) 50%,
    rgba(0, 0, 0, 0.18) 100%
  );
  opacity: 1;
  transition: opacity 0.35s ease;
}

.blog-posts__card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 232, 240, 0.22);
  box-shadow: var(--shadow-card);
}

.blog-posts__card:hover::before {
  opacity: 0.55;
}

.blog-posts__card:hover,
.blog-posts__card:active,
.blog-posts__card:focus-visible {
  text-decoration: none;
}

.blog-posts__card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35), var(--shadow-card);
}

.blog-posts__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--layout-stack-tight);
  padding: var(--layout-stack-loose);
}

.blog-posts__category {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.blog-posts__heading {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: rgba(243, 244, 246, 0.92);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-posts__card--primary .blog-posts__heading {
  font-size: 1.95rem;
}

.blog-posts__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--layout-stack-tight);
  color: rgba(226, 232, 240, 0.92);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease 0.05s, transform 0.25s ease 0.05s;
}

.blog-posts__date {
  font-size: var(--text-small);
  color: rgba(226, 232, 240, 0.92);
  white-space: nowrap;
}

.blog-posts__card:hover .blog-posts__heading {
  color: rgba(243, 244, 246, 0.92);
}

.blog-posts__card:hover .blog-posts__date {
  color: rgba(226, 232, 240, 0.92);
}

.blog-posts__card:hover .blog-posts__category,
.blog-posts__card:focus-visible .blog-posts__category {
  opacity: 1;
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.blog-posts__card:hover .blog-posts__meta,
.blog-posts__card:focus-visible .blog-posts__meta {
  opacity: 1;
  transform: translateY(0);
}

.blog-posts__arrow {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.25s ease;
}

.blog-posts__arrow svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.blog-posts__card:hover .blog-posts__arrow {
  transform: translateX(6px);
  background: rgba(15, 23, 42, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .blog-posts__card,
  .blog-posts__arrow {
    transition: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Phase 35 - Index card refinement overrides                                 */
/* -------------------------------------------------------------------------- */
.i-card {
  border-radius: var(--card-radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow-soft);
}

.i-card:hover {
  transform: translateY(calc(var(--card-lift-y) + 1px));
  box-shadow: var(--card-shadow-hover);
}

.i-card__content {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.64) 0%, rgba(15, 23, 42, 0.82) 100%);
}

.i-card__title-rev {
  font-size: clamp(1.2rem, 1.45vw, 1.5rem);
}

.i-card__link-rev {
  padding: 0.45rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.offer-card__link {
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 32px -18px hsl(var(--theme-color) / 0.72);
}

.offer-card__link:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px -20px hsl(var(--theme-color) / 0.78);
}

.offer-card__cta {
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
}

.offer-card__cta-text {
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-posts__card {
  border-radius: var(--card-radius-md);
  border-color: rgba(226, 232, 240, 0.24);
  box-shadow: var(--card-shadow-soft);
}

.blog-posts__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.blog-posts__content {
  padding: clamp(1rem, 2.2vw, 1.65rem);
}

.blog-posts__heading {
  font-weight: 760;
}

.card-stack__card {
  border-radius: var(--card-radius-lg);
  border-color: var(--card-border);
  box-shadow: var(--card-shadow-soft);
}

.card-stack__card[data-active="true"] {
  border-color: var(--card-border-strong);
  box-shadow: 0 26px 52px -28px rgba(6, 136, 211, 0.7);
}

.card-stack__nav:focus-visible,
.blog-posts__card:focus-visible,
.offer-card__link:focus-visible,
.i-card__link-rev:focus-visible {
  outline: none;
  box-shadow: var(--card-focus-ring), var(--card-shadow-soft);
}

/* Phase 68 Batch A presentation-only refresh */
.about-proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px auto 8px;max-width:980px}
.about-proof-card{background:#fff;border:1px solid #e7eef8;border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:6px;box-shadow:0 8px 20px rgba(2,32,71,.06)}
.about-proof-card strong{font-size:1.2rem;color:var(--color-primary)}
.about-proof-card span{font-size:.9rem;color:var(--color-text-muted)}
.blog-posts__right-stack{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.blog-posts__card--compact{min-height:150px}
.blog-posts__card--mini{min-height:180px}
#latest-jobs .job-card .job-card__image{height:170px;border-radius:12px 12px 0 0;overflow:hidden;margin:-1px -1px 10px}
#latest-jobs .job-card .job-card__image img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:900px){.about-proof-grid{grid-template-columns:1fr}.blog-posts__right-stack{grid-template-columns:1fr}}

/* BUG-011: testimonials visual refresh */
.section--testimonials-refresh {
  background:
    radial-gradient(760px 320px at 15% 0%, rgba(6, 136, 211, 0.10), transparent 62%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.section--testimonials-refresh .card-stack__stage {
  border: 1px solid rgba(6, 136, 211, 0.18);
  border-radius: 24px;
  padding: clamp(16px, 2vw, 24px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 45px rgba(6, 136, 211, 0.12);
}
.section--testimonials-refresh .card-stack__title {
  color: #0a4e88;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

/* Modern animated testimonials (React-inspired, vanilla) */
.testimonials-modern{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center}
.testimonials-modern__badge{display:inline-block;padding:.4rem .75rem;border-radius:999px;background:rgba(6,136,211,.12);color:#0a4e88;font-weight:700;font-size:.85rem}
.testimonials-modern__subtitle{color:var(--color-text-muted);margin:1rem 0 1.25rem;max-width:52ch}
.testimonials-modern__dots{display:flex;gap:.5rem}
.testimonials-modern__dot{width:10px;height:10px;border-radius:999px;border:0;background:rgba(15,23,42,.25);cursor:pointer;transition:.25s}
.testimonials-modern__dot.is-active{width:34px;background:#0688d3}
.testimonials-modern__right{position:relative;min-height:330px}
.testimonial-modern-card{position:absolute;inset:0;background:#fff;border:1px solid rgba(6,136,211,.18);border-radius:18px;padding:1.25rem 1.25rem 1rem;box-shadow:0 20px 40px rgba(6,136,211,.12);opacity:0;transform:translateX(40px) scale(.96);transition:.45s ease;pointer-events:none}
.testimonial-modern-card.is-active{opacity:1;transform:translateX(0) scale(1);pointer-events:auto}
.testimonial-modern-card__stars{color:#f6b100;letter-spacing:2px;font-size:1rem;margin-bottom:.8rem}
.testimonial-modern-card__quote{font-size:1.02rem;line-height:1.65;margin:0 0 1rem;color:#0f172a}
.testimonial-modern-card__person{display:flex;align-items:center;gap:.8rem;padding-top:.8rem;border-top:1px solid #e7eef7}
.testimonial-modern-card__person img{width:48px;height:48px;border-radius:999px;object-fit:cover;border:2px solid #dbeafe}
.testimonial-modern-card__person h3{margin:0;font-size:1rem}
.testimonial-modern-card__person p{margin:0;color:#64748b;font-size:.88rem}
@media (max-width: 900px){.testimonials-modern{grid-template-columns:1fr}.testimonials-modern__right{min-height:360px}}
.testimonials-modern__left h2{margin:0 0 .7rem}
.testimonials-modern__right{min-height:420px}
.testimonials-modern__arrows{display:flex;gap:.6rem}
.testimonials-modern__arrows--under-content{margin-top:1rem;justify-content:flex-start}
.testimonials-modern__arrow{width:42px;height:42px;border-radius:999px;border:1px solid rgba(6,136,211,.28);background:#fff;color:#0a4e88;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 8px 20px rgba(6,136,211,.14)}
.testimonials-modern__arrow:hover{background:#0688d3;color:#fff}
.testimonials-modern__arrow:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(6,136,211,.25)}
@media (max-width: 900px){.testimonials-modern__right{min-height:460px}.testimonials-modern__arrows--under-content{justify-content:flex-start}}

/* Contact section professional refresh */
.section--contact-pro{
  background:
    radial-gradient(900px 360px at 10% 0%, rgba(6,136,211,.11), transparent 65%),
    linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
}
.contact-pro{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:1.5rem;
  padding:clamp(1rem,2vw,1.5rem);
  border-radius:22px;
  border:1px solid rgba(6,136,211,.18);
  box-shadow:0 24px 60px rgba(6,136,211,.12);
  background:#ffffff;
}
.contact-pro__intro{
  border-radius:16px;
  padding:1.25rem;
  background:linear-gradient(145deg,#0a4e88 0%,#057dc4 100%);
  color:#fff;
}
.contact-pro__kicker{
  display:inline-block;
  padding:.35rem .7rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.45);
  font-size:.78rem;
  letter-spacing:.03em;
  font-weight:700;
  text-transform:uppercase;
}
.contact-pro__intro h2{margin:.85rem 0 .65rem;color:#fff}
.contact-pro__intro p{margin:0 0 1rem;color:rgba(255,255,255,.9);line-height:1.65}
.contact-pro__points{margin:0;padding:0;list-style:none;display:grid;gap:.6rem}
.contact-pro__points li{
  position:relative;
  padding-left:1.4rem;
  color:#f3f9ff;
}
.contact-pro__points li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:#9ce4ff;
  font-weight:700;
}
.contact-pro__form{
  background:#fff;
  border-radius:16px;
  padding:1.25rem;
  border:1px solid #e2edf8;
}
.contact-pro__form .form-group label{
  font-weight:600;
  color:#133a5e;
}
.contact-pro__form .form-group input,
.contact-pro__form .form-group select{
  border:1px solid #cddff0;
  background:#fbfdff;
}
.contact-pro__form .form-group input:focus,
.contact-pro__form .form-group select:focus{
  border-color:#0688d3;
  box-shadow:0 0 0 3px rgba(6,136,211,.14);
}
@media (max-width: 900px){
  .contact-pro{grid-template-columns:1fr}
}

/* ENH-044: mobile+tablet sliders for offers/regions/news */
@media (max-width: 1024px){
  [data-mobile-slider]{
    display:flex !important;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    gap:14px;
    padding-bottom:8px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  [data-mobile-slider]::-webkit-scrollbar{display:none}
  [data-mobile-slider] > .offer-card,
  [data-mobile-slider] > .card,
  [data-mobile-slider] > .blog-posts__card,
  [data-mobile-slider] > .blog-posts__right-stack > .blog-posts__card{
    flex:0 0 86%;
    scroll-snap-align:start;
  }
  [data-mobile-slider="news"] .blog-posts__right-stack{display:contents}
  .mobile-slider-controls{display:flex;justify-content:flex-end;gap:.5rem;margin-top:.75rem}
  .mobile-slider-btn{width:36px;height:36px;border-radius:999px;border:1px solid rgba(6,136,211,.28);background:#fff;color:#0a4e88;font-size:24px;line-height:1;cursor:pointer}
  .mobile-slider-dots{display:flex;gap:.4rem;align-items:center;margin-right:auto}
  .mobile-slider-dot{width:8px;height:8px;border-radius:999px;border:0;background:rgba(15,23,42,.25)}
  .mobile-slider-dot.is-active{width:24px;background:#0688d3}
}

/* ===== Hero split — editorial: content thẳng trên nền, ảnh cao = content ===== */
.hero--split{
  background:
    radial-gradient(680px 420px at 6% 0%, rgba(10, 42, 92, 0.10), transparent 60%),
    radial-gradient(900px 520px at 96% 100%, rgba(6, 136, 211, 0.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  overflow: hidden;
}
/* Lưới chấm mờ rất nhẹ — fade dần xuống, không che content */
.hero--split .hero__bg-overlay{
  background-image: radial-gradient(rgba(10, 42, 92, 0.06) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}
.hero--split .hero__content{
  padding-bottom: var(--space-12);
}
/* Căn giữa theo trục dọc + thu hẹp gap để bớt khoảng trống giữa 2 cột */
.hero--split .hero-inner{
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
}
/* Ảnh rộng hơn cột chữ (giảm vùng trống bên phải content) */
@media (min-width: 1024px){
  .hero--split .hero-inner{ grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}
/* Bỏ glass card: content "thở" thẳng trên nền, lấp đầy cột (hết trống phải) */
.hero--split .hero-left{
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero--split .hero__title{
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.hero--split .hero__subtitle{ max-width: 46ch; }
.hero--split .hero-ctas{ margin-bottom: 0; }

.hero-split__media{
  position: relative;
  height: auto;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 56px rgba(6, 136, 211, 0.22);
}
/* Tỉ lệ gốc ảnh (height:auto) → ảnh rộng theo cột mà KHÔNG cắt, KHÔNG tràn */
.hero-split__media img{
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 1023px){
  /* Mobile/tablet: ảnh lên trên content (hero-inner về 1 cột từ base) */
  .hero--split .hero-right{ order: -1; }
  .hero--split .hero-left{ max-width: none; }
  /* Cắt khoảng trống trên/dưới (mặc định reserve 72px header + 40px → quá nhiều) */
  .hero--split .hero__content{
    padding-top: calc(var(--header-h) + var(--space-3));
    padding-bottom: var(--space-8);
  }
  /* Thu gap giữa ảnh và content */
  .hero--split .hero-inner{ gap: var(--space-4); }
  /* Ảnh to hơn: tràn gần sát mép (chỉ chừa ~8px), bù lề padding của .container */
  .hero--split .hero-right{ margin-inline: calc(var(--container-pad) * -1 + 0.5rem); }
}
