/* =========================================================
 * CÔNG NGHỆ PHUN MÀY – LANDING PAGE
 * Prefix: cnpmy-  (kế thừa UI + component từ LP Công nghệ phun môi)
 * Breakpoints: mobile ≤ 768px | tablet 769–1024px | desktop ≥ 1025px
 * ========================================================= */

/* ---------- 1. DESIGN TOKENS ---------- */
#cnpmy-landing {
  /* Màu thương hiệu */
  --cnpmy-primary: #710dac;
  --cnpmy-deep: #451180;
  --cnpmy-violet: #9615d2;
  --cnpmy-white: #fff;
  --cnpmy-bg: #f4eeff;

  /* Font */
  --cnpmy-font-serif: "IvyPrestoDisplay", serif;
  --cnpmy-font-sans: "Geomanist", sans-serif;

  /* Gradient */
  --cnpmy-grad-title-1: linear-gradient(180deg, #de4c33 0%, #9615d2 100%);
  --cnpmy-grad-title-2: linear-gradient(180deg, #ac59ff 0%, #f74289 100%);
  --cnpmy-grad-cta: linear-gradient(
    90deg,
    #f5935c 0%,
    #e0668a 25%,
    #a45cf2 50%,
    #e0668a 75%,
    #f5935c 100%
  );
  --cnpmy-cta-shadow: 0 5px 10px -3px rgba(113, 13, 172, 0.4);

  /* Text mô tả / body */
  --cnpmy-text-size: 20px;
  --cnpmy-text-color: #710dac;

  /* Radius */
  --cnpmy-radius-pill: 999px;
  --cnpmy-radius-card: 30px;
  --cnpmy-radius-tab: 18px;

  /* Nhịp khoảng cách giữa các section (desktop/tablet; mobile có padding riêng).
   * Khoảng trống nhìn thấy ≈ sec-bot của section trên + sec-top của section dưới.
   * Tăng/giảm 2 biến này để nới/thu đồng loạt các mép đã chỉnh. */
  --cnpmy-sec-top: 24px;
  --cnpmy-sec-bot: 52px;

  width: 100%;
  overflow: hidden; /* fallback trình duyệt cũ */
  isolation: isolate; /* lớp nền z-index:-1 của các section nằm dưới mọi nội dung */
  background: var(--cnpmy-bg);
}

/* Chỉ cắt tràn ngang → brush blur lan dọc liền giữa các section,
 * position: sticky vẫn hoạt động */
@supports (overflow: clip) {
  #cnpmy-landing {
    overflow: visible;
    overflow-x: clip;
  }
}

@media (max-width: 768px) {
  #cnpmy-landing {
    --cnpmy-text-size: 16px;
  }
}

/* ---------- 2. BASE (scoped) ---------- */
#cnpmy-landing *,
#cnpmy-landing *::before,
#cnpmy-landing *::after {
  box-sizing: border-box;
}

#cnpmy-landing img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

/* Xuống dòng / nội dung theo thiết bị:
 *   <br class="cnpmy-br-m">  chỉ xuống dòng trên mobile
 *   <br class="cnpmy-br-d">  chỉ xuống dòng trên desktop + tablet
 *   .cnpmy-m-only            chỉ hiện trên mobile
 *   .cnpmy-d-only            chỉ hiện trên desktop + tablet */
.cnpmy-br-m,
.cnpmy-m-only {
  display: none;
}

@media (max-width: 768px) {
  .cnpmy-br-m,
  .cnpmy-m-only {
    display: inline;
  }

  .cnpmy-br-d,
  .cnpmy-d-only {
    display: none;
  }
}

/* ---------- 3. UTILITIES ---------- */
/* Chữ gradient. Lưu ý: dấu chồng tầng (ổ, ế, Ô…) có thể nhô khỏi hộp chữ và
 * bị tàng hình → element dùng class này cần chừa padding-top (xem .cnpmy-grad-safe) */
.cnpmy-text-grad-1,
.cnpmy-text-grad-2 {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.cnpmy-text-grad-1 {
  background-image: var(--cnpmy-grad-title-1);
}

.cnpmy-text-grad-2 {
  background-image: var(--cnpmy-grad-title-2);
}

/* Chừa chỗ cho dấu tiếng Việt, bù lại bằng margin âm → bố cục không đổi */
.cnpmy-grad-safe {
  padding-top: 0.24em;
  padding-bottom: 0.1em;
  margin-top: -0.24em;
  margin-bottom: -0.1em;
}

/* Text mô tả / body: 20px, #710DAC (mobile 16px) */
#cnpmy-landing .cnpmy-text {
  margin: 0;
  color: var(--cnpmy-text-color);
  font-family: var(--cnpmy-font-sans);
  font-size: var(--cnpmy-text-size);
  font-weight: 400;
  line-height: 1.3;
}

/* ---------- 4. COMPONENT – CTA BUTTON (dùng chung toàn trang) ----------
 * Chuẩn ~279 x 66. Mỗi nơi dùng chỉ cần set --cnpmy-btn-w,
 * chiều cao + cỡ chữ tự scale theo.
 */
.cnpmy-btn {
  --cnpmy-btn-w: 279px;

  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--cnpmy-btn-w);
  height: calc(var(--cnpmy-btn-w) * 0.235);
  padding: 0 calc(var(--cnpmy-btn-w) * 0.07);
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--cnpmy-radius-pill);
  background: var(--cnpmy-grad-cta);
  background-size: 200% 100%;
  background-position: 0 0;
  box-shadow: var(--cnpmy-cta-shadow);
  color: var(--cnpmy-white);
  font-family: var(--cnpmy-font-sans);
  font-size: calc(var(--cnpmy-btn-w) * var(--cnpmy-btn-fs, 0.078));
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  animation: cnpmy-btn-pulse 2.2s ease-in-out infinite;
  animation-delay: var(--cnpmy-delay, 0s);
  transition: transform 0.25s ease, background-position 0.5s ease,
    box-shadow 0.25s ease;
}

/* Vệt sáng quét tự động */
.cnpmy-btn::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 40%;
  height: 100%;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-150%) skewX(-20deg);
  animation: cnpmy-btn-shine 3.2s ease-in-out infinite;
  animation-delay: var(--cnpmy-delay, 0s);
  pointer-events: none;
}

.cnpmy-btn__label {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(69, 17, 128, 0.25);
}

/* Nút tự giãn theo text dài, giữ nguyên chiều cao + cỡ chữ */
.cnpmy-btn--auto {
  width: auto;
  min-width: var(--cnpmy-btn-w);
  padding: 0 calc(var(--cnpmy-btn-w) * 0.14);
}

.cnpmy-btn:hover,
.cnpmy-btn:focus-visible {
  color: var(--cnpmy-white);
  background-position: 100% 0;
  transform: translateY(-2px);
}

.cnpmy-btn:focus-visible {
  outline: 3px solid var(--cnpmy-white);
  outline-offset: 3px;
}

/* Mobile: chữ nút to hơn cho dễ đọc */
@media (max-width: 768px) {
  .cnpmy-btn {
    --cnpmy-btn-fs: 0.092;
  }
}

@keyframes cnpmy-btn-pulse {
  0% {
    box-shadow: var(--cnpmy-cta-shadow), 0 0 0 0 rgba(113, 13, 172, 0.35);
  }
  70% {
    box-shadow: var(--cnpmy-cta-shadow), 0 0 0 9px rgba(113, 13, 172, 0);
  }
  100% {
    box-shadow: var(--cnpmy-cta-shadow), 0 0 0 0 rgba(113, 13, 172, 0);
  }
}

@keyframes cnpmy-btn-shine {
  0% {
    transform: translateX(-150%) skewX(-20deg);
  }
  55%,
  100% {
    transform: translateX(350%) skewX(-20deg);
  }
}

/* ---------- 5. COMPONENT – STAGE (ảnh banner + CTA HTML đặt đè theo %) ----------
 *   --cnpmy-stage-x / --cnpmy-stage-y : tâm nút CTA (% của ảnh)
 *   --cnpmy-stage-cta-w              : chiều rộng nút (cqw = % chiều rộng ảnh)
 */
.cnpmy-stage {
  --cnpmy-stage-x: 50%;
  --cnpmy-stage-y: 80%;
  --cnpmy-stage-cta-w: 279px;

  position: relative;
  width: 100%;
  container-type: inline-size;
}

.cnpmy-stage__picture {
  display: block;
  width: 100%;
}

#cnpmy-landing .cnpmy-stage__image {
  width: 100%;
  height: auto;
}

.cnpmy-stage__cta {
  position: absolute;
  top: var(--cnpmy-stage-y);
  left: var(--cnpmy-stage-x);
  z-index: 2;
  transform: translate(-50%, -50%);
}

.cnpmy-stage__cta .cnpmy-btn {
  --cnpmy-btn-w: var(--cnpmy-stage-cta-w);
}

/* ---------- 6. COMPONENT – PILL TITLE (2 ngôi sao góc) ---------- */
.cnpmy-pill-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 34px 5px;
  border: 1.5px solid #d4b8f5;
  border-radius: var(--cnpmy-radius-pill);
  background: linear-gradient(180deg, #fff 0%, #f5edff 100%);
  box-shadow: 0 4px 12px rgba(113, 13, 172, 0.14),
    0 0 8px 2px rgba(255, 255, 255, 0.9) inset;
}

.cnpmy-pill-title__text {
  color: var(--cnpmy-primary);
  font-family: var(--cnpmy-font-sans);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Ngôi sao đã đúng góc theo Figma → không xoay, không nhấp nháy */
#cnpmy-landing .cnpmy-pill-title__star {
  position: absolute;
  z-index: 1;
  height: auto;
  pointer-events: none;
}

#cnpmy-landing .cnpmy-pill-title__star--left {
  bottom: -12px;
  left: -13px;
  width: 40px;
}

#cnpmy-landing .cnpmy-pill-title__star--right {
  top: -15px;
  right: -12px;
  width: 40px;
}

@media (max-width: 768px) {
  .cnpmy-pill-title {
    padding: 5px 20px 4px;
  }

  .cnpmy-pill-title__text {
    font-size: 19px;
  }

  #cnpmy-landing .cnpmy-pill-title__star--left {
    bottom: -9px;
    left: -10px;
    width: 26px;
  }

  #cnpmy-landing .cnpmy-pill-title__star--right {
    top: -11px;
    right: -9px;
    width: 26px;
  }
}

