:root {
  --container: 1120px;
  --text: #1d2433;
  --muted: #667085;
  --line: #e6e9ef;

  --brand: #0a5bd3;
  --brand2: #0b3a8a;

  --bg: #ffffff;
  --soft: #f6f7f9;

  --green: #1e9e57;
  --orange: #f59e0b;
  --red: #ef4444;
  --purple: #7c3aed;
  --blue: #2563eb;

  --radius: 14px;
  --shadow: 0 14px 40px rgba(16, 24, 40, .08);
}

* {
  box-sizing: border-box
}

html, body {
  height: 100%
}

body {
  padding-top: 0;
  /* header fixed -> bạn nên dùng JS/section padding thay vì âm */
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.muted {
  color: var(--muted)
}

.ok {
  color: #0a7a2f
}

.danger {
  color: #b00020
}

/* Topbar */
.topbar {
  background: #f2f6ff;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.topbar__mini {
  padding: 6px 10px;
  border-radius: 999px;
}

.topbar__mini:hover {
  background: rgba(10, 91, 211, .08)
}

/* Header */
.header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.brand__logo {
  height: 100px
}

.brand__fallback {
  font-weight: 900;
  letter-spacing: .8px;
  color: var(--brand2);
}

/* NAV FIX: display:flex (display:fixed là sai) */
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__link {
  font-size: 14px;
  color: #24324a;
  padding: 10px 8px;
  border-radius: 10px;
}

.nav__link:hover {
  background: rgba(0, 0, 0, .04)
}

.nav__link.is-active {
  color: var(--brand);
  font-weight: 700;
  background: rgba(10, 91, 211, .08);
}

.nav__cta {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(10, 91, 211, .25);
}

.nav__cta:hover {
  filter: brightness(.95)
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.burger span {
  width: 18px;
  height: 2px;
  background: #1f2a44;
  border-radius: 999px;
}

/* Hero */
.hero {
  background: url("assets/img/hero-bg.png") center/cover no-repeat;
  padding: 40px 0 28px;
}

.hero__inner {
  position: relative
}

.hero__decor {
  position: absolute;
  inset: auto;
  width: 380px;
  height: 220px;
  opacity: .35;
  pointer-events: none;
  filter: blur(0px);
}

.hero__decor--left {
  left: -120px;
  top: 10px;
  background:
    radial-gradient(circle at 20% 30%, rgba(30, 158, 87, .35), transparent 55%),
    radial-gradient(circle at 60% 60%, rgba(245, 158, 11, .25), transparent 55%);
  transform: rotate(-10deg);
}

.hero__decor--right {
  right: -140px;
  top: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(37, 99, 235, .28), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(124, 58, 237, .20), transparent 55%);
  transform: rotate(12deg);
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 240px 1fr;
  align-items: center;
  gap: 22px;
  min-height: 360px;
}

.hero__title {
  justify-self: end;
  text-align: left;
  max-width: 420px;
  margin: 0;
}

.hero__subtitle {
  justify-self: start;
  text-align: left;
  max-width: 420px;
  margin: 0;
}

.hero__product {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__product img {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .18));
}

/* Badges */
.badges {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.badge {
  display: flex;
  flex-direction: column;
  /* 👈 QUAN TRỌNG */
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* khoảng cách ảnh – chữ */
  text-align: center;
}

.badge:hover {
  transform: scale(1.04);
  box-shadow: 0 18px 36px rgba(16, 24, 40, .12);
}

.badge__icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  font-size: 12px;
  transition: transform .25s ease;
}

.badge:hover .badge__icon {
  transform: scale(1.15)
}

.badge__icon--red {
  background: var(--red)
}

.badge__icon--green {
  background: var(--green)
}

.badge__icon--blue {
  background: var(--blue)
}

.badge__icon--orange {
  background: var(--orange)
}

.badge__text {
  font-size: 13px;
  color: #23314b;
  font-weight: 700
}

/* About strip */
.aboutstrip {
  background:
    linear-gradient(to bottom, rgba(30, 158, 87, .10), rgba(30, 158, 87, .02)),
    #fff;
  padding: 18px 0;
}

.aboutstrip__inner {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: transparent;
  min-height: 500px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aboutstrip__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
  margin: 0;
}

.aboutstrip__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.aboutstrip__text {
  position: relative;
  z-index: 2;
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: #2b3a55;
  line-height: 1.4;
}

