.lc-hero-slider {
  position: relative;
  width: 100%;
  margin: 0;
  /* bỏ khoảng hở 2 bên */
}

.lc-hero-slider__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  /* bỏ bo góc để sát mép */
}

.lc-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .45s ease, transform .8s ease;
  min-height: 780px;
}

.lc-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}

.lc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(-18deg, rgba(11, 29, 38, 0) 14%, rgba(11, 29, 38, 0.86) 100%);
}

/* .lc-hero__inner {
  position: relative;
  z-index: 2;
  padding: 64px 0;
  max-width: 720px;
} */

.lc-hero-slider__nav {
  position: absolute;
  top: 85%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 999px;
  border: 1px solid var(--Stroke, #BCBFCA);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  color: var(--Base-Black, #0A0A09);
  cursor: pointer;
  z-index: 5;
}

.lc-hero-slider__nav:hover {
  background: #868994;
  font-size: 25px;
  color: #fff;
}

.lc-hero-slider__nav.is-prev {
  left: 14px;
  font-size: 25px;
}

.lc-hero-slider__nav.is-next {
  right: 14px;
  font-size: 25px;
}

.lc-hero-slider__dots {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  display: flex;
  gap: 8px;
  z-index: 6;
}

.lc-hero-slider__dot {
  display: none;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .25);
  cursor: pointer;
}

.lc-hero-slider__dot.is-active {
  background: rgba(255, 255, 255, .9);
}

@media (max-width: 768px) {
  .lc-hero-slide {
    min-height: 780px;
  }

  /* .lc-hero__inner { padding: 44px 0; } */
}


/* section làm mốc cho nút absolute */
.lc-hero-slider {
  position: relative;
}

/* viewport nằm dưới nút */
.lc-hero-slider__viewport {
  position: relative;
  z-index: 1;
}

/* overlay chỉ để nhìn, không được bắt click */
.lc-hero__overlay {
  pointer-events: none;
}

/* nút phải nằm trên cùng và nhận click */
.lc-hero-slider__nav {
  position: absolute;
  z-index: 9999;
  pointer-events: auto;
}

/* dots cũng vậy */
.lc-hero-slider__dots {
  z-index: 9999;
  pointer-events: auto;
}



/* ===== HERO TEXT BLOCK (match design) ===== */
:root {
  --lc-header-h: 82px;
}

body.home .lc-hero__inner {
  position: absolute;
  left: 100px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  padding: 0;
  z-index: 3;
}

body.home .lc-hero__inner .lc-eyebrow,
body.home .lc-hero__inner .lc-hero__title,
body.home .lc-hero__inner .lc-hero__sub,
body.home .lc-hero__inner .lc-hero__cta {
  max-width: 100%;
}

/* Title */
body.home .lc-hero__title {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.58;

  font-size: 36px;

  color: #fff;
  background: linear-gradient(90deg, rgba(255, 255, 254, 0.56) 0%, rgba(255, 255, 255, 1) 41%, rgba(255, 255, 255, 0.81) 97%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 16px rgba(0, 0, 0, 0.56));
  text-transform: capitalize;
}

/* Subtitle */
body.home .lc-hero__sub {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.25;
  max-width: 1001px;
  color: #fff;
  background: linear-gradient(90deg, rgba(255, 255, 254, 0.56) 0%, rgba(255, 255, 255, 1) 41%, rgba(255, 255, 255, 0.81) 97%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 16px rgba(0, 0, 0, 0.56));
  text-transform: capitalize;
}

/* Eyebrow */
body.home .lc-eyebrow {
  margin: 0 0 24px;
  font-size: 12px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  text-shadow: none;
  color: #FBD784;
}

/* CTA spacing */
body.home .lc-hero__cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

body.home .lc-hero__overlay {
  background: linear-gradient(-18deg, rgba(11, 29, 38, 0) 14%, rgba(11, 29, 38, 0.86) 100%);
}

/* Mobile: khung nhỏ hơn + chữ nhỏ lại */
@media (max-width: 768px) {
  body.home .lc-hero__inner {
    left: 20px;
    right: 20px;
  }

  body.home .lc-hero__title {
    font-size: clamp(30px, 7vw, 44px);
    line-height: 1.08;
  }

  body.home .lc-hero__sub {
    font-size: 14px;
    max-width: 520px;
  }
}

/* ===== FIX JUMP TEXT WHEN CHANGING SLIDE ===== */

/* Giữ viewport có chiều cao cố định */
body.home .lc-hero-slider__viewport {
  height: 780px;
}

/* Tất cả slide luôn absolute, không đổi position nữa */
body.home .lc-hero-slide {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
  /* bỏ min-height 100vh ở slide để tránh tính lại */
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .45s ease, transform .8s ease;
  z-index: 1;
  pointer-events: none;
}

/* Active slide chỉ nâng z-index + hiện ra */
body.home .lc-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}

/* Đảm bảo overlay không bắt click */
body.home .lc-hero__overlay {
  pointer-events: none;
}

/* ===== Bottom fade (like design) ===== */
body.home .lc-hero-slider__viewport {
  position: relative;
  /* đảm bảo pseudo-element bám đúng */
}

body.home .lc-hero-slider__viewport::after {
  content: none !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 180px;
  /* tăng/giảm theo design */
  pointer-events: none;
  z-index: 8;
}


/* ===== Hero eyebrow like Figma ===== */
.lc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;

  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .28em;
  /* giãn chữ như design */
  text-transform: uppercase;

  color: #FBD784;
  font-weight: 500;
}

/* gạch vàng bên trái */
.lc-eyebrow::before {
  content: "";
  width: 72px;
  height: 2px;
  border-radius: 999px;
  background: #FBD784;
  flex: 0 0 auto;
}