@media (max-width: 400px) {
  .cnpmy-pill-title {
    padding: 5px 16px 4px;
  }

  .cnpmy-pill-title__text {
    font-size: 17px;
  }
}

/* ---------- 6b. COMPONENT – HEADING ----------
 * Dòng "tiền tố/hậu tố" (sans) + "Keyword" (serif italic gradient) + pill.
 * Thứ tự tiền tố/hậu tố quyết định bằng thứ tự HTML, CSS dùng chung.
 */
.cnpmy-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 42px;
  text-align: center;
}

.cnpmy-heading__line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}

.cnpmy-heading__keyword {
  padding-right: 0.08em;
  padding-left: 0.04em;
  font-family: var(--cnpmy-font-serif);
  font-size: 96px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.05;
}

.cnpmy-heading__sub {
  color: var(--cnpmy-primary);
  font-family: var(--cnpmy-font-sans);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
}

.cnpmy-heading .cnpmy-pill-title {
  margin-top: 6px; /* chừa chỗ cho chân chữ g, y… của keyword */
}

/* Hậu tố xếp 2 dòng bên phải keyword (vd "khách hàng / tin chọn") */
.cnpmy-heading__line--center {
  align-items: center;
}

.cnpmy-heading__sub--stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  text-align: left;
}

/* Dòng chữ sans bên dưới pill (vd "Khắc phục mọi khuyết điểm", "là phù hợp?") */
.cnpmy-heading__tail {
  margin-top: 10px;
  color: var(--cnpmy-primary);
  font-family: var(--cnpmy-font-sans);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .cnpmy-heading {
    margin-bottom: 24px;
  }

  .cnpmy-heading__line {
    gap: 6px;
  }

  .cnpmy-heading__keyword {
    font-size: 64px;
  }

  .cnpmy-heading__sub {
    font-size: 20px;
  }

  .cnpmy-heading__tail {
    margin-top: 8px;
    font-size: 20px;
  }
}

@media (max-width: 400px) {
  .cnpmy-heading__keyword {
    font-size: 56px;
  }
}

/* ---------- 7. UTILITY – SCROLL REVEAL ----------
 * Gắn data-cnpmy-reveal (+ style="--i:n" để lệch nhịp).
 * Chỉ ẩn khi JS chạy (#cnpmy-landing.is-js) → không JS vẫn hiện đủ nội dung.
 */
#cnpmy-landing.is-js [data-cnpmy-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 0.13s);
}

#cnpmy-landing.is-js [data-cnpmy-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* =========================================================
 * SECTION: HERO
 * Desktop 1920 x 951 | Mobile 420 x 769
 * Nút CTA đặt theo % ảnh → luôn khớp artwork mọi màn hình.
 * Lệch so với ảnh thì chỉnh 3 biến --cnpmy-stage-* bên dưới.
 * ========================================================= */
.cnpmy-hero {
  position: relative;
  width: 100%;
  background: var(--cnpmy-bg);
}

.cnpmy-hero .cnpmy-stage {
  --cnpmy-stage-x: 66.7%;
  --cnpmy-stage-y: 89.7%;
  /* 279 / 1920 = 14.53% chiều rộng banner */
  --cnpmy-stage-cta-w: clamp(150px, 14.53vw, 400px);
}

@supports (width: 1cqw) {
  .cnpmy-hero .cnpmy-stage {
    --cnpmy-stage-cta-w: clamp(150px, 14.53cqw, 400px);
  }
}

@media (max-width: 768px) {
  .cnpmy-hero .cnpmy-stage {
    --cnpmy-stage-x: 51.2%;
    --cnpmy-stage-y: 95.8%;
    /* ~214px tại màn 420 (51% chiều rộng banner) */
    --cnpmy-stage-cta-w: clamp(160px, 51vw, 340px);
  }

  @supports (width: 1cqw) {
    .cnpmy-hero .cnpmy-stage {
      --cnpmy-stage-cta-w: clamp(160px, 51cqw, 340px);
    }
  }
}

/* =========================================================
 * SECTION: ĐÂU LÀ TÌNH TRẠNG MÀ BẠN ĐANG GẶP PHẢI
 * Desktop: 4 card 315px ngang hàng | Mobile: lưới 2 x 2
 * Card kính trong suốt viền trắng (theo Figma) bao ảnh + chữ.
 * Ảnh đã cắt trọn kèm viền gradient → nằm sát mép trên card, KHÔNG padding,
 * KHÔNG bo/khung riêng cho ảnh.
 * ========================================================= */
.cnpmy-issues {
  position: relative;
  width: 100%;
  padding: 40px 24px var(--cnpmy-sec-bot);
}

/* Nền: nằm dưới cùng (z -1) → section trong suốt, blend liền section kề */
.cnpmy-issues__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

#cnpmy-landing .cnpmy-issues__bg-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* Cụm ngôi sao pha lê – chỉ mobile */
#cnpmy-landing .cnpmy-issues__crystal {
  display: none;
}

.cnpmy-issues__inner {
  position: relative;
  z-index: 1;
  max-width: 1312px;
  margin: 0 auto;
}

/* ----- Grid ----- */
.cnpmy-issues__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 315px));
  justify-content: center;
  gap: 17px;
}

/* ----- Card kính trong suốt (spec Figma) ----- */
.cnpmy-issues__card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0.982px solid #fff;
  border-radius: 31.551px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 6.435px 6.435px 0 rgba(247, 66, 137, 0.17),
    0 0 19.256px 7.859px #fff inset;
}

#cnpmy-landing .cnpmy-issues__image {
  width: 100%;
  height: auto;
  border-radius: 0; /* bo góc + viền gradient đã có sẵn trong PNG */
  transition: transform 0.4s ease, filter 0.4s ease;
}

.cnpmy-issues__card:hover .cnpmy-issues__image {
  transform: translateY(-4px);
  filter: drop-shadow(0 12px 18px rgba(113, 13, 172, 0.22));
}

#cnpmy-landing .cnpmy-issues__text {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 10px 16px 12px;
  text-align: center;
  text-wrap: balance;
}

/* ----- Tablet ----- */
@media (min-width: 769px) and (max-width: 1100px) {
  .cnpmy-issues__grid {
    grid-template-columns: repeat(2, minmax(0, 315px));
    gap: 20px;
  }
}

/* ----- Mobile ----- */
@media (max-width: 768px) {
  .cnpmy-issues {
    padding: 36px 16px 44px;
  }

  #cnpmy-landing .cnpmy-issues__bg-pattern {
    display: none;
  }

  #cnpmy-landing .cnpmy-issues__crystal {
    position: absolute;
    top: -38px;
    right: -4px;
    z-index: 3;
    display: block;
    width: 96px;
    height: auto;
    pointer-events: none;
    animation: cnpmy-float 5s ease-in-out infinite;
  }

  .cnpmy-issues__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
  }


  .cnpmy-issues__card {
    border-radius: 20px;
  }

  #cnpmy-landing .cnpmy-issues__text {
    min-height: 58px;
    padding: 8px 6px 10px;
    line-height: 1.25;
  }
}

@keyframes cnpmy-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(6deg);
  }
}

/* =========================================================
 * SECTION: DỊCH VỤ LÀM CHÂN MÀY TẠI LINH ANH
 * Desktop: 3 card hàng trên + 2 card hàng dưới (căn giữa) | Mobile: 1 cột
 * Khung card thiết kế 393 x 560.
 *
 * Card = ảnh PNG (khung + ảnh mày + ngôi sao) tự quyết định chiều cao card.
 * Lớp .cnpmy-svc__frame phủ đúng vùng KHUNG bên trong ảnh; chữ + nút định vị
 * theo khung bằng cqw (1cqw = 1% chiều rộng khung) → khớp mọi màn hình.
 *
 * ⚙️ PNG có vùng bóng đổ trong suốt quanh khung → chỉnh 3 biến:
 *   --cnpmy-svc-pad-x / --cnpmy-svc-pad-top / --cnpmy-svc-pad-bot
 * PNG xuất sát khung 393 x 560 → đặt cả 3 biến = 0%.
 * ========================================================= */
.cnpmy-svc {
  position: relative;
  width: 100%;
  padding: var(--cnpmy-sec-top) 24px var(--cnpmy-sec-bot);
}

/* Nền riêng desktop – nằm dưới cùng, không che brush section kề.
 * LAN LÊN section Tình trạng rồi mờ dần mép trên → crossfade phủ mép cắt
 * của nền section Tình trạng, không còn đường kẻ ngang.
 * ⚙️ --cnpmy-svc-bg-bleed-top: độ lan lên (= chiều cao vùng mờ dần). */
.cnpmy-svc {
  --cnpmy-svc-bg-bleed-top: 200px;
}

.cnpmy-svc__bg {
  position: absolute;
  top: calc(-1 * var(--cnpmy-svc-bg-bleed-top));
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--cnpmy-svc-bg-bleed-top));
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--cnpmy-svc-bg-bleed-top));
}

#cnpmy-landing .cnpmy-svc__bg-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.cnpmy-svc__inner {
  position: relative;
  z-index: 1;
  max-width: 1310px;
  margin: 0 auto;
}

.cnpmy-svc__heading {
  margin-bottom: 48px;
}

/* ----- Grid: 3 trên, 2 dưới căn giữa ----- */
.cnpmy-svc__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 64px;
}

/* ----- Card ----- */
.cnpmy-svc__card {
  --cnpmy-svc-pad-x: 4.6%;
  --cnpmy-svc-pad-top: 3.4%;
  --cnpmy-svc-pad-bot: 3.4%;

  position: relative;
  flex: 0 0 393px;
  max-width: 100%;
}

/* Hover nhấc card: áp lên ảnh + lớp khung (card đã dùng transform cho hiệu ứng reveal) */
#cnpmy-landing .cnpmy-svc__card-bg {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.cnpmy-svc__card:hover .cnpmy-svc__card-bg {
  filter: drop-shadow(0 18px 26px rgba(113, 13, 172, 0.18));
  transform: translateY(-8px);
}

.cnpmy-svc__card:hover .cnpmy-svc__frame {
  transform: translateY(-8px);
}

.cnpmy-svc__frame {
  position: absolute;
  top: var(--cnpmy-svc-pad-top);
  right: var(--cnpmy-svc-pad-x);
  bottom: var(--cnpmy-svc-pad-bot);
  left: var(--cnpmy-svc-pad-x);
  z-index: 1;
  container-type: inline-size;
  transition: transform 0.35s ease;
}