/* Factory */
.factory {
  padding: 26px 0 18px;
  background: #fff;
}

.factory__inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: stretch;
}

.factory__left {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 240px;
  background: #f3f4f6;
}

.factory__left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.factory__right {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(260px 120px at 60% 10%, rgba(124, 58, 237, .12), transparent 70%),
    radial-gradient(260px 120px at 20% 80%, rgba(30, 158, 87, .10), transparent 70%),
    #fff;
  min-height: 240px;
}

.factory__hand {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 240px;
  opacity: .95;
}

.factory__hand img {
  width: 100%;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .2));
}

.factory__bubble {
  position: absolute;
  left: 18px;
  top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: calc(100% - 36px);
}

.bubble {
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  box-shadow: 0 10px 18px rgba(0, 0, 0, .10);
}

.bubble--purple {
  background: var(--purple)
}

.bubble--gray {
  background: #64748b
}

.bubble--green {
  background: var(--green)
}

.bubble--yellow {
  background: var(--orange)
}

/* Sections */
.section {
  padding: 28px 0
}

.section--soft {
  background: var(--soft)
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 14px;
}

.section__title {
  margin: 0 0 12px 0;
  font-size: 22px;
  font-weight: 900;
  color: #14233c;
}

.section__more {
  transition: transform .25s ease, box-shadow .25s ease;
  margin: 0 0 12px 0;
  font-size: 22px;
  font-weight: 900;
  color: var(--brand);
}

.section__more:hover {
  text-decoration: underline;
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

/* Product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .06);
}

.card__img {
  aspect-ratio: 4/3;
  background: #f3f4f6;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__actions {
  padding: 12px;
  display: flex;
  justify-content: center;
}

/* Buttons */
.btn {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  font-size: 13px;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.btn--outline {
  border-color: #ff5a5a;
  color: #ff5a5a;
  background: #fff;
}

.btn--outline:hover {
  background: rgba(255, 90, 90, .08)
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  width: 100%;
  padding: 12px 14px;
  border: none;
}

.btn--primary:hover {
  filter: brightness(.95)
}

/* Partners (grid cũ) */
.partners {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.partner {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  height: 200px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .04);
  padding: 10px;
}

.partner img {
  object-fit: contain;
  transition: transform .25s ease, box-shadow .25s ease;
}

.partner img:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

/* News */
.news {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 18px;
}

.news__card:nth-child(1) {
  grid-row: 1 / span 3;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.news__card:nth-child(1) .news__thumb {
  aspect-ratio: auto;
  height: 100%;
}

.news__card:nth-child(1) .news__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news__card:not(:first-child) {
  display: flex;
  gap: 14px;
}

.news__card:not(:first-child) .news__thumb {
  width: 120px;
  aspect-ratio: 4/3;
  flex-shrink: 0;
}

.news__card:not(:first-child) .news__body {
  padding: 10px 12px
}

.news__card:not(:first-child) .news__title {
  font-size: 14px;
  line-height: 1.3;
}

.news__thumb {
  aspect-ratio: 16/9;
  background: #f3f4f6;
}

.news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.news__body {
  padding: 14px
}

.news__title {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 900;
  color: #15233d;
  line-height: 1.25;
}

.news__meta {
  margin: 0 0 10px 0;
  color: var(--muted);
  font-size: 13px;
}

.news__link {
  color: var(--brand);
  font-weight: 900;
  font-size: 14px;
}

.news__link:hover {
  text-decoration: underline
}

/* Form */
.formwrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.formwrap__head {
  padding: 6px 4px
}

.form {
  display: grid;
  gap: 10px
}

.form__row label {
  font-size: 13px;
  font-weight: 800;
  color: #22314b;
  display: block;
  margin-bottom: 6px;
}

.form__row input,
.form__row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.form__row input:focus,
.form__row textarea:focus {
  border-color: rgba(10, 91, 211, .5);
  box-shadow: 0 0 0 4px rgba(10, 91, 211, .12);
}

.form__msg {
  font-size: 13px;
  min-height: 18px
}

/* Contact */
.contact {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.contact__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.contact__icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f2f6ff;
  border: 1px solid var(--line);
}

.contact__title {
  font-weight: 900
}

.contact__text {
  color: var(--muted);
  font-size: 13px
}

/* Footer */
.footer {
  background: #0c2d16;
  color: #d9f0dd;
  padding: 26px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 18px;
  padding-bottom: 20px;
}

.footer__logo {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #1a6b33;
  display: grid;
  place-items: center;
  font-weight: 1000;
  letter-spacing: 1px;
}

.footer__desc {
  margin-top: 10px;
  font-weight: 900
}

.footer__small {
  margin-top: 6px
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.footer__title {
  font-weight: 1000;
  margin-bottom: 10px;
}

.footer__link {
  display: block;
  padding: 6px 0;
  color: #d9f0dd;
  opacity: .95;
  font-size: 14px;
}

.footer__link:hover {
  opacity: 1;
  text-decoration: underline
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 14px 0;
}

.footer__bottomInner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  opacity: .95;
}

/* =========================================================
   Partners slider (loop marquee)
   ========================================================= */
.partners__slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 8px 0;
}

.partners__slider::before,
.partners__slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.partners__slider::before {
  left: 0;
  background: linear-gradient(to right, var(--soft), rgba(246, 247, 249, 0));
}

.partners__slider::after {
  right: 0;
  background: linear-gradient(to left, var(--soft), rgba(246, 247, 249, 0));
}

.partners--track {
  display: flex;
  gap: 14px;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: partners-marquee var(--partners-speed, 18s) linear infinite;
}

.partners__slider:hover .partners--track {
  animation-play-state: paused;
}

.partners--track .partner {
  flex: 0 0 auto;
  height: 92px;
  width: 240px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .04);
  padding: 12px;
}

.partners--track .partner img {
  max-height: 70px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes partners-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * var(--marquee-distance, 0px)));
  }
}