/* Tiêu đề trong tab – padding dọc chừa chỗ cho dấu tiếng Việt (Ề, Ắ…) */
#cnpmy-landing .cnpmy-svc__card-title {
  position: absolute;
  top: 0;
  left: 6.3cqw;
  display: flex;
  align-items: center;
  width: 60cqw;
  height: 14.5cqw;
  margin: 0;
  font-family: var(--cnpmy-font-sans);
  font-size: 4.6cqw;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cnpmy-svc__card-title > span {
  display: block;
  margin: -0.28em 0 -0.12em;
  padding: 0.28em 0.04em 0.12em 0;
}

#cnpmy-landing .cnpmy-svc__card-text {
  position: absolute;
  top: 82cqw;
  right: 3.8cqw;
  left: 3.8cqw;
  margin: 0;
  color: var(--cnpmy-text-color);
  font-family: var(--cnpmy-font-sans);
  font-size: 4.95cqw;
  font-weight: 400;
  line-height: 1.35;
  text-align: justify;
}

/* CTA: nút .cnpmy-btn chung, rộng 222/393 = 56.5% khung */
.cnpmy-svc__card-cta {
  position: absolute;
  right: 0;
  bottom: 6.9cqw;
  left: 0;
  display: flex;
  justify-content: center;
}

.cnpmy-svc__card-cta .cnpmy-btn {
  --cnpmy-btn-w: 56.5cqw;
}

/* Trình duyệt cũ không hỗ trợ cqw: dùng px theo khung 393 */
@supports not (width: 1cqw) {
  #cnpmy-landing .cnpmy-svc__card-title {
    left: 25px;
    width: 236px;
    height: 57px;
    font-size: 18px;
  }

  #cnpmy-landing .cnpmy-svc__card-text {
    top: 322px;
    right: 15px;
    left: 15px;
    font-size: 17px;
  }

  .cnpmy-svc__card-cta {
    bottom: 27px;
  }

  .cnpmy-svc__card-cta .cnpmy-btn {
    --cnpmy-btn-w: 222px;
  }
}

/* ----- Laptop / tablet: co card cho vừa 3 cột, rồi 2 cột ----- */
@media (min-width: 1025px) and (max-width: 1360px) {
  .cnpmy-svc__grid {
    gap: 32px 28px;
  }

  .cnpmy-svc__card {
    flex-basis: calc((100% - 56px) / 3);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .cnpmy-svc__grid {
    gap: 32px 24px;
  }

  .cnpmy-svc__card {
    flex-basis: calc((100% - 24px) / 2);
    max-width: 393px;
  }
}

/* ----- Mobile: 1 cột, không nền riêng ----- */
@media (max-width: 768px) {
  .cnpmy-svc {
    padding: 36px 16px 48px;
  }

  .cnpmy-svc__bg {
    display: none;
  }

  .cnpmy-svc__heading {
    margin-bottom: 24px;
  }

  .cnpmy-svc__grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .cnpmy-svc__card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
  }

  .cnpmy-svc__card:hover .cnpmy-svc__card-bg,
  .cnpmy-svc__card:hover .cnpmy-svc__frame {
    filter: none;
    transform: none;
  }
}

/* =========================================================
 * SECTION: NÊN CHỌN KỸ THUẬT LÀM CHÂN MÀY NÀO (bảng so sánh)
 * 1 bộ HTML dùng cho cả 2 giao diện:
 *   Desktop: bảng 5 cột (ảnh | dịch vụ | hiệu ứng | tình trạng mày | loại da)
 *   Mobile : mỗi hàng thành 1 card – ảnh tròn đè badge gradient (so le trái/phải),
 *            bên dưới bảng 3 hàng x 2 cột (nhãn lấy từ data-label)
 * ========================================================= */
.cnpmy-cmp {
  position: relative;
  width: 100%;
  padding: var(--cnpmy-sec-top) 24px var(--cnpmy-sec-bot);
}

/* Nền desktop LAN RA NGOÀI section (trên + dưới) rồi mờ dần 2 mép
 * → không còn đường cắt ngang với section Dịch vụ phía trên và section
 * Dáng mày phía dưới. Lớp này vẽ SAU nền section Dịch vụ nên phần lan lên
 * trên sẽ crossfade phủ mép cắt của nền đó; phía dưới tan vào nền wrapper.
 * ⚙️ Tinh chỉnh:
 *   --cnpmy-cmp-bg-bleed-top : độ lan lên section trên (= vùng mờ dần trên)
 *   --cnpmy-cmp-bg-bleed-bot : độ lan xuống section dưới
 *   --cnpmy-cmp-bg-fade-bot  : chiều cao vùng mờ dần dưới (tính từ mép dưới lớp nền,
 *                              nên để > bleed-bot để bắt đầu mờ từ trong section) */
.cnpmy-cmp {
  --cnpmy-cmp-bg-bleed-top: 220px;
  --cnpmy-cmp-bg-bleed-bot: 200px;
  --cnpmy-cmp-bg-fade-bot: 380px;
}

.cnpmy-cmp__bg {
  position: absolute;
  top: calc(-1 * var(--cnpmy-cmp-bg-bleed-top));
  right: 0;
  bottom: calc(-1 * var(--cnpmy-cmp-bg-bleed-bot));
  left: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0,
    #000 var(--cnpmy-cmp-bg-bleed-top),
    #000 calc(100% - var(--cnpmy-cmp-bg-fade-bot)),
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0,
    #000 var(--cnpmy-cmp-bg-bleed-top),
    #000 calc(100% - var(--cnpmy-cmp-bg-fade-bot)),
    transparent 100%
  );
}

#cnpmy-landing .cnpmy-cmp__bg-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.cnpmy-cmp__inner {
  position: relative;
  z-index: 1;
  max-width: 1470px;
  margin: 0 auto;
}

.cnpmy-cmp__heading {
  margin-bottom: 44px;
}

/* ----- Bảng (desktop) ----- */
.cnpmy-cmp__table {
  --cnpmy-cmp-cols: 258fr 306fr 317fr 333fr 256fr;

  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 20px 6px rgba(255, 255, 255, 0.6) inset,
    0 18px 40px rgba(113, 13, 172, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cnpmy-cmp__head,
.cnpmy-cmp__row {
  display: grid;
  grid-template-columns: var(--cnpmy-cmp-cols);
  align-items: center;
}

.cnpmy-cmp__head {
  min-height: 74px;
  border-radius: 28px 28px 0 0;
  background: #e5d5f8;
}

.cnpmy-cmp__th {
  padding: 16px 20px 16px 0;
  font-family: var(--cnpmy-font-sans);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.cnpmy-cmp__th > span {
  display: inline-block;
}

.cnpmy-cmp__row {
  min-height: 157px;
  border-bottom: 1px solid rgba(113, 13, 172, 0.35);
  transition: background-color 0.3s ease;
}

.cnpmy-cmp__row:last-child {
  border-bottom: 0;
}

.cnpmy-cmp__row:hover {
  background: rgba(255, 255, 255, 0.45);
}

.cnpmy-cmp__media {
  padding: 16px 20px 16px 17px;
}

/* Ảnh PNG đã cắt kèm khung + hiệu ứng → KHÔNG thêm viền/nền/bo/bóng,
 * hiện trọn ảnh theo tỉ lệ gốc (không crop). */
#cnpmy-landing .cnpmy-cmp__image {
  width: 190px;
  max-width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.35s ease;
}

.cnpmy-cmp__row:hover .cnpmy-cmp__image {
  transform: scale(1.05);
}

.cnpmy-cmp__name {
  padding-right: 20px;
  font-family: var(--cnpmy-font-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.cnpmy-cmp__name > span {
  display: inline-block;
}

.cnpmy-cmp__cell {
  padding: 16px 24px 16px 0;
  color: var(--cnpmy-text-color);
  font-family: var(--cnpmy-font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
}

/* ----- Laptop / tablet ----- */
@media (min-width: 769px) and (max-width: 1440px) {
  .cnpmy-cmp__th {
    font-size: 18px;
  }

  .cnpmy-cmp__name,
  .cnpmy-cmp__cell {
    font-size: 17px;
  }

  .cnpmy-cmp__row {
    min-height: 130px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .cnpmy-cmp__table {
    --cnpmy-cmp-cols: 170fr 220fr 220fr 230fr 180fr;
  }

  .cnpmy-cmp__th {
    font-size: 15px;
  }

  .cnpmy-cmp__name,
  .cnpmy-cmp__cell {
    font-size: 15px;
  }

  .cnpmy-cmp__cell {
    padding-right: 14px;
  }
}

/* ----- Mobile: card từng dịch vụ ----- */
@media (max-width: 768px) {
  .cnpmy-cmp {
    padding: 36px 16px 48px;
  }

  .cnpmy-cmp__bg {
    display: none;
  }

  .cnpmy-cmp__heading {
    margin-bottom: 20px;
  }

  .cnpmy-cmp__inner {
    max-width: 420px;
  }

  .cnpmy-cmp__table {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .cnpmy-cmp__head {
    display: none;
  }

  .cnpmy-cmp__body {
    display: flex;
    flex-direction: column;
    gap: 44px;
    padding-top: 30px; /* chừa chỗ ảnh tròn nhô lên của card đầu */
  }

  .cnpmy-cmp__row {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* bỏ căn giữa dọc của bảng desktop */
    min-height: 0;
    border: 2px solid #fff;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 10px 24px rgba(113, 13, 172, 0.1);
  }

  .cnpmy-cmp__row:last-child {
    border-bottom: 2px solid #fff;
  }

  .cnpmy-cmp__row:hover {
    background: rgba(255, 255, 255, 0.75);
  }

  /* Ảnh tròn (đã có viền gradient) đè lên badge */
  .cnpmy-cmp__media {
    position: absolute;
    top: -30px;
    z-index: 2;
    width: 88px;
    padding: 0;
  }

  .cnpmy-cmp__row--left .cnpmy-cmp__media {
    left: 10px;
  }

  .cnpmy-cmp__row--right .cnpmy-cmp__media {
    right: 10px;
  }

  #cnpmy-landing .cnpmy-cmp__image {
    width: 88px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(113, 13, 172, 0.22);
  }

  .cnpmy-cmp__row:hover .cnpmy-cmp__image {
    transform: none;
  }

  /* Badge gradient tím tên dịch vụ */
  .cnpmy-cmp__name {
    display: flex;
    align-items: center;
    min-height: 58px;
    margin: -2px -2px 0;
    padding: 12px 16px;
    border-radius: 18px;
    background: var(--cnpmy-grad-title-1);
    box-shadow: 0 6px 14px rgba(150, 21, 210, 0.25);
    font-size: 18px;
    line-height: 1.25;
    text-align: center;
  }

  .cnpmy-cmp__row--left .cnpmy-cmp__name {
    justify-content: center;
    padding-left: 106px;
  }

  .cnpmy-cmp__row--right .cnpmy-cmp__name {
    justify-content: center;
    padding-right: 106px;
  }

  /* Chữ trong badge chuyển sang trắng */
  .cnpmy-cmp__name > span {
    background: none;
    color: #fff;
    -webkit-text-fill-color: #fff;
  }

  /* Bảng 3 hàng x 2 cột: nhãn | giá trị */
  .cnpmy-cmp__cell {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 10px;
    margin: 0 14px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(113, 13, 172, 0.25);
    font-size: 15px;
    line-height: 1.3;
  }

  .cnpmy-cmp__cell:last-child {
    border-bottom: 0;
    padding-bottom: 14px;
  }

  .cnpmy-cmp__cell::before {
    content: attr(data-label);
    color: var(--cnpmy-primary);
    font-weight: 500;
  }
}

/* =========================================================
 * SECTION: THIẾT KẾ DÁNG MÀY CÁ NHÂN HÓA THEO KHUÔN MẶT
 * Desktop (1434): tab dáng mặt 439 | ảnh 490 x 520 | card gợi ý 378
 * Mobile: xếp dọc – tab cuộn ngang + thanh tiến trình tím, ảnh, card.
 * Bấm tab dáng mặt → đổi card + ảnh; bấm pill dáng mày → đổi ảnh (crossfade).
 * ========================================================= */
.cnpmy-brow {
  position: relative;
  width: 100%;
  padding: var(--cnpmy-sec-top) 24px 96px;
}

.cnpmy-brow__inner {
  max-width: 1434px;
  margin: 0 auto;
}

.cnpmy-brow__heading {
  margin-bottom: 52px;
}

.cnpmy-brow__layout {
  display: grid;
  grid-template-columns: minmax(0, 439fr) minmax(0, 490fr) minmax(0, 378fr);
  align-items: start;
  gap: 80px;
  column-gap: 80px;
}

.cnpmy-brow__layout > .cnpmy-brow__card {
  margin-left: -33px; /* khoảng cách ảnh ↔ card hẹp hơn (47px) như Figma */
}

/* ----- Cột trái: intro + tab ----- */
#cnpmy-landing .cnpmy-brow__intro {
  margin-bottom: 26px;
}

.cnpmy-brow__tabs {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

#cnpmy-landing .cnpmy-brow__tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 8px 24px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(113, 13, 172, 0.06);
  color: var(--cnpmy-primary);
  font-family: var(--cnpmy-font-sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease,
    transform 0.3s ease;
}

#cnpmy-landing .cnpmy-brow__tab::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: #c9b0ee;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#cnpmy-landing .cnpmy-brow__tab:hover {
  transform: translateX(6px);
}

#cnpmy-landing .cnpmy-brow__tab.is-active {
  background: var(--cnpmy-primary);
  box-shadow: 0 10px 22px rgba(113, 13, 172, 0.3);
  color: #fff;
  font-weight: 500;
}

#cnpmy-landing .cnpmy-brow__tab.is-active::before {
  background: #fff;
  transform: scale(1.2);
}

#cnpmy-landing .cnpmy-brow__tab:focus-visible {
  outline: 3px solid var(--cnpmy-primary);
  outline-offset: 3px;
}

/* Thanh tiến trình – chỉ mobile */
.cnpmy-brow__progress {
  display: none;
}

/* ----- Cột giữa: ảnh (crossfade khi đổi dáng mày) ----- */
.cnpmy-brow__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 490 / 520;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(113, 13, 172, 0.14);
}

#cnpmy-landing .cnpmy-brow__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#cnpmy-landing .cnpmy-brow__image.is-entering {
  opacity: 0;
  transform: scale(1.06);
}

/* ----- Cột phải: card gợi ý ----- */
.cnpmy-brow__card {
  padding: 30px 32px 34px;
  border: 2px solid #fff;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 40px rgba(113, 13, 172, 0.1);
}

.cnpmy-brow__panel[hidden] {
  display: none;
}

.cnpmy-brow__panel:not([hidden]) {
  animation: cnpmy-brow-panel-in 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes cnpmy-brow-panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

#cnpmy-landing .cnpmy-brow__label {
  margin: 0 0 6px;
  color: #8a7a9c;
  font-family: var(--cnpmy-font-sans);
  font-size: 16px;
  line-height: 1.3;
}

#cnpmy-landing .cnpmy-brow__face {
  margin: 0 0 22px;
  font-family: var(--cnpmy-font-sans);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
}

.cnpmy-brow__face > span {
  display: inline-block;
}

.cnpmy-brow__pills {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

#cnpmy-landing .cnpmy-brow__pill {
  min-height: 0;
  margin: 0;
  padding: 10px 20px;
  border: 0;
  border-radius: var(--cnpmy-radius-pill);
  background: #ecdffa;
  box-shadow: none;
  color: var(--cnpmy-primary);
  font-family: var(--cnpmy-font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease,
    box-shadow 0.25s ease;
}

#cnpmy-landing .cnpmy-brow__pill:hover {
  background: #e0cbf7;
  transform: translateY(-2px);
}

#cnpmy-landing .cnpmy-brow__pill.is-active {
  background: var(--cnpmy-primary);
  box-shadow: 0 8px 18px rgba(113, 13, 172, 0.3);
  color: #fff;
}

#cnpmy-landing .cnpmy-brow__pill:focus-visible {
  outline: 3px solid var(--cnpmy-primary);
  outline-offset: 2px;
}

.cnpmy-brow__cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.cnpmy-brow__cta .cnpmy-btn {
  --cnpmy-btn-w: 220px;
}

/* ----- Laptop ----- */
@media (min-width: 1025px) and (max-width: 1440px) {
  .cnpmy-brow__layout {
    column-gap: 48px;
  }

  .cnpmy-brow__layout > .cnpmy-brow__card {
    margin-left: -20px;
  }

  #cnpmy-landing .cnpmy-brow__tab {
    font-size: 17px;
  }

  .cnpmy-brow__card {
    padding: 24px 22px 28px;
  }

  #cnpmy-landing .cnpmy-brow__pill {
    padding: 9px 16px;
    font-size: 15px;
  }
}

/* ----- Tablet + Mobile: xếp dọc, tab cuộn ngang ----- */
@media (max-width: 1024px) {
  .cnpmy-brow__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    max-width: 560px;
    margin: 0 auto;
  }

  .cnpmy-brow__layout > .cnpmy-brow__card {
    margin-left: 0;
  }

  #cnpmy-landing .cnpmy-brow__intro {
    margin-bottom: 18px;
  }

  /* Tab cuộn ngang – bắt đầu từ mép trái (không căn giữa → không mất tab đầu) */
  .cnpmy-brow__tabs {
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    margin-right: -16px;
    padding: 2px 16px 2px 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .cnpmy-brow__tabs::-webkit-scrollbar {
    display: none;
  }

  #cnpmy-landing .cnpmy-brow__tab {
    flex: 0 0 auto;
    width: auto;
    min-height: 44px;
    padding: 6px 20px;
    border: 1.5px solid #e1d2f5;
    border-radius: var(--cnpmy-radius-pill);
    font-size: 16px;
    scroll-snap-align: start;
  }

  #cnpmy-landing .cnpmy-brow__tab::before {
    display: none;
  }

  #cnpmy-landing .cnpmy-brow__tab:hover {
    transform: none;
  }

  #cnpmy-landing .cnpmy-brow__tab.is-active {
    border-color: var(--cnpmy-primary);
  }

  /* Thanh tiến trình tím */
  .cnpmy-brow__progress {
    position: relative;
    display: block;
    height: 6px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: var(--cnpmy-radius-pill);
    background: #e6dbf5;
  }

  .cnpmy-brow__progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--cnpmy-brow-w, 35%);
    height: 100%;
    border-radius: inherit;
    background: var(--cnpmy-primary);
    transform: translateX(var(--cnpmy-brow-x, 0%));
    transition: width 0.2s ease;
  }

  .cnpmy-brow__frame {
    border-radius: 18px;
  }

  .cnpmy-brow__card {
    padding: 20px 18px 24px;
    border-radius: 18px;
  }

  #cnpmy-landing .cnpmy-brow__face {
    margin-bottom: 16px;
    font-size: 22px;
  }

  .cnpmy-brow__pills {
    gap: 10px;
  }

  #cnpmy-landing .cnpmy-brow__pill {
    padding: 10px 16px;
    font-size: 15px;
  }

  #cnpmy-landing .cnpmy-brow__pill:hover {
    transform: none;
  }

  .cnpmy-brow__cta {
    margin-top: 24px;
  }
}

@media (max-width: 768px) {
  .cnpmy-brow {
    padding: 36px 16px 48px;
  }

  .cnpmy-brow__heading {
    margin-bottom: 20px;
  }

  .cnpmy-brow__cta .cnpmy-btn {
    --cnpmy-btn-w: 210px;
  }
}

/* =========================================================
 * COMPONENT: SLIDER (cuộn ngang native + scroll-snap)
 * Desktop: kéo chuột / cuộn trackpad, thanh tiến trình tím (bấm để nhảy)
 * Mobile : vuốt tay + dots
 * ========================================================= */
.cnpmy-slider {
  --cnpmy-slider-gap: 21px;

  position: relative;
  min-width: 0;
}

.cnpmy-slider__viewport {
  position: relative;
  display: flex;
  justify-content: flex-start;
  gap: var(--cnpmy-slider-gap);
  padding: 10px 0 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  outline: none;
}

.cnpmy-slider__viewport::-webkit-scrollbar {
  display: none;
}

.cnpmy-slider__viewport.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.cnpmy-slider__viewport:focus-visible {
  outline: 3px solid var(--cnpmy-primary);
  outline-offset: 2px;
}