/* =========================================================
   Partners Carousel (prev/next)
   ========================================================= */
.partnersCarousel {
  position: relative;
  margin-top: 12px;
}

.pc__viewport {
  overflow: hidden;
  border-radius: 16px;
  padding: 8px 48px;
  /* chừa chỗ nút */
}

.pc__track {
  display: flex;
  gap: 18px;
  align-items: stretch;
  transform: translateX(0);
  will-change: transform;
}

.pc__card {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;

  /* hiệu ứng */
  transition: transform .18s ease, filter .18s ease;
  will-change: transform;
}

/* chỉ hiện logo, ẩn text */
/* ===== FIX carousel logo: to hơn + hover không mất ===== */

/* thu hẹp “ô” chứa logo */
.pc__item {
  flex: 0 0 auto !important;
  width: 140px !important;
  /* chỉnh: 120-160 tuỳ bạn */
  min-width: 0 !important;
}

/* card giữ để JS loop hoạt động, nhưng làm “vô hình” */
.pc__card {
  height: 180px !important;
  /* chiều cao hàng logo */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  position: relative !important;
  z-index: 0 !important;
}

/* ẩn tên */
.pc__name {
  display: none !important;
}

/* ảnh to rõ */
.pc__img {
  padding: 0 !important;
  height: auto !important;
}

.pc__img img {
  width: 120px !important;
  /* chỉnh size logo tại đây */
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;

  transition: transform .16s ease, filter .16s ease !important;
  will-change: transform;
  transform-origin: center;
}

/* hover: scale ảnh, không scale card => không phá step/loop */
.pc__card:hover {
  z-index: 2 !important;
  /* nổi lên, không bị “mất” */
}

.pc__card:hover .pc__img img {
  transform: scale(1.12);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .18));
}

/* khoảng cách giữa logo */
.pc__track {
  gap: 10px !important;
  /* chỉnh: 8-16 */
  align-items: center !important;
}

.pc__name {
  padding: 10px 12px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  color: #1f2a44;
  border-top: 1px solid var(--line);
  background: #fff;
}

.pc__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 0 12px 24px rgba(16, 24, 40, .10);
  user-select: none;
}

.pc__btn:hover {
  transform: translateY(-50%) scale(1.06)
}

.pc__btn--left {
  left: 8px
}

.pc__btn--right {
  right: 8px
}