.cnpmy-slider__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.cnpmy-slider__progress {
  position: relative;
  height: 6px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: var(--cnpmy-radius-pill);
  background: #e6dbf5;
  cursor: pointer;
}

.cnpmy-slider__progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--cnpmy-slider-w, 30%);
  height: 100%;
  border-radius: inherit;
  background: var(--cnpmy-primary);
  transform: translateX(var(--cnpmy-slider-x, 0%));
}

.cnpmy-slider__dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

#cnpmy-landing .cnpmy-slider__dot {
  width: 8px;
  height: 8px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(113, 13, 172, 0.25);
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}

#cnpmy-landing .cnpmy-slider__dot.is-active {
  width: 22px;
  border-radius: var(--cnpmy-radius-pill);
  background: var(--cnpmy-primary);
}

@media (max-width: 768px) {
  .cnpmy-slider__progress {
    display: none;
  }

  .cnpmy-slider__dots {
    display: flex;
  }

  .cnpmy-slider__viewport {
    cursor: auto;
  }
}

/* =========================================================
 * COMPONENT: VIDEO FACADE (YouTube Shorts) – kế thừa LP phun môi
 * Thumbnail nét nhất, bấm 1 lần → tải player + phát ngay.
 * ========================================================= */
.cnpmy-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  background: var(--cnpmy-primary);
  box-shadow: 0 14px 30px rgba(113, 13, 172, 0.2);
}

#cnpmy-landing .cnpmy-video__facade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

#cnpmy-landing .cnpmy-video__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.4s ease;
}

.cnpmy-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding-left: 4px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(113, 13, 172, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  transform: translate(-50%, -50%);
  animation: cnpmy-play-pulse 2s ease-out infinite;
  transition: transform 0.3s ease;
}

.cnpmy-video__facade:hover .cnpmy-video__thumb {
  transform: scale(1.06);
  filter: brightness(0.9);
}

.cnpmy-video__facade:hover .cnpmy-video__play {
  background: var(--cnpmy-grad-title-2);
  transform: translate(-50%, -50%) scale(1.1);
}

#cnpmy-landing .cnpmy-video__facade:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}

.cnpmy-video iframe,
.cnpmy-video .cnpmy-video__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cnpmy-video.is-playing .cnpmy-video__facade {
  display: none;
}

@keyframes cnpmy-play-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Hàng video: desktop 4 cột 290 | mobile cuộn ngang (bắt đầu từ mép trái) */
.cnpmy-videos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 290px));
  justify-content: center;
  gap: 16px;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .cnpmy-videos {
    gap: 12px;
  }

  .cnpmy-video {
    border-radius: 18px;
  }

  .cnpmy-video__play {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 768px) {
  .cnpmy-videos {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-right: -16px;
    padding: 4px 16px 16px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .cnpmy-videos::-webkit-scrollbar {
    display: none;
  }

  .cnpmy-videos__item {
    flex: 0 0 68%;
    scroll-snap-align: start;
  }

  .cnpmy-video {
    border-radius: 18px;
  }

  .cnpmy-video__play {
    width: 60px;
    height: 60px;
  }
}

/* =========================================================
 * SECTION: KẾT QUẢ THỰC TẾ GIÚP KHÁCH HÀNG HÀI LÒNG
 * Desktop: tiêu đề trái | slider card 393 tràn ra mép phải màn hình
 * Dưới: câu dẫn + 4 video Shorts
 * ========================================================= */
.cnpmy-results {
  position: relative;
  width: 100%;
  padding: 56px 24px 96px;
}

.cnpmy-results__inner {
  max-width: 1565px;
  margin: 0 auto;
}

.cnpmy-results__top {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  align-items: center;
  gap: 57px;
}

.cnpmy-results__heading {
  margin-bottom: 0;
}

/* Slider tràn ra sát mép phải màn hình như Figma */
.cnpmy-results__slider {
  margin-right: calc(-1 * max(24px, (100vw - 1565px) / 2));
}

.cnpmy-results__slider .cnpmy-slider__progress {
  max-width: 900px;
}

/* ----- Card khách hàng ----- */
.cnpmy-result {
  display: flex;
  flex-direction: column;
  width: 393px;
}

/* Hiện TRỌN ảnh theo tỉ lệ gốc (không crop) → giữ chữ TRƯỚC / SAU trong ảnh */
#cnpmy-landing .cnpmy-result__image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 22px 22px 0 0;
  -webkit-user-drag: none;
  pointer-events: none;
}

.cnpmy-result__info {
  position: relative;
  flex: 1 1 auto;
  margin-top: -18px;
  padding: 20px 18px 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(113, 13, 172, 0.1);
}

#cnpmy-landing .cnpmy-result__name {
  display: table;
  margin: -34px auto 12px;
  padding: 4px 24px 5px;
  border-radius: var(--cnpmy-radius-pill);
  background: var(--cnpmy-grad-title-1);
  box-shadow: 0 6px 14px rgba(150, 21, 210, 0.25);
  color: #fff;
  font-family: var(--cnpmy-font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

.cnpmy-result__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#cnpmy-landing .cnpmy-result__list {
  margin: 0;
  padding: 0 12px 0 4px;
  list-style: none;
}

#cnpmy-landing .cnpmy-result__list + .cnpmy-result__list {
  padding: 0 4px 0 14px;
  border-left: 1px solid rgba(113, 13, 172, 0.45);
}

#cnpmy-landing .cnpmy-result__list li {
  position: relative;
  margin: 0 0 2px;
  padding-left: 14px;
  color: var(--cnpmy-text-color);
  font-family: var(--cnpmy-font-sans);
  font-size: 16px;
  line-height: 1.3;
}

#cnpmy-landing .cnpmy-result__list li::before {
  position: absolute;
  top: 0;
  left: 1px;
  content: "•";
}

#cnpmy-landing .cnpmy-results__video-intro {
  margin: 48px auto 28px;
  font-weight: 500;
  text-align: center;
}

/* ----- Tablet: xếp dọc ----- */
@media (min-width: 769px) and (max-width: 1199px) {
  .cnpmy-results__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .cnpmy-results__slider .cnpmy-slider__progress {
    margin-right: 24px;
  }
}

/* ----- Mobile: 1 card mỗi lượt vuốt + dots ----- */
@media (max-width: 768px) {
  .cnpmy-results {
    padding: 36px 16px 48px;
  }

  .cnpmy-results__inner {
    max-width: 420px;
  }

  .cnpmy-results__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .cnpmy-results__slider {
    --cnpmy-slider-gap: 14px;

    margin-right: 0;
  }

  .cnpmy-result {
    width: 100%;
  }

  .cnpmy-results__slider .cnpmy-slider__item {
    flex: 0 0 100%;
  }

  #cnpmy-landing .cnpmy-result__name {
    font-size: 18px;
  }

  #cnpmy-landing .cnpmy-result__list li {
    font-size: 15px;
  }

  #cnpmy-landing .cnpmy-results__video-intro {
    margin: 30px auto 18px;
  }
}

/* =========================================================
 * SECTION: ƯU ĐÃI LÊN ĐẾN 50%
 * Ảnh ưu đãi: desktop 1330 x 580 | mobile 420 x 800 (nút CTA HTML đặt đè)
 * Nền desktop 1920 x 928 neo trên cùng, tràn xuống làm nền cho tiêu đề
 * section kế tiếp như Figma (nằm dưới mọi nội dung, không che chữ).
 * ========================================================= */
.cnpmy-promo {
  position: relative;
  width: 100%;
  /* Lề trên/dưới gọn lại theo Figma */
  padding: clamp(24px, calc(100vw * 50 / 1920), 60px) 24px 8px;
}

.cnpmy-promo__bg {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
}

#cnpmy-landing .cnpmy-promo__bg-image {
  width: 100%;
  max-width: none;
  height: auto;
}

.cnpmy-promo .cnpmy-stage {
  max-width: 1330px;
  margin: 0 auto;
  --cnpmy-stage-x: 29.4%;
  --cnpmy-stage-y: 82.4%;
  --cnpmy-stage-cta-w: 252px;
}

@supports (width: 1cqw) {
  .cnpmy-promo .cnpmy-stage {
    /* 252 / 1330 = 19% chiều rộng ảnh ưu đãi */
    --cnpmy-stage-cta-w: clamp(150px, 19cqw, 279px);
  }
}

/* Ảnh + nút cùng "thở" nhẹ (thuộc tính translate → không đè transform có sẵn) */
.cnpmy-promo .cnpmy-stage__picture,
.cnpmy-promo .cnpmy-stage__cta {
  animation: cnpmy-promo-breathe 5s ease-in-out infinite;
}

@keyframes cnpmy-promo-breathe {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@media (max-width: 768px) {
  .cnpmy-promo {
    padding: 8px 16px 12px;
  }

  .cnpmy-promo__bg {
    display: none;
  }

  /* Ảnh mobile có vùng trong suốt 2 bên (hộp quà…) → phóng ảnh rộng 136% màn hình
   * để khung ưu đãi tràn sát 2 mép như Figma, phần thừa tự cắt.
   * Chỉnh độ phóng tại --cnpmy-promo-zoom (tính theo chiều rộng màn hình). */
  .cnpmy-promo .cnpmy-stage {
    --cnpmy-promo-zoom: 1.36;
    --cnpmy-stage-x: 50.8%;
    --cnpmy-stage-y: 84%;
    --cnpmy-stage-cta-w: 188px;

    width: calc(100vw * var(--cnpmy-promo-zoom));
    max-width: none;
    margin-left: calc(50% - 50vw * var(--cnpmy-promo-zoom));
  }

  @supports (width: 1cqw) {
    .cnpmy-promo .cnpmy-stage {
      /* ~188px trên màn 420 như Figma */
      --cnpmy-stage-cta-w: clamp(170px, 31.5cqw, 280px);
    }
  }
}

/* =========================================================
 * SECTION: QUY TRÌNH PHUN XĂM / ĐIÊU KHẮC CHÂN MÀY
 * Kế thừa nguyên section Quy trình LP phun môi: lưới 2 cột, ảnh tròn đè pill kính,
 * ngôi sao góc phải trên. Nền: 2 brush màu + line pattern trắng 2 bên (dùng lại của môi).
 * ========================================================= */
.cnpmy-steps {
  position: relative;
  width: 100%;
  padding: 56px 24px var(--cnpmy-sec-bot);
}

/* ----- Background: nằm dưới cùng (z -1), brush lan liền sang section kề ----- */
.cnpmy-steps__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.cnpmy-steps__brush {
  position: absolute;
  filter: blur(68.2px);
}

/* Brush tím – góc phải trên */
.cnpmy-steps__brush--tr {
  top: -420px;
  right: -440px;
  width: 1230px;
  height: 886px;
  border-radius: 1230px;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(208, 107, 255, 0.4) 0%,
    rgba(208, 107, 255, 0) 100%
  );
}

/* Brush cam – góc trái dưới */
.cnpmy-steps__brush--bl {
  bottom: -600px;
  left: -620px;
  width: 1315px;
  height: 1119px;
  border-radius: 1315px;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(222, 76, 51, 0.4) 0%,
    rgba(222, 76, 51, 0) 100%
  );
}

/* Line pattern trắng 2 bên (ảnh cũ bên LP collagen) */
#cnpmy-landing .cnpmy-steps__line {
  position: absolute;
  top: 55%;
  width: 220px;
  max-width: 18vw;
  height: auto;
  opacity: 0.78;
  transform: translateY(-50%);
}

#cnpmy-landing .cnpmy-steps__line--left {
  left: -40px;
}

#cnpmy-landing .cnpmy-steps__line--right {
  right: -40px;
}

/* ----- Content ----- */
.cnpmy-steps__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

#cnpmy-landing .cnpmy-steps__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 70px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#cnpmy-landing .cnpmy-steps__item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 145px;
  margin: 0;
}

/* Ảnh tròn đè lên đầu pill */
.cnpmy-steps__thumb {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  width: 145px;
  height: 145px;
  transform: translateY(-50%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#cnpmy-landing .cnpmy-steps__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(113, 13, 172, 0.18));
}

.cnpmy-steps__item:hover .cnpmy-steps__thumb {
  transform: translateY(-50%) scale(1.08) rotate(-6deg);
}

/* Pill kính */
.cnpmy-steps__pill {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  min-height: 84px;
  margin-left: 36px;
  padding: 10px 70px 12px 130px;
  border-radius: 41.5px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 8.4px 4px #fff inset;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.cnpmy-steps__item:hover .cnpmy-steps__pill {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 8.4px 4px #fff inset, 0 12px 26px rgba(113, 13, 172, 0.14);
}

#cnpmy-landing .cnpmy-steps__label {
  margin: 0;
  color: var(--cnpmy-primary);
  font-family: var(--cnpmy-font-serif);
  font-size: 30px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
}

#cnpmy-landing .cnpmy-steps__text {
  line-height: 1.25;
}

#cnpmy-landing .cnpmy-steps__star {
  position: absolute;
  top: -20px;
  right: 64px;
  width: 34px;
  height: auto;
  animation: cnpmy-twinkle 2.6s ease-in-out infinite;
}

#cnpmy-landing .cnpmy-steps__item:nth-child(even) .cnpmy-steps__star {
  animation-delay: 1.3s;
}

/* ----- Tablet ----- */
@media (min-width: 769px) and (max-width: 1199px) {
  #cnpmy-landing .cnpmy-steps__grid {
    gap: 30px 32px;
  }

  .cnpmy-steps__thumb {
    width: 116px;
    height: 116px;
  }

  #cnpmy-landing .cnpmy-steps__item {
    min-height: 116px;
  }

  .cnpmy-steps__pill {
    margin-left: 28px;
    padding: 10px 48px 12px 104px;
  }

  #cnpmy-landing .cnpmy-steps__label {
    font-size: 26px;
  }

  #cnpmy-landing .cnpmy-steps__text {
    font-size: 17px;
  }
}

/* ----- Mobile: 1 cột ----- */
@media (max-width: 768px) {
  .cnpmy-steps {
    padding: 36px 14px 48px;
  }

  #cnpmy-landing .cnpmy-steps__line {
    display: none;
  }

  .cnpmy-steps__brush--tr {
    top: -300px;
    right: -520px;
  }

  .cnpmy-steps__brush--bl {
    bottom: -560px;
    left: -760px;
  }

  .cnpmy-steps__inner {
    max-width: 420px;
  }

  #cnpmy-landing .cnpmy-steps__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  #cnpmy-landing .cnpmy-steps__item {
    min-height: 92px;
  }

  .cnpmy-steps__thumb {
    left: 2px;
    width: 92px;
    height: 92px;
  }

  .cnpmy-steps__item:hover .cnpmy-steps__thumb {
    transform: translateY(-50%);
  }

  .cnpmy-steps__pill {
    min-height: 66px;
    margin-left: 26px;
    padding: 8px 34px 10px 80px;
    border-radius: 34px;
  }

  #cnpmy-landing .cnpmy-steps__label {
    font-size: 26px;
  }

  #cnpmy-landing .cnpmy-steps__text {
    line-height: 1.2;
  }

  #cnpmy-landing .cnpmy-steps__star {
       top: -20px;
       right: 36px;
       width: 46px;
  }
}


@keyframes cnpmy-twinkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.78) rotate(18deg);
  }
}

/* =========================================================
 * SECTION: 5 LÝ DO KHÁCH HÀNG TIN CHỌN (kế thừa section Lý do LP phun môi)
 * Container 1308 | Desktop: 2 cột ảnh ôm trục giữa, mỗi cột căn giữa dọc
 * Mobile: 1 cột zigzag, thứ tự theo --m-order
 * ========================================================= */
/* Nền trong suốt (màu nền lấy từ wrapper) → brush section kề lan liền, không cắt ngang */
.cnpmy-why {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--cnpmy-sec-top) 24px 80px;
  overflow: hidden;
}

/* Pattern mờ dần ở mép trên → brush của section Quy trình phía trên
 * hiện xuyên qua, 2 section liền mạch như Figma (không còn đường cắt ngang) */
#cnpmy-landing .cnpmy-why__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%);
}

.cnpmy-why__inner {
  position: relative;
  z-index: 1;
  max-width: 1308px;
  margin: 0 auto;
}

/* ----- Lưới 2 cột ----- */
.cnpmy-why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  column-gap: 30px;
}

.cnpmy-why__col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cnpmy-why__item {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Cột trái: chữ – ảnh, dồn sát trục giữa */
.cnpmy-why__col--left .cnpmy-why__item {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

/* Cột phải: ảnh – chữ */
.cnpmy-why__col--right .cnpmy-why__item {
  flex-direction: row;
}

/* Ảnh PNG đã cắt kèm khung kính + hiệu ứng → KHÔNG lót nền/padding/bóng.
 * Hover: nhấc ảnh + đổ bóng theo dáng ảnh (drop-shadow). */
.cnpmy-why__media {
  flex: 0 0 auto;
  width: var(--cnpmy-why-w, 300px);
  max-width: 62%;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.cnpmy-why__item:hover .cnpmy-why__media {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 16px 22px rgba(113, 13, 172, 0.22));
}

#cnpmy-landing .cnpmy-why__image {
  width: 100%;
  height: auto;
  border-radius: 0;
}

#cnpmy-landing .cnpmy-why__text {
  flex: 0 1 240px;
  max-width: 240px;
  text-align: left;
}

/* Cột trái: chữ căn phải, ôm sát ảnh như Figma */
#cnpmy-landing .cnpmy-why__col--left .cnpmy-why__text {
  text-align: right;
}

/* ----- CTA ----- */
.cnpmy-why__cta {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

/* ----- Reveal: cột trái trượt từ trái, cột phải trượt từ phải ----- */
@media (min-width: 769px) {
  #cnpmy-landing.is-js .cnpmy-why__col--left [data-cnpmy-reveal]:not(.is-in) {
    transform: translateX(-50px);
  }

  #cnpmy-landing.is-js .cnpmy-why__col--right [data-cnpmy-reveal]:not(.is-in) {
    transform: translateX(50px);
  }
}

/* ----- Tablet ----- */
@media (min-width: 769px) and (max-width: 1199px) {
  .cnpmy-why__media {
    width: calc(var(--cnpmy-why-w, 300px) * 0.75);
  }

  .cnpmy-why__item {
    gap: 18px;
  }

  #cnpmy-landing .cnpmy-why__text {
    flex-basis: 200px;
    font-size: 17px;
  }
}

/* ----- Mobile: 1 cột zigzag ----- */
@media (max-width: 768px) {
  .cnpmy-why {
    padding: 36px 16px 44px;
  }

  .cnpmy-why__inner {
    max-width: 420px;
  }

  .cnpmy-why__grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  /* Bỏ wrapper cột → item thành flex item trực tiếp, sắp theo --m-order */
  .cnpmy-why__col {
    display: contents;
  }

  .cnpmy-why__item {
    order: var(--m-order, 0);
    justify-content: space-between;
    gap: 12px;
  }

  .cnpmy-why__col--left .cnpmy-why__item,
  .cnpmy-why__col--right .cnpmy-why__item {
    justify-content: space-between;
  }

  .cnpmy-why__col .cnpmy-why__item--m-text-first {
    flex-direction: row-reverse;
  }

  .cnpmy-why__col .cnpmy-why__item--m-media-first {
    flex-direction: row;
  }

  /* Mobile: ảnh bị cắt về tỉ lệ ngang (object-fit: cover) → mất khung có sẵn trong PNG,
   * nên giữ khung kính mỏng như bản trước */
  .cnpmy-why__media {
    width: 54%;
    max-width: none;
    padding: 2px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 10px 3px #fff inset, 0 10px 24px rgba(113, 13, 172, 0.14);
  }

  .cnpmy-why__item:hover .cnpmy-why__media {
    transform: none;
  }

  /* Mobile: mọi ảnh cùng tỉ lệ ngang như Figma (ảnh dọc desktop tự cắt vừa) */
  #cnpmy-landing .cnpmy-why__image {
    aspect-ratio: 3 / 2.07;
    object-fit: cover;
    border-radius: 14px;
  }

  #cnpmy-landing .cnpmy-why__col--left .cnpmy-why__text {
    text-align: justify;
  }

  /* Khung chữ nền trắng, tràn ra sát mép màn hình và luồn dưới ảnh (Figma) */
  #cnpmy-landing .cnpmy-why__text {
    position: relative;
    z-index: 0;
    flex: 1 1 0;
    max-width: none;
    padding: 10px 12px;
    background: #fff;
    font-size: 15px;
    line-height: 1.3;
    text-align: justify;
  }

  .cnpmy-why__media {
    position: relative;
    z-index: 1;
  }

  /* Chữ bên trái: tràn mép trái màn hình, luồn dưới ảnh bên phải */
  #cnpmy-landing .cnpmy-why__item--m-text-first .cnpmy-why__text {
    margin: 0 -24px 0 -16px;
    padding-right: 30px;
    padding-left: 16px;
  }

  /* Chữ bên phải: tràn mép phải màn hình, luồn dưới ảnh bên trái */
  #cnpmy-landing .cnpmy-why__item--m-media-first .cnpmy-why__text {
    margin: 0 -16px 0 -24px;
    padding-right: 16px;
    padding-left: 30px;
  }

  .cnpmy-why__cta {
    margin-top: 30px;
  }

  .cnpmy-why__cta .cnpmy-btn {
    --cnpmy-btn-w: 170px;
    border-width: 1.5px;
  }
}