/* Responsive */
@media (max-width: 980px) {
  .badges {
    grid-template-columns: repeat(2, 1fr)
  }

  .factory__inner {
    grid-template-columns: 1fr
  }

  .grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .partners {
    grid-template-columns: repeat(3, 1fr)
  }

  .news {
    grid-template-columns: 1fr
  }

  .formwrap {
    grid-template-columns: 1fr
  }

  .contact {
    grid-template-columns: 1fr
  }

  .footer__inner {
    grid-template-columns: 1fr
  }

  .footer__cols {
    grid-template-columns: repeat(2, 1fr)
  }

  .nav {
    position: fixed;
    top: 64px;
    left: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav.is-open {
    display: flex
  }

  .nav__cta {
    text-align: center
  }

  .burger {
    display: flex
  }

  /* hero mobile overlay */
  .hero__content {
    position: relative;
    display: grid;
    place-items: center;
  }

  .hero__title,
  .hero__product,
  .hero__subtitle {
    grid-area: 1 / 1
  }

  .hero__title,
  .hero__subtitle {
    z-index: 2;
    text-align: center;
    justify-self: center;
    text-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  }

  .hero__title {
    align-self: start;
    margin-top: 10px
  }

  .hero__subtitle {
    align-self: end;
    margin-bottom: 10px
  }

  /* marquee mobile */
  .partners__slider::before,
  .partners__slider::after {
    width: 50px
  }

  .partners--track .partner {
    width: 200px;
    height: 84px
  }

  .partners--track .partner img {
    max-height: 62px;
    max-width: 170px
  }

  /* carousel mobile */
  .pc__viewport {
    padding: 8px 44px
  }

  .pc__item {
    width: 180px
  }
}

/* ===== Partner card hover/click effects ===== */
.pc__card--link {
  display: grid;
  /* giữ layout y như cũ */
  grid-template-rows: 1fr auto;
  text-decoration: none;
  color: inherit;
  cursor: pointer;

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
}

.pc__card--link:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 34px rgba(16, 24, 40, .14);
  border-color: rgba(10, 91, 211, .25);
}

.pc__card--link:active {
  transform: scale(0.99);
}

/* ===== Back to top ===== */
#backToTop {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: none;
  background: #0c2d16;
  /* 👈 màu footer */
  color: #d9f0dd;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  z-index: 9999;

  display: grid;
  place-items: center;

  box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(.95);
  transition:
    opacity .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

#backToTop:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, .35);
  transform: translateY(-2px) scale(1.05);
}

/* Nút tải (cùng tone footer) */
.btn--download{
  border: none;
  background: #0c2d16;
  color: #d9f0dd;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn--download:hover{
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 36px rgba(0,0,0,.35);
}

/* Modal */
.modal{
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
}
.modal.is-open{ display: block; }

.modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}

.modal__panel{
  position: relative;
  width: min(920px, calc(100% - 28px));
  margin: 60px auto;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  
  transform: scale(.92);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

.modal__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

.modal__title{
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #14233c;
}

.modal__close{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.modal__body{
  max-height: min(70vh, 560px);
  overflow: auto;
  padding: 16px;
  background: #fff;
}

.steps{
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 14px;
}

.step{
  background: #f6f7f9;
  border-radius: 16px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 12px;
  align-items: center;
  transform: scale(1.02);
  box-shadow: 0 18px 40px rgba(16,24,40,.18);
}

.step__title{
  font-weight: 900;
  margin-bottom: 4px;
  color: #14233c;
}
.step__desc{
  color: #667085;
  font-size: 14px;
  line-height: 1.4;
}

.step__img{
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .3s ease;
}
.step:hover .step__img{
  transform: scale(1.06);
}
.modal__foot{
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid rgba(0,0,0,.08);
  justify-content: flex-end;
  background: #fff;
}

.modal.is-open .modal__panel{
  transform: scale(1);
  opacity: 1;
}
.btn--downloadZip{
  width: auto !important;
}

/* Mobile */
@media (max-width: 820px){
  .modal__panel{ margin: 20px auto; }
  .step{ grid-template-columns: 1fr; }
  .step__img{ height: 220px; }
}
.btn--downloadZip{
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn--downloadZip:hover{
  transform: scale(1.08);
  box-shadow: 0 16px 32px rgba(0,0,0,.25);
}
.highlight{
  color: orange;
  font-weight: 700;
}
/* ===== Image Popup ===== */
.img-popup{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: fadeIn .25s ease;
}

.img-popup.show{
  display: flex;
}

.img-popup__content{
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  animation: zoomIn .25s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}

.img-popup__close{
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

@keyframes fadeIn{
  from{opacity:0}
  to{opacity:1}
}

@keyframes zoomIn{
  from{transform:scale(.8)}
  to{transform:scale(1)}
}

/* cursor gợi ý click */
.popup-img{
  cursor: zoom-in;
}