/* =========================================================
 * SECTION: ĐỘI NGŨ MASTER - KỸ THUẬT VIÊN
 * Desktop: trưởng phòng (ảnh 642 trái + thông tin 597 phải) + hàng 3 master (cột 439)
 * Mobile : slider 1 master / lượt, nút prev/next + dots, mặc định trưởng phòng
 * Nền: desktop 1920 x 1634 | mobile 551 x 986
 * ========================================================= */
.cnpmy-team {
  position: relative;
  width: 100%;
  padding: 56px 24px 80px;
}

.cnpmy-team__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

#cnpmy-landing .cnpmy-team__bg-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.cnpmy-team__inner {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
}

/* Tiêu đề: keyword + pill cùng 1 hàng (desktop) */
.cnpmy-team__title-line {
  align-items: center;
  gap: 18px;
}

.cnpmy-team__title-line .cnpmy-pill-title {
  margin-top: 10px;
}

.cnpmy-team__heading {
  margin-bottom: 12px;
}

.cnpmy-team__heading .cnpmy-heading__tail {
  margin-top: 0;
}

/* ----- Desktop: tắt slider, dàn lưới ----- */
.cnpmy-team__nav,
.cnpmy-team .cnpmy-slider__dots {
  display: none;
}

.cnpmy-team .cnpmy-team__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 439px));
  justify-content: center;
  column-gap: 84px;
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
  cursor: auto;
}

/* ----- Thẻ chung ----- */
.cnpmy-member {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cnpmy-member__photo {
  width: 343px;
  max-width: 100%;
  line-height: 0;
}

#cnpmy-landing .cnpmy-member__image {
  width: 100%;
  height: auto;
  -webkit-user-drag: none;
  filter: drop-shadow(0 18px 24px rgba(113, 13, 172, 0.12));
}

.cnpmy-member__info {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: -44px; /* khung tên đè lên đáy ảnh */
}

.cnpmy-member__namebox {
  width: 92%;
  margin: 0 auto;
  padding: 10px 18px 12px;
  border: 1.5px solid #fff;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(113, 13, 172, 0.12), 0 0 10px 3px #fff inset;
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#cnpmy-landing .cnpmy-member__name {
  margin: 0;
  font-family: var(--cnpmy-font-sans);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.cnpmy-member__name > span {
  display: inline-block;
}

#cnpmy-landing .cnpmy-member__role {
  margin: 2px 0 0;
  color: var(--cnpmy-primary);
  font-family: var(--cnpmy-font-sans);
  font-size: 19px;
  line-height: 1.25;
}

#cnpmy-landing .cnpmy-member__list {
  margin: 14px 0 0;
  padding: 16px 20px 16px 22px;
  border: 1.5px solid #fff;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 24px rgba(113, 13, 172, 0.08), 0 0 10px 3px rgba(255, 255, 255, 0.9) inset;
  list-style: none;
}

#cnpmy-landing .cnpmy-member__list li {
  position: relative;
  margin: 0 0 4px;
  padding-left: 16px;
  color: var(--cnpmy-text-color);
  font-family: var(--cnpmy-font-sans);
  font-size: 17px;
  line-height: 1.4;
}

#cnpmy-landing .cnpmy-member__list li:last-child {
  margin-bottom: 0;
}

#cnpmy-landing .cnpmy-member__list li::before {
  position: absolute;
  top: calc(0.7em - 3px);
  left: 1px;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--cnpmy-primary);
}

/* ----- Trưởng phòng (desktop): ảnh trái + thông tin phải, chiếm trọn hàng trên ----- */
.cnpmy-member--lead {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 642px) minmax(0, 597px);
  justify-content: center;
  align-items: center;
  margin-bottom: -70px; /* hàng master đè nhẹ lên đáy ảnh trưởng phòng như Figma */
}

.cnpmy-member--lead .cnpmy-member__photo {
  width: 100%;
}

.cnpmy-member--lead .cnpmy-member__info {
  margin: -60px 0 0 -30px;
}

.cnpmy-member--lead .cnpmy-member__namebox {
  width: 79%;
}

#cnpmy-landing .cnpmy-member--lead .cnpmy-member__name {
  font-size: 32px;
}

#cnpmy-landing .cnpmy-member--lead .cnpmy-member__role {
  font-size: 21px;
}

#cnpmy-landing .cnpmy-member--lead .cnpmy-member__list li {
  font-size: 19px;
}

/* ----- Laptop ----- */
@media (min-width: 1025px) and (max-width: 1440px) {
  .cnpmy-team .cnpmy-team__track {
    column-gap: 40px;
  }

  #cnpmy-landing .cnpmy-member__name {
    font-size: 23px;
  }

  #cnpmy-landing .cnpmy-member--lead .cnpmy-member__name {
    font-size: 28px;
  }
}

/* ----- Tablet ----- */
@media (min-width: 769px) and (max-width: 1024px) {
  .cnpmy-team .cnpmy-team__track {
    column-gap: 20px;
  }

  .cnpmy-member--lead {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-bottom: 0;
  }

  #cnpmy-landing .cnpmy-member__name {
    font-size: 18px;
  }

  #cnpmy-landing .cnpmy-member__role,
  #cnpmy-landing .cnpmy-member__list li {
    font-size: 15px;
  }
}

/* ----- Mobile: slider ----- */
@media (max-width: 768px) {
  .cnpmy-team {
    padding: 36px 16px 44px;
  }

  .cnpmy-team__inner {
    max-width: 420px;
  }

  .cnpmy-team__title-line {
    flex-direction: column;
    gap: 0;
  }

  .cnpmy-team__title-line .cnpmy-pill-title {
    margin-top: 6px;
  }

  .cnpmy-team__heading .cnpmy-heading__tail {
    margin-top: 8px;
  }

  .cnpmy-team .cnpmy-team__track {
    display: flex;
    justify-content: flex-start; /* bỏ căn giữa của lưới desktop → slide đầu không bị đẩy lệch */
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .cnpmy-team .cnpmy-slider__item {
    flex: 0 0 100%;
  }

  .cnpmy-member--lead {
    display: flex;
    margin-bottom: 0;
  }

  .cnpmy-member__photo,
  .cnpmy-member--lead .cnpmy-member__photo {
    width: 88%;
  }

  .cnpmy-member__info,
  .cnpmy-member--lead .cnpmy-member__info {
    margin: -40px 0 0;
  }

  .cnpmy-member__namebox,
  .cnpmy-member--lead .cnpmy-member__namebox {
    width: 92%;
    padding: 8px 14px 10px;
    border-radius: 16px;
  }

  #cnpmy-landing .cnpmy-member__name,
  #cnpmy-landing .cnpmy-member--lead .cnpmy-member__name {
    font-size: 22px;
  }

  #cnpmy-landing .cnpmy-member__role,
  #cnpmy-landing .cnpmy-member--lead .cnpmy-member__role {
    font-size: 16px;
  }

  #cnpmy-landing .cnpmy-member__list {
    margin-top: 12px;
    padding: 14px 16px 14px 18px;
  }

  #cnpmy-landing .cnpmy-member__list li,
  #cnpmy-landing .cnpmy-member--lead .cnpmy-member__list li {
    font-size: 15px;
  }

  /* Nút prev/next kính mờ 2 bên ảnh */
  #cnpmy-landing .cnpmy-team__nav {
    position: absolute;
    top: 32%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 1.5px solid #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 8px 18px rgba(113, 13, 172, 0.22);
    color: var(--cnpmy-primary);
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.2s ease, background-color 0.2s ease;
  }

  #cnpmy-landing .cnpmy-team__nav:active {
    transform: scale(0.92);
    background: #fff;
  }

  .cnpmy-team__nav--prev {
    left: 0;
  }

  .cnpmy-team__nav--next {
    right: 0;
  }

  .cnpmy-team .cnpmy-slider__dots {
    display: flex;
    margin-top: 14px;
  }
}

/* =========================================================
 * SECTION: CHỨNG NHẬN
 * 2 ảnh bằng + cúp (PNG nền trong), pattern nền chỉ desktop
 * ========================================================= */
.cnpmy-awards {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 70px 24px var(--cnpmy-sec-bot);
  overflow: hidden;
  background: var(--cnpmy-bg);
}

#cnpmy-landing .cnpmy-awards__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
}

.cnpmy-awards__inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
}

.cnpmy-awards__heading {
  margin-bottom: 80px;
}

.cnpmy-awards__year {
  margin-top: 8px;
  color: var(--cnpmy-deep);
  font-family: var(--cnpmy-font-serif);
  font-size: 54px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
}

/* Đoạn giới thiệu chỉ có trên mobile */
#cnpmy-landing .cnpmy-awards__intro {
  display: none;
}

.cnpmy-awards__grid {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 110px;
}

.cnpmy-awards__item {
  margin: 0;
}

#cnpmy-landing .cnpmy-awards__image {
  width: auto;
  max-height: 600px;
  filter: drop-shadow(0 22px 30px rgba(69, 17, 128, 0.22));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.cnpmy-awards__item:hover .cnpmy-awards__image {
  transform: translateY(-10px) scale(1.03);
  filter: drop-shadow(0 30px 40px rgba(69, 17, 128, 0.3))
    drop-shadow(0 0 22px rgba(255, 214, 120, 0.45));
}

/* ----- Tablet ----- */
@media (min-width: 769px) and (max-width: 1199px) {
  .cnpmy-awards__grid {
    gap: 40px;
  }

  .cnpmy-awards__item {
    flex: 0 1 50%;
  }

  #cnpmy-landing .cnpmy-awards__image {
    width: 100%;
    max-height: none;
  }
}

/* ----- Mobile ----- */
@media (max-width: 768px) {
  .cnpmy-awards {
    padding: 36px 16px 48px;
  }

  #cnpmy-landing .cnpmy-awards__bg {
    display: none;
  }

  .cnpmy-awards__heading {
    margin-bottom: 14px;
  }

  .cnpmy-awards__year {
    margin-top: 4px;
    font-size: 40px;
  }

  #cnpmy-landing .cnpmy-awards__intro {
    display: block;
    max-width: 420px;
    margin: 0 auto 22px;
  }

  .cnpmy-awards__grid {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .cnpmy-awards__item {
    width: 92%;
    max-width: 380px;
  }

  #cnpmy-landing .cnpmy-awards__image {
    width: 100%;
    max-height: none;
  }

  .cnpmy-awards__item:hover .cnpmy-awards__image {
    transform: none;
  }
}

/* =========================================================
 * SECTION: BÁO CHÍ
 * Container 1565 | Cột trái: tiêu đề + mô tả | Cột phải: slider card 260 x 524
 * ========================================================= */
.cnpmy-press {
  /* ⚙️ Ảnh báo PNG có vùng trong suốt/bóng đổ ở đáy (~70px) → slider chiếm chỗ
   * trống dưới card. Biến này thu phần thừa đó lại (0 = không thu).
   * Nếu đáy card bị section Giải đáp che → giảm biến. */
  --cnpmy-press-trim-bot: 70px;

  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--cnpmy-sec-top) 24px 16px;
}

.cnpmy-press__inner {
  display: grid;
  grid-template-columns: minmax(0, 613px) minmax(0, 900px);
  justify-content: center;
  align-items: center;
  gap: 60px;
  max-width: 1565px;
  margin: 0 auto;
}

.cnpmy-press__intro {
  text-align: center;
}

.cnpmy-press__intro .cnpmy-heading {
  margin-bottom: 18px;
}

#cnpmy-landing .cnpmy-press__desc {
  max-width: 613px;
  margin: 0 auto;
}

/* Slider báo chí: nút ‹ › 2 bên (desktop), dots (mobile) – dùng component .cnpmy-slider */
.cnpmy-press__slider {
  --cnpmy-slider-gap: 25px;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 18px;
}

.cnpmy-press__slider .cnpmy-slider__viewport {
  padding: 14px 4px 22px; /* chừa chỗ cho bóng đổ card */
}

.cnpmy-press__slider .cnpmy-slider__dots {
  grid-column: 1 / -1;
}

#cnpmy-landing .cnpmy-press__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 56px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--cnpmy-primary);
  cursor: pointer;
  transition: transform 0.25s ease, color 0.25s ease;
}

#cnpmy-landing .cnpmy-press__nav--prev:hover {
  color: var(--cnpmy-violet);
  transform: translateX(-4px) scale(1.18);
}

#cnpmy-landing .cnpmy-press__nav--next:hover {
  color: var(--cnpmy-violet);
  transform: translateX(4px) scale(1.18);
}

#cnpmy-landing .cnpmy-press__nav:focus-visible {
  outline: 3px solid var(--cnpmy-primary);
  outline-offset: 2px;
}

.cnpmy-press__card {
  width: 260px;
}

/* Ảnh báo đã cắt kèm viền bo tròn → không khung nền, chỉ đổ bóng theo dáng ảnh */
.cnpmy-press__link {
  display: block;
  filter: drop-shadow(0 8px 14px rgba(113, 13, 172, 0.14));
  transition: transform 0.3s ease, filter 0.3s ease;
}

a.cnpmy-press__link:hover {
  filter: drop-shadow(0 16px 24px rgba(113, 13, 172, 0.24));
  transform: translateY(-8px);
}

#cnpmy-landing .cnpmy-press__image {
  width: 100%;
  height: auto;
}

/* Desktop: thu vùng trống dưới card báo (xem --cnpmy-press-trim-bot) */
@media (min-width: 1200px) {
  .cnpmy-press__slider {
    margin-bottom: calc(-1 * var(--cnpmy-press-trim-bot));
  }
}

/* ----- Tablet ----- */
@media (min-width: 769px) and (max-width: 1199px) {
  .cnpmy-press__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    max-width: 900px;
  }
}

/* ----- Mobile: vuốt + dots, card crop phần đầu bài báo ----- */
@media (max-width: 768px) {
  .cnpmy-press {
    padding: 40px 16px 24px;
  }

  .cnpmy-press__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    max-width: 420px;
  }

  #cnpmy-landing .cnpmy-press__desc {
    text-align: left;
  }

  .cnpmy-press__slider {
    --cnpmy-slider-gap: 18px;

    grid-template-columns: minmax(0, 1fr);
  }

  #cnpmy-landing .cnpmy-press__nav {
    display: none;
  }

  .cnpmy-press__slider .cnpmy-slider__viewport {
    margin-right: -16px; /* card kế tiếp ló ra sát mép màn hình */
    padding: 8px 16px 18px 2px;
  }

  .cnpmy-press__card {
    width: 66%;
  }

  /* Mobile: hiện trọn ảnh báo (không crop) để giữ viền bo tròn đã cắt sẵn */
}

/* =========================================================
 * SECTION: GIẢI ĐÁP THẮC MẮC (accordion)
 * Header dùng Gradient tím 2 (#AC59FF → #F74289), chữ trắng.
 * Mở/đóng mượt bằng grid-template-rows 0fr → 1fr.
 * ========================================================= */
.cnpmy-faq {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px 24px 100px;
  background: var(--cnpmy-bg);
}

.cnpmy-faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 896px);
  align-items: start;
  gap: 60px;
  max-width: 1440px;
  margin: 0 auto;
}

/* Tiêu đề dính theo khi đọc câu trả lời dài */
.cnpmy-faq__aside {
  position: sticky;
  top: 120px;
  padding-top: 6px;
}

.cnpmy-faq__heading {
  margin-bottom: 0;
}

/* ----- Item ----- */
.cnpmy-faq__list {
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.cnpmy-faq__item {
  position: relative;
}

#cnpmy-landing .cnpmy-faq__question {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: inherit;
}

#cnpmy-landing .cnpmy-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 62px;
  margin: 0;
  padding: 12px 30px;
  border: 0;
  border-radius: var(--cnpmy-radius-tab);
  background: var(--cnpmy-grad-title-2);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: var(--cnpmy-font-sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: left;
  text-shadow: none;
  text-transform: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

#cnpmy-landing .cnpmy-faq__trigger:hover {
  filter: brightness(1.06) saturate(1.1);
  box-shadow: 0 8px 18px rgba(172, 89, 255, 0.35);
  transform: translateY(-2px);
}

#cnpmy-landing .cnpmy-faq__trigger:focus-visible {
  outline: 3px solid var(--cnpmy-primary);
  outline-offset: 3px;
}

.cnpmy-faq__icon {
  flex: 0 0 auto;
  transition: transform 0.35s ease;
}

.cnpmy-faq__item.is-open .cnpmy-faq__icon {
  transform: rotate(180deg);
}

/* ----- Panel ----- */
.cnpmy-faq__panel {
  display: grid;
  grid-template-rows: 1fr; /* không JS: luôn mở */
}

#cnpmy-landing.is-js .cnpmy-faq__panel {
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    margin-top 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#cnpmy-landing.is-js .cnpmy-faq__item.is-open .cnpmy-faq__panel {
  grid-template-rows: 1fr;
}

/* Khi mở: khung trắng luồn dưới header 18px (bo góc header đè lên khung) */
#cnpmy-landing .cnpmy-faq__item.is-open .cnpmy-faq__panel,
#cnpmy-landing:not(.is-js) .cnpmy-faq__panel {
  margin-top: -18px;
}

.cnpmy-faq__panel-inner {
  min-height: 0;
  overflow: hidden;
}

/* Khung trắng trả lời */
.cnpmy-faq__answer {
  margin: 0;
  padding: 36px 30px 24px;
  border-radius: 0 0 var(--cnpmy-radius-tab) var(--cnpmy-radius-tab);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px 3px #fff inset;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cnpmy-faq__item.is-open .cnpmy-faq__answer,
#cnpmy-landing:not(.is-js) .cnpmy-faq__answer {
  opacity: 1;
  transform: none;
}

#cnpmy-landing .cnpmy-faq__answer p,
#cnpmy-landing .cnpmy-faq__answer ul {
  margin: 0 0 8px;
}

#cnpmy-landing .cnpmy-faq__answer > :last-child {
  margin-bottom: 0;
}

#cnpmy-landing .cnpmy-faq__answer ul {
  padding: 0;
  list-style: none;
}

#cnpmy-landing .cnpmy-faq__answer li {
  position: relative;
  margin: 0 0 4px;
  padding-left: 16px;
}

#cnpmy-landing .cnpmy-faq__answer li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "-";
}

/* ----- Tablet ----- */
@media (min-width: 769px) and (max-width: 1199px) {
  .cnpmy-faq__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    max-width: 896px;
  }

  .cnpmy-faq__aside {
    position: static;
  }
}

/* ----- Mobile ----- */
@media (max-width: 768px) {
  .cnpmy-faq {
    padding: 36px 16px 56px;
  }

  .cnpmy-faq__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    max-width: 420px;
  }

  .cnpmy-faq__aside {
    position: static;
    padding-top: 0;
  }

  .cnpmy-faq__list {
    gap: 14px;
  }

  #cnpmy-landing .cnpmy-faq__trigger {
    min-height: 50px;
    padding: 10px 16px;
    font-size: 16px;
  }

  #cnpmy-landing .cnpmy-faq__trigger:hover {
    transform: none;
  }

  .cnpmy-faq__answer {
    padding: 30px 18px 18px;
  }
}

/* ===== [END CSS] CSS section mới thêm PHÍA TRÊN dòng này ===== */

/* ---------- REDUCED MOTION (luôn để cuối file) ---------- */
@media (prefers-reduced-motion: reduce) {
  #cnpmy-landing *,
  #cnpmy-landing *::before,
  #cnpmy-landing *::after {
    animation: none !important;
    transition: none !important;
  }
}