/* =========================================================
 * CÔNG NGHỆ PHUN MÔI – LANDING PAGE
 * Prefix: cnpm-
 * Breakpoints: mobile ≤ 768px | tablet 769–1024px | desktop ≥ 1025px
 * ========================================================= */

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

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

  /* Gradient title */
  --cnpm-grad-title-1: linear-gradient(180deg, #de4c33 0%, #9615d2 100%);
  --cnpm-grad-title-2: linear-gradient(180deg, #ac59ff 0%, #f74289 100%);
  --cnpm-grad-brand: linear-gradient(180deg, #9615d2 0%, #451180 100%);

  /* CTA */
  --cnpm-grad-cta: linear-gradient(
    90deg,
    #f5935c 0%,
    #e0668a 25%,
    #a45cf2 50%,
    #e0668a 75%,
    #f5935c 100%
  );
  --cnpm-cta-shadow: 0 5px 10px -3px rgba(113, 13, 172, 0.4);

  /* Glass card */
  --cnpm-glass-bg: rgba(255, 255, 255, 0.3);
  --cnpm-glass-glow: 0 0 19.6px 8px #fff inset;

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

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

  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(--cnpm-bg);
}

/* Chỉ cắt tràn ngang → brush blur được phép lan dọc sang section kề bên,
 * và position: sticky (tiêu đề FAQ) vẫn hoạt động */
@supports (overflow: clip) {
  #cnpm-landing {
    overflow: visible;
    overflow-x: clip;
  }
}

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

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

.cnpm-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;
}

/* ---------- 3. UTILITIES – GRADIENT TEXT ---------- */
.cnpm-text-grad-1,
.cnpm-text-grad-2,
.cnpm-text-grad-brand {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

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

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

.cnpm-text-grad-brand {
  background-image: var(--cnpm-grad-brand);
}

/* ---------- 3b. UTILITY – TEXT MÔ TẢ / BODY (20px, #710DAC) ---------- */
#cnpm-landing .cnpm-text {
  margin: 0;
  color: var(--cnpm-text-color);
  font-family: var(--cnpm-font-sans);
  font-size: var(--cnpm-text-size);
  font-weight: 400;
  line-height: 1.3;
}

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

/* ---------- 4. COMPONENT – CTA BUTTON (dùng chung toàn trang) ----------
 * Kích thước chuẩn 279 x 75 (theo thiết kế 1920).
 * Mỗi section chỉ cần set biến --cnpm-btn-w, chiều cao + cỡ chữ tự scale theo.
 */
.cnpm-btn {
  --cnpm-btn-w: 279px;

  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--cnpm-btn-w);
  height: calc(var(--cnpm-btn-w) * 0.235); /* thon gọn theo Figma (~279 x 66) */
  padding: 0 calc(var(--cnpm-btn-w) * 0.07);
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--cnpm-radius-pill);
  background: var(--cnpm-grad-cta);
  background-size: 200% 100%;
  background-position: 0 0;
  box-shadow: var(--cnpm-cta-shadow);
  color: var(--cnpm-white);
  font-family: var(--cnpm-font-sans);
  font-size: calc(var(--cnpm-btn-w) * var(--cnpm-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: cnpm-btn-pulse 2.2s ease-in-out infinite;
  transition: transform 0.25s ease, background-position 0.5s ease,
    box-shadow 0.25s ease;
}

/* Vệt sáng quét tự động */
.cnpm-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: cnpm-btn-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}

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

/* Biến thể nút tự giãn theo text dài (vd: "Đặt lịch phun môi ngay").
 * Giữ nguyên chiều cao + cỡ chữ theo --cnpm-btn-w. */
.cnpm-btn--auto {
  width: auto;
  min-width: var(--cnpm-btn-w);
  padding: 0 calc(var(--cnpm-btn-w) * 0.14);
}

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

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

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

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

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

/* =========================================================
 * COMPONENT: STAGE – ảnh banner + CTA HTML đặt đè theo %
 * Dùng cho Hero, Ưu đãi… Mỗi section chỉ cần set 3 biến:
 *   --cnpm-stage-x / --cnpm-stage-y : tâm nút CTA (% của ảnh)
 *   --cnpm-stage-cta-w              : chiều rộng nút
 * Nút luôn khớp artwork ở mọi màn hình (đơn vị cqw = % chiều rộng ảnh).
 * ========================================================= */
.cnpm-stage {
  --cnpm-stage-x: 50%;
  --cnpm-stage-y: 80%;
  --cnpm-stage-cta-w: 279px;

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

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

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

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

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

@media (max-width: 768px) {
  .cnpm-stage__cta .cnpm-btn {
    border-width: 1.5px;
  }
}

/* =========================================================
 * SECTION: HERO
 * Desktop 1920 x 919 | Mobile 420 x 769
 * ========================================================= */
.cnpm-hero {
  position: relative;
  width: 100%;
  background: var(--cnpm-bg);
}

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

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

@media (max-width: 768px) {
  .cnpm-hero .cnpm-stage {
    --cnpm-stage-x: 50%;
    --cnpm-stage-y: 90.5%;
    /* ~153px tại màn 420 */
    --cnpm-stage-cta-w: clamp(140px, 36.5vw, 290px);
  }

  @supports (width: 1cqw) {
    .cnpm-hero .cnpm-stage {
      --cnpm-stage-cta-w: clamp(140px, 36.5cqw, 290px);
    }
  }
}

/* =========================================================
 * COMPONENT: PILL TITLE (có 2 ngôi sao góc trái-dưới & phải-trên)
 * Tái sử dụng cho mọi dòng tiêu đề dạng pill ở các section sau.
 * ========================================================= */
.cnpm-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(--cnpm-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;
}

.cnpm-pill-title__text {
  color: var(--cnpm-primary);
  font-family: var(--cnpm-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 pill: 2 file riêng (cnm-left-corner-star / cnm-right-corner-star),
 * đã đúng góc theo Figma → không xoay, không nhấp nháy. */
#cnpm-landing .cnpm-pill-title__star {
  position: absolute;
  z-index: 1;
  height: auto;
  pointer-events: none;
}

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

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

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

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

/* =========================================================
 * COMPONENT: HEADING – "Keyword" serif italic gradient + hậu tố + pill
 * Dùng cho: Đôi môi kém sắc, Lý do nên lựa chọn…
 * ========================================================= */
.cnpm-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 46px;
  text-align: center;
}

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

.cnpm-heading__keyword {
  padding: 0 0.08em 0.06em;
  font-family: var(--cnpm-font-serif);
  font-size: 92px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.05;
}

.cnpm-heading__suffix {
  color: var(--cnpm-primary);
  font-family: var(--cnpm-font-sans);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.cnpm-heading .cnpm-pill-title {
  margin-top: -4px;
}

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

  .cnpm-heading__line {
    gap: 6px;
  }

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

  .cnpm-heading__suffix {
    font-size: 22px;
  }
}

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

/* =========================================================
 * SECTION: ĐÔI MÔI KÉM SẮC
 * Desktop: grid 3 x 2, card 335 x 430 | Mobile: grid 2 x 3
 * ========================================================= */
.cnpm-issues {
  position: relative;
  width: 100%;
  padding: 32px 24px 80px;
}

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

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

/* Ngôi sao lớn – chỉ desktop. Chỉnh vị trí tại đây nếu cần khớp Figma */
#cnpm-landing .cnpm-issues__bg-star {
  position: absolute;
  top: 34%;
  right: 5%;
  width: 240px;
  opacity: 0.9;
  animation: cnpm-float 6s ease-in-out infinite;
}

.cnpm-issues__bg-brush {
  position: absolute;
  bottom: -420px;
  left: -520px;
  width: 1284px;
  height: 900px;
  border-radius: 1284px;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(250, 168, 177, 0.68) 0%,
    rgba(249, 211, 197, 0) 100%
  );
  filter: blur(68.2px);
}

/* Cụm ngôi sao pha lê – chỉ mobile, nằm giao giữa Hero và section này */
#cnpm-landing .cnpm-issues__crystal {
  display: none;
}

/* ----- Content ----- */
.cnpm-issues__inner {
  position: relative;
  z-index: 1;
  max-width: 1041px;
  margin: 0 auto;
}

/* ----- Grid ----- */
.cnpm-issues__grid {
  display: grid;
  grid-template-columns: repeat(3, 335px);
  justify-content: center;
  gap: 30px 18px;
}

/* ----- Card (spec Figma) ----- */
.cnpm-issues__card {
  display: flex;
  flex-direction: column;
  width: 335px;
  height: 430px;
  padding: 3px;
  overflow: hidden;
  border: 0.6px solid #fff;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 11.76px 4.8px #fff inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cnpm-issues__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 11.76px 4.8px #fff inset,
    0 16px 30px rgba(113, 13, 172, 0.16);
}

.cnpm-issues__media {
  flex: 0 0 auto;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 27px 27px 10px 10px;
}

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

.cnpm-issues__card:hover .cnpm-issues__image {
  transform: scale(1.12);
}

#cnpm-landing .cnpm-issues__text {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  padding: 10px 26px 12px;
  text-align: center;
  text-wrap: balance;
}

/* ----- Tablet ----- */
@media (min-width: 769px) and (max-width: 1100px) {
  .cnpm-issues__grid {
    grid-template-columns: repeat(3, minmax(0, 335px));
    gap: 24px 16px;
  }

  .cnpm-issues__card {
    width: 100%;
    height: auto;
  }

  #cnpm-landing .cnpm-issues__text {
    min-height: 92px;
    padding: 10px 14px 12px;
    font-size: 17px;
  }

  #cnpm-landing .cnpm-issues__bg-star {
    width: 160px;
    right: 2%;
  }
}

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

  #cnpm-landing .cnpm-issues__bg-pattern,
  #cnpm-landing .cnpm-issues__bg-star,
  .cnpm-issues__bg-brush {
    display: none;
  }

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

  .cnpm-pill-title {
    padding: 5px 20px 4px;
  }

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

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

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

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

  .cnpm-issues__card {
    width: 100%;
    height: auto;
    padding: 2px;
    border-radius: 22px;
  }

  .cnpm-issues__card:hover {
    transform: none;
  }

  .cnpm-issues__media {
    border-radius: 20px 20px 8px 8px;
  }

  #cnpm-landing .cnpm-issues__text {
    min-height: 84px;
    padding: 10px 8px 14px;
    line-height: 1.25;
  }
}

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

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

/* =========================================================
 * SECTION: ĐÁNH THỨC SẮC MÔI RẠNG RỠ
 * Container 1600 | Khung card thiết kế 381 x 518
 *
 * Card = ảnh PNG (khung + ảnh môi + ngôi sao). Ảnh tự quyết định chiều cao
 * card theo đúng tỉ lệ file thật. Lớp .cnpm-awaken__frame phủ đúng vùng KHUNG
 * bên trong ảnh (trừ phần bóng/viền trong suốt quanh khung), mọi chữ + nút
 * định vị theo khung này bằng cqw (1cqw = 1% chiều rộng khung).
 *
 * ⚙️ Nếu PNG có vùng trong suốt (bóng đổ) quanh khung, chỉnh 3 biến:
 *   --cnpm-awaken-pad-x   : lề trái/phải của khung trong ảnh (% chiều rộng ảnh)
 *   --cnpm-awaken-pad-top : lề trên (% chiều cao ảnh)
 *   --cnpm-awaken-pad-bot : lề dưới (% chiều cao ảnh)
 * PNG xuất đúng sát khung 381 x 518 → đặt cả 3 biến = 0%.
 * ========================================================= */
.cnpm-awaken {
  position: relative;
  width: 100%;
  padding: 64px 24px 96px;
}

/* ----- Background: nằm dưới cùng, không cắt → blend liền với section trên/dưới ----- */
.cnpm-awaken__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Ngôi sao – chỉ desktop */
#cnpm-landing .cnpm-awaken__bg-star {
  position: absolute;
  width: 300px;
  opacity: 0.85;
  animation: cnpm-float 7s ease-in-out infinite;
}

#cnpm-landing .cnpm-awaken__bg-star--tl {
  top: -60px;
  left: -70px;
}

#cnpm-landing .cnpm-awaken__bg-star--br {
  right: -40px;
  bottom: -150px;
  width: 260px;
  opacity: 0.7;
  animation-delay: -3.5s;
  scale: -1 1; /* lật gương cho khác ngôi sao trái */
}

.cnpm-awaken__bg-brush {
  position: absolute;
  right: -380px;
  bottom: -460px;
  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%
  );
  filter: blur(68.2px);
}

/* ----- Content ----- */
.cnpm-awaken__inner {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
}

.cnpm-awaken__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  text-align: center;
}

.cnpm-awaken__title-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.cnpm-awaken__title-keyword {
  padding: 0 0.08em 0.06em;
  font-family: var(--cnpm-font-serif);
  font-size: 92px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.05;
}

.cnpm-awaken__title-suffix {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--cnpm-primary);
  font-family: var(--cnpm-font-sans);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.05;
  text-align: left;
}

.cnpm-awaken__title .cnpm-pill-title {
  margin-top: -2px;
}

#cnpm-landing .cnpm-awaken__intro {
  max-width: 1040px;
  margin: 28px auto 50px;
  text-align: center;
  text-wrap: pretty;
}

/* ----- Grid ----- */
.cnpm-awaken__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

/* ----- Card ----- */
.cnpm-awaken__card {
  --cnpm-awaken-pad-x: 4.6%;
  --cnpm-awaken-pad-top: 3.4%;
  --cnpm-awaken-pad-bot: 3.4%;

  position: relative;
  transition: transform 0.35s ease;
}

.cnpm-awaken__card:hover {
  transform: translateY(-8px);
}

/* Ảnh card nằm trong luồng → chiều cao card = đúng tỉ lệ file PNG thật */
#cnpm-landing .cnpm-awaken__card-bg {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  transition: filter 0.35s ease;
}

.cnpm-awaken__card:hover .cnpm-awaken__card-bg {
  filter: drop-shadow(0 18px 26px rgba(113, 13, 172, 0.18));
}

/* Lớp khung: phủ đúng vùng khung 381 x 518 bên trong ảnh */
.cnpm-awaken__frame {
  position: absolute;
  top: var(--cnpm-awaken-pad-top);
  right: var(--cnpm-awaken-pad-x);
  bottom: var(--cnpm-awaken-pad-bot);
  left: var(--cnpm-awaken-pad-x);
  z-index: 1;
  container-type: inline-size;
}

/* Tiêu đề trong tab: padding dọc chừa chỗ cho dấu tiếng Việt (Ô, Ư, Ử…)
 * vì chữ gradient (background-clip: text) chỉ tô màu bên trong hộp chữ */
#cnpm-landing .cnpm-awaken__card-title {
  position: absolute;
  top: 0;
  left: 5.5cqw;
  display: flex;
  align-items: center;
  width: 62cqw;
  height: 15.5cqw;
  margin: 0;
  font-family: var(--cnpm-font-sans);
  font-size: 4.9cqw;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

#cnpm-landing .cnpm-awaken__card-text {
  position: absolute;
  top: 83cqw;
  right: 4.6cqw;
  left: 4.6cqw;
  margin: 0;
  color: var(--cnpm-text-color);
  font-family: var(--cnpm-font-sans);
  font-size: 4.6cqw;
  font-weight: 400;
  line-height: 1.28;
  text-align: justify;
}

/* CTA: dùng chung nút .cnpm-btn (giống Hero), rộng 221/381 = 58% khung */
.cnpm-awaken__card-cta {
  position: absolute;
  right: 0;
  bottom: 7.4cqw;
  left: 0;
  display: flex;
  justify-content: center;
}

.cnpm-awaken__card-cta .cnpm-btn {
  --cnpm-btn-w: 58cqw;

  border-width: 1.5px;
  animation-delay: var(--cnpm-delay, 0s);
}

.cnpm-awaken__card-cta .cnpm-btn::before {
  animation-delay: var(--cnpm-delay, 0s);
}

/* Trình duyệt cũ không hỗ trợ cqw: dùng px theo khung 381 */
@supports not (width: 1cqw) {
  #cnpm-landing .cnpm-awaken__card-title {
    left: 21px;
    width: 236px;
    height: 59px;
    font-size: 19px;
  }

  #cnpm-landing .cnpm-awaken__card-text {
    top: 316px;
    right: 18px;
    left: 18px;
    font-size: 17px;
  }

  .cnpm-awaken__card-cta {
    bottom: 28px;
  }

  .cnpm-awaken__card-cta .cnpm-btn {
    --cnpm-btn-w: 221px;
  }
}

/* ----- Tablet ----- */
@media (min-width: 769px) and (max-width: 1199px) {
  .cnpm-awaken__grid {
    grid-template-columns: repeat(2, minmax(0, 381px));
    justify-content: center;
    gap: 32px 26px;
  }

  #cnpm-landing .cnpm-awaken__bg-star {
    width: 200px;
  }
}

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

  #cnpm-landing .cnpm-awaken__bg-star,
  .cnpm-awaken__bg-brush {
    display: none;
  }

  .cnpm-awaken__title-line {
    gap: 8px;
  }

  .cnpm-awaken__title-keyword {
    font-size: 58px;
  }

  .cnpm-awaken__title-suffix {
    font-size: 19px;
  }

  #cnpm-landing .cnpm-awaken__intro {
    margin: 16px auto 28px;
    text-align: left;
  }

  .cnpm-awaken__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    max-width: 400px;
    margin: 0 auto;
  }

  .cnpm-awaken__card:hover {
    transform: none;
  }

  .cnpm-awaken__card:hover .cnpm-awaken__card-bg {
    filter: none;
  }
}

@media (max-width: 400px) {
  .cnpm-awaken__title-keyword {
    font-size: 50px;
  }

  .cnpm-awaken__title-suffix {
    font-size: 17px;
  }
}

/* =========================================================
 * UTILITY: xuống dòng chỉ trên mobile
 * ========================================================= */
.cnpm-br-m {
  display: none;
}

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

/* =========================================================
 * SECTION: KHÁCH HÀNG THỰC TẾ (tab dọc)
 * Container 1565 | Tab 437 | Bảng nội dung 1071 | Card 480
 * ========================================================= */
.cnpm-results {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 56px 24px 80px;
}

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

/* ----- Title ----- */
.cnpm-results__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 40px;
  text-align: center;
}

.cnpm-results__title-keyword {
  margin-top: 4px;
  padding: 0 0.08em 0.06em;
  font-family: var(--cnpm-font-serif);
  font-size: 100px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.cnpm-results__title-sub {
  margin-top: -4px;
  color: var(--cnpm-primary);
  font-family: var(--cnpm-font-sans);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
}

/* ----- Layout: tab trái + bảng phải ----- */
.cnpm-results__layout {
  display: grid;
  grid-template-columns: minmax(280px, 437px) minmax(0, 1071px);
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.cnpm-results__tabs {
  display: flex;
  flex-direction: column;
  gap: 23px;
}

/* ----- Tab ----- */
#cnpm-landing .cnpm-results__tab {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 86px;
  margin: 0;
  padding: 10px 24px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: var(--cnpm-radius-pill);
  background: #e4d3f8;
  box-shadow: 0 4px 10px rgba(113, 13, 172, 0.1);
  color: var(--cnpm-primary);
  font-family: var(--cnpm-font-sans);
  font-size: clamp(17px, 1.2vw, 23px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-shadow: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease,
    background-color 0.3s ease;
}

/* Lớp gradient active (fade in/out mượt vì gradient không transition được) */
#cnpm-landing .cnpm-results__tab::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: var(--cnpm-grad-title-1);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cnpm-results__tab-label {
  position: relative;
}

#cnpm-landing .cnpm-results__tab:hover {
  background-color: #eee2fb;
  transform: translateX(6px);
}

#cnpm-landing .cnpm-results__tab.is-active {
  color: #fff;
  box-shadow: 0 10px 22px rgba(150, 21, 210, 0.35);
  transform: translateX(10px);
}

#cnpm-landing .cnpm-results__tab.is-active::before {
  opacity: 1;
}

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

/* ----- Bảng nội dung ----- */
.cnpm-results__board {
  padding: 53px 42px;
  border: 2px solid #fff;
  border-radius: 30px;
  background: linear-gradient(180deg, #e8d8fa 0%, #dcc6f5 100%);
  box-shadow: 0 0 20px 6px rgba(255, 255, 255, 0.7) inset,
    0 14px 34px rgba(113, 13, 172, 0.1);
}

.cnpm-results__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 480px));
  justify-content: center;
  gap: 26px;
  outline: none;
}

.cnpm-results__panel[hidden] {
  display: none;
}

/* ----- Card ----- */
.cnpm-results__card {
  display: flex;
  flex-direction: column;
}

.cnpm-results__media {
  overflow: hidden;
  aspect-ratio: 480 / 386;
  border-radius: 30px 30px 0 0;
  background: #f3eaf9;
}

#cnpm-landing .cnpm-results__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cnpm-results__info {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 156px;
  margin-top: -56px;
  padding: 16px 24px 20px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 -6px 18px rgba(113, 13, 172, 0.06);
  text-align: center;
}

#cnpm-landing .cnpm-results__name {
  line-height: 1.25;
}

#cnpm-landing .cnpm-results__service {
  display: inline-block;
  margin: 6px 0 8px;
  padding: 2px 24px 3px;
  border-radius: var(--cnpm-radius-pill);
  background: var(--cnpm-grad-title-1);
  color: #fff;
  font-family: var(--cnpm-font-sans);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
}

#cnpm-landing .cnpm-results__points {
  margin: 0;
  padding: 0 0 0 26px;
  list-style: none;
  text-align: left;
}

#cnpm-landing .cnpm-results__points li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: var(--cnpm-text-color);
  font-family: var(--cnpm-font-sans);
  font-size: 19px;
  line-height: 1.25;
}

#cnpm-landing .cnpm-results__points li::before {
  position: absolute;
  top: 0;
  left: 2px;
  content: "•";
}

/* ----- Hiệu ứng khi tab active: card nổi lên, ảnh mở màn từ giữa, pill bật ----- */
.cnpm-results__panel:not([hidden]) .cnpm-results__card {
  animation: cnpm-card-in 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.cnpm-results__panel:not([hidden]) .cnpm-results__card:nth-child(2) {
  animation-delay: 0.14s;
}

.cnpm-results__panel:not([hidden]) .cnpm-results__image {
  animation: cnpm-curtain 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.cnpm-results__panel:not([hidden]) .cnpm-results__card:nth-child(2) .cnpm-results__image {
  animation-delay: 0.14s;
}

.cnpm-results__panel:not([hidden]) .cnpm-results__service {
  animation: cnpm-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both;
}

.cnpm-results__panel:not([hidden]) .cnpm-results__card:nth-child(2) .cnpm-results__service {
  animation-delay: 0.49s;
}

@keyframes cnpm-card-in {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.95);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes cnpm-curtain {
  from {
    clip-path: inset(0 50% 0 50%);
    transform: scale(1.08);
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: scale(1);
  }
}

@keyframes cnpm-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ----- Laptop nhỏ ----- */
@media (min-width: 1025px) and (max-width: 1440px) {
  .cnpm-results__board {
    padding: 40px 28px;
  }

  .cnpm-results__panel {
    gap: 20px;
  }

  .cnpm-results__info {
    padding: 14px 18px 18px;
  }

  #cnpm-landing .cnpm-results__service {
    font-size: 22px;
  }

  #cnpm-landing .cnpm-results__points {
    padding-left: 10px;
  }

  #cnpm-landing .cnpm-results__points li {
    font-size: 17px;
  }
}

/* ----- Tablet: tab chuyển thành hàng ngang phía trên ----- */
@media (min-width: 769px) and (max-width: 1024px) {
  .cnpm-results__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .cnpm-results__tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  #cnpm-landing .cnpm-results__tab {
    min-height: 64px;
    padding: 8px 12px;
    font-size: 15px;
  }

  #cnpm-landing .cnpm-results__tab:hover,
  #cnpm-landing .cnpm-results__tab.is-active {
    transform: translateY(-3px);
  }

  .cnpm-results__board {
    padding: 32px 22px;
  }

  #cnpm-landing .cnpm-results__service {
    font-size: 20px;
  }

  #cnpm-landing .cnpm-results__points {
    padding-left: 6px;
  }

  #cnpm-landing .cnpm-results__points li {
    font-size: 16px;
  }
}

/* ----- Mobile: tab 2x2, card xếp dọc ----- */
@media (max-width: 768px) {
  .cnpm-results {
    padding: 36px 16px 48px;
  }

  .cnpm-results__title {
    margin-bottom: 18px;
  }

  .cnpm-results__title-keyword {
    font-size: 64px;
  }

  .cnpm-results__title-sub {
    font-size: 20px;
  }

  .cnpm-results__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    max-width: 420px;
    margin: 0 auto;
  }

  .cnpm-results__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }

  #cnpm-landing .cnpm-results__tab {
    min-height: 50px;
    padding: 6px 10px;
    border-width: 1.5px;
    font-size: 14px;
    line-height: 1.15;
  }

  #cnpm-landing .cnpm-results__tab:hover {
    background-color: #e4d3f8;
    transform: none;
  }

  #cnpm-landing .cnpm-results__tab.is-active {
    box-shadow: 0 6px 14px rgba(150, 21, 210, 0.3);
    transform: none;
  }

  .cnpm-results__board {
    padding: 18px 14px 20px;
    border-radius: 22px;
  }

  .cnpm-results__panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .cnpm-results__media {
    border-radius: 22px 22px 0 0;
  }

  .cnpm-results__info {
    min-height: 0;
    margin-top: -40px;
    padding: 12px 16px 16px;
    border-radius: 22px;
  }

  #cnpm-landing .cnpm-results__service {
    margin: 4px 0 6px;
    padding: 1px 18px 2px;
    font-size: 19px;
  }

  #cnpm-landing .cnpm-results__points {
    padding-left: 8px;
  }

  #cnpm-landing .cnpm-results__points li {
    padding-left: 14px;
    font-size: 15px;
  }
}

/* =========================================================
 * UTILITY: SCROLL REVEAL
 * Gắn data-cnpm-reveal (+ style="--i:n" để lệch nhịp).
 * Chỉ ẩn khi JS chạy (#cnpm-landing.is-js) → không JS vẫn hiện đủ nội dung.
 * ========================================================= */
#cnpm-landing.is-js [data-cnpm-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);
}

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

/* =========================================================
 * SECTION: TINH HOA CÔNG NGHỆ PHUN MÔI
 * Banner kiêm background: desktop 2089 x 1299 | mobile 420 x 1042
 * Khối USP 700px nằm cánh phải, lưới 2 cột + đường line + sao góc.
 * ========================================================= */
.cnpm-tech {
  --cnpm-tech-line: #7a2ec4;
  --cnpm-tech-line-w: 1.5px;

  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  /* Tối đa ~1100px: màn hình lớn không bị dư khoảng trống dưới đáy */
  min-height: min(calc(100vw * 1299 / 2089), 1100px);
  padding: 90px 24px 110px;
  overflow: hidden;
  background: var(--cnpm-bg);
}

/* Dải chuyển màu đáy section → hòa liền vào section Ưu đãi bên dưới */
.cnpm-tech::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 240px;
  content: "";
  background: linear-gradient(180deg, rgba(244, 238, 255, 0) 0%, var(--cnpm-bg) 100%);
  pointer-events: none;
}

.cnpm-tech__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

#cnpm-landing .cnpm-tech__bg-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left top; /* giữ trọn người mẫu, chỉ cắt bớt phần nền đáy */
}

.cnpm-tech__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.cnpm-tech__content {
  width: 700px;
  max-width: 100%;
  margin-right: 9%;
}

/* ----- Title ----- */
.cnpm-tech__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 50px;
  text-align: center;
}

.cnpm-tech__title-top {
  color: var(--cnpm-primary);
  font-family: var(--cnpm-font-sans);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
}

.cnpm-tech__title-keyword {
  padding: 0 0.1em 0.06em;
  font-family: var(--cnpm-font-serif);
  font-size: 124px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.cnpm-tech__title .cnpm-pill-title__text {
  font-size: 32px;
}

/* ----- Lưới USP ----- */
.cnpm-tech__usp {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cnpm-tech__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 26px 44px;
  text-align: center;
}

.cnpm-tech__item--tl,
.cnpm-tech__item--tr {
  padding-top: 10px;
}

.cnpm-tech__item--ml,
.cnpm-tech__item--mr {
  padding-top: 44px;
  padding-bottom: 42px;
}

.cnpm-tech__item--bottom {
  grid-column: 1 / -1;
  padding-top: 60px;
  padding-bottom: 0;
}

#cnpm-landing .cnpm-tech__icon {
  width: 113px;
  height: auto;
  margin: 0 auto 16px;
  filter: drop-shadow(0 8px 14px rgba(113, 13, 172, 0.22));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cnpm-tech__item:hover .cnpm-tech__icon {
  transform: translateY(-6px) scale(1.08) rotate(-4deg);
}

#cnpm-landing .cnpm-tech__text {
  max-width: 330px;
  line-height: 1.3;
  text-wrap: balance;
}

/* ----- Đường line (vẽ bằng pseudo, mờ dần ở 2 đầu) ----- */
.cnpm-tech__item--tl::before,
.cnpm-tech__item--ml::before {
  position: absolute;
  top: 0;
  right: calc(var(--cnpm-tech-line-w) / -2);
  bottom: 0;
  width: var(--cnpm-tech-line-w);
  content: "";
  transform-origin: top center;
}

.cnpm-tech__item--tl::before {
  background: linear-gradient(180deg, rgba(122, 46, 196, 0) 0%, var(--cnpm-tech-line) 35%);
}

.cnpm-tech__item--ml::before {
  background: var(--cnpm-tech-line);
}

.cnpm-tech__item--tl::after,
.cnpm-tech__item--tr::after,
.cnpm-tech__item--ml::after,
.cnpm-tech__item--mr::after {
  position: absolute;
  right: 0;
  bottom: calc(var(--cnpm-tech-line-w) / -2);
  left: 0;
  height: var(--cnpm-tech-line-w);
  content: "";
}

.cnpm-tech__item--tl::after,
.cnpm-tech__item--ml::after {
  background: linear-gradient(90deg, rgba(122, 46, 196, 0) 0%, var(--cnpm-tech-line) 14%);
  transform-origin: right center;
}

.cnpm-tech__item--tr::after,
.cnpm-tech__item--mr::after {
  background: linear-gradient(90deg, var(--cnpm-tech-line) 86%, rgba(122, 46, 196, 0) 100%);
  transform-origin: left center;
}

/* Ngôi sao tại giao điểm line */
#cnpm-landing .cnpm-tech__star {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 45px;
  height: auto;
  translate: 50% 50%;
  pointer-events: none;
  animation: cnpm-twinkle 2.4s ease-in-out infinite;
}

#cnpm-landing .cnpm-tech__item--ml .cnpm-tech__star {
  animation-delay: 1.2s;
}

/* ----- Hiệu ứng reveal: line tự vẽ ra từ giao điểm, sao hiện sau ----- */
#cnpm-landing.is-js .cnpm-tech__item::before {
  transform: scaleY(0);
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 0.13s + 0.3s);
}

#cnpm-landing.is-js .cnpm-tech__item::after {
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 0.13s + 0.45s);
}

#cnpm-landing.is-js .cnpm-tech__star {
  opacity: 0;
  transition: opacity 0.5s ease;
  transition-delay: calc(var(--i, 0) * 0.13s + 0.9s);
}

#cnpm-landing.is-js .cnpm-tech__item.is-in::before {
  transform: scaleY(1);
}

#cnpm-landing.is-js .cnpm-tech__item.is-in::after {
  transform: scaleX(1);
}

#cnpm-landing.is-js .cnpm-tech__item.is-in .cnpm-tech__star {
  opacity: 1;
}

/* ----- Laptop ----- */
@media (min-width: 1025px) and (max-width: 1440px) {
  .cnpm-tech__content {
    width: 600px;
    margin-right: 3%;
  }

  .cnpm-tech__title-top {
    font-size: 34px;
  }

  .cnpm-tech__title-keyword {
    font-size: 104px;
  }

  #cnpm-landing .cnpm-tech__icon {
    width: 96px;
  }

  #cnpm-landing .cnpm-tech__text {
    font-size: 18px;
  }
}

/* ----- Tablet ----- */
@media (min-width: 769px) and (max-width: 1024px) {
  .cnpm-tech {
    padding: 64px 24px;
  }

  .cnpm-tech__content {
    width: 58%;
    margin-right: 0;
  }

  .cnpm-tech__title {
    margin-bottom: 32px;
  }

  .cnpm-tech__title-top {
    font-size: 26px;
  }

  .cnpm-tech__title-keyword {
    font-size: 78px;
  }

  .cnpm-tech__title .cnpm-pill-title__text {
    font-size: 22px;
  }

  .cnpm-tech__item {
    padding: 0 14px 30px;
  }

  .cnpm-tech__item--ml,
  .cnpm-tech__item--mr {
    padding-top: 30px;
  }

  .cnpm-tech__item--bottom {
    padding-top: 36px;
    padding-bottom: 0;
  }

  #cnpm-landing .cnpm-tech__icon {
    width: 76px;
  }

  #cnpm-landing .cnpm-tech__text {
    font-size: 16px;
  }
}

/* ----- Mobile: banner nằm trên cùng, tiêu đề đè lên đầu banner,
 *        lưới USP bắt đầu từ ~61.7% chiều cao banner ----- */
@media (max-width: 768px) {
  .cnpm-tech {
    display: block;
    min-height: 0;
    padding: 0 16px 44px;
    background: var(--cnpm-bg);
  }

  .cnpm-tech__bg {
    inset: 0 0 auto 0;
  }

  #cnpm-landing .cnpm-tech__bg-image {
    height: auto;
    object-fit: initial;
  }

  .cnpm-tech__inner {
    display: block;
    position: static;
  }

  .cnpm-tech__content {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .cnpm-tech__title {
    position: absolute;
    top: 23px;
    right: 0;
    left: 0;
    z-index: 2;
    margin: 0;
  }

  .cnpm-tech__title-top {
    font-size: 22px;
  }

  .cnpm-tech__title-keyword {
    font-size: 72px;
  }

  .cnpm-tech__title .cnpm-pill-title__text {
    font-size: 20px;
  }

  .cnpm-tech__usp {
    position: relative;
    z-index: 1;
    /* 1042/420 x 61.7% = vị trí bắt đầu lưới trên banner mobile */
    padding-top: calc(100vw * 1042 / 420 * 0.617);
  }

  .cnpm-tech__item {
    padding: 0 10px 24px;
  }

  .cnpm-tech__item--tl,
  .cnpm-tech__item--tr {
    padding-top: 4px;
  }

  .cnpm-tech__item--ml,
  .cnpm-tech__item--mr {
    padding-top: 22px;
    padding-bottom: 24px;
  }

  .cnpm-tech__item--bottom {
    padding-top: 26px;
    padding-bottom: 0;
  }

  #cnpm-landing .cnpm-tech__icon {
    width: 66px;
    margin-bottom: 10px;
  }

  #cnpm-landing .cnpm-tech__text {
    max-width: 100%;
    line-height: 1.25;
  }

  #cnpm-landing .cnpm-tech__star {
    width: 28px;
  }

  .cnpm-tech__item:hover .cnpm-tech__icon {
    transform: none;
  }
}

@media (max-width: 400px) {
  .cnpm-tech__title-keyword {
    font-size: 62px;
  }
}

/* =========================================================
 * SECTION: ƯU ĐÃI LÊN ĐẾN 50%
 * Ảnh gộp (text + hình con): desktop 1433 x 631 | mobile 612 x 721
 * CTA HTML dùng chung component .cnpm-btn giống Hero.
 * ========================================================= */
.cnpm-promo {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: -50px; /* nơ quà đè lên dải chuyển màu cuối section Tinh hoa như Figma */
  padding: 0 24px 56px;
}

.cnpm-promo .cnpm-stage {
  max-width: 1433px;
  margin: 0 auto;
  --cnpm-stage-x: 29.1%;
  --cnpm-stage-y: 79%;
  --cnpm-stage-cta-w: 279px;
}

@supports (width: 1cqw) {
  .cnpm-promo .cnpm-stage {
    /* 279 / 1433 = 19.47% chiều rộng ảnh → đúng 279px khi ảnh full 1433 */
    --cnpm-stage-cta-w: clamp(150px, 19.47cqw, 279px);
  }
}

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

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

@media (max-width: 768px) {
  .cnpm-promo {
    margin-top: 0;
    padding: 8px 16px 40px;
  }

  /* Ảnh mobile có vùng trong suốt 2 bên (hộp quà…) → phóng to 150%,
   * khung ưu đãi gần full màn hình như Figma, phần thừa 2 bên tự cắt.
   * Chỉnh độ phóng tại --cnpm-promo-zoom. */
  .cnpm-promo .cnpm-stage {
    --cnpm-promo-zoom: 1.5;
    --cnpm-stage-x: 50%;
    --cnpm-stage-y: 82.6%;
    --cnpm-stage-cta-w: 210px;

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

  @supports (width: 1cqw) {
    .cnpm-promo .cnpm-stage {
      --cnpm-stage-cta-w: clamp(170px, 36cqw, 280px);
    }
  }
}

/* =========================================================
 * SECTION: QUÁN QUÂN PHUN MÔI THẾ GIỚI
 * Nền: desktop 1920 x 1103 | mobile 420 x 1103
 * Master + cúp: desktop 987 x 995 (neo đáy phải) | mobile 659 x 991 (lệch trái)
 * ========================================================= */
.cnpm-champ {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: calc(100vw * 1103 / 1920);
  padding: 90px 24px;
  overflow: hidden;
  background: #f1e2f0;
}

.cnpm-champ__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

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

/* Không set position cho inner/content → ảnh master neo theo section */
.cnpm-champ__inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.cnpm-champ__content {
  width: 565px;
  max-width: 100%;
}

.cnpm-champ__title,
.cnpm-champ__profile,
.cnpm-champ__box {
  position: relative;
  z-index: 2;
}

/* ----- Tiêu đề PNG ----- */
.cnpm-champ__title {
  margin: 0 0 22px;
  padding-left: 24px;
  line-height: 0;
}

#cnpm-landing .cnpm-champ__title-image {
  width: 468px;
  max-width: 100%;
}

/* ----- Badge vương miện + mô tả ----- */
.cnpm-champ__profile {
  padding-left: 24px;
}

#cnpm-landing .cnpm-champ__badge {
  margin: 0 0 8px -39px; /* vương miện nhô ra trái như Figma */
  line-height: 0;
}

#cnpm-landing .cnpm-champ__badge-image {
  width: 543px;
  max-width: calc(100% + 39px);
}

#cnpm-landing .cnpm-champ__subtitle {
  margin: 0 0 30px;
}

/* ----- Khung thành tựu (spec Figma) ----- */
.cnpm-champ__box {
  width: 565px;
  max-width: 100%;
  min-height: 319.042px;
  padding: 26px 22px 26px 20px;
  border-radius: 42.164px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 5.622px 5.622px 0 rgba(113, 13, 172, 0.6);
}

#cnpm-landing .cnpm-champ__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#cnpm-landing .cnpm-champ__list li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  line-height: 1.95;
}

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

/* ----- Master + cúp (desktop: neo đáy phải section) ----- */
.cnpm-champ__visual {
  position: absolute;
  right: max(0px, calc(50% - 928px));
  bottom: 0;
  z-index: 1;
  width: min(987px, 51.4vw);
  line-height: 0;
}

#cnpm-landing .cnpm-champ__master {
  width: 100%;
  height: auto;
}

/* Reveal: master trượt vào từ phải */
#cnpm-landing.is-js .cnpm-champ__visual[data-cnpm-reveal]:not(.is-in) {
  transform: translateX(80px);
}

/* ----- Tablet ----- */
@media (min-width: 769px) and (max-width: 1199px) {
  .cnpm-champ {
    padding: 64px 24px;
  }

  .cnpm-champ__content {
    width: 50%;
  }

  #cnpm-landing .cnpm-champ__list li {
    font-size: 17px;
    line-height: 1.7;
  }

  .cnpm-champ__box {
    min-height: 0;
    border-radius: 32px;
  }

  #cnpm-landing .cnpm-champ__subtitle {
    font-size: 17px;
  }

  .cnpm-champ__visual {
    width: 52vw;
  }
}

/* ----- Mobile: xếp dọc, ảnh master lệch trái, khung thành tựu đè đáy ảnh ----- */
@media (max-width: 768px) {
  .cnpm-champ {
    display: block;
    min-height: 0;
    padding: 28px 0 32px;
    background: #efe0f4;
  }

  #cnpm-landing .cnpm-champ__bg-image {
    object-position: center top;
  }

  .cnpm-champ__content {
    width: 100%;
  }

  .cnpm-champ__title {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
    padding: 0 16px;
  }

  #cnpm-landing .cnpm-champ__title-image {
    width: 330px;
  }

  .cnpm-champ__profile {
    width: 78%;
    padding-left: 6px;
  }

  #cnpm-landing .cnpm-champ__badge {
    margin: 0 0 6px;
  }

  #cnpm-landing .cnpm-champ__badge-image {
    width: 262px;
    max-width: 100%;
  }

  #cnpm-landing .cnpm-champ__subtitle {
    max-width: 250px;
    margin: 0 0 0 24px;
    line-height: 1.3;
  }

  /* Ảnh master phóng 150%, dịch sang phải theo tỉ lệ Figma:
   * cúp trái sát mép trái, master nằm nửa phải, cúp phải bị cắt bớt.
   * Tinh chỉnh: width (độ phóng), margin-left (dịch ngang),
   * margin-top (độ đè lên badge), margin âm của .cnpm-champ__box (độ đè khung). */
  .cnpm-champ__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 150%;
    max-width: none;
    margin-top: -40vw;
    margin-left: -8%;
  }

  .cnpm-champ__box {
    width: auto;
    min-height: 0;
    margin: -72vw 14px 0;
    padding: 16px 14px 16px 12px;
    border-radius: 26px;
  }

  #cnpm-landing .cnpm-champ__list li {
    padding-left: 18px;
    line-height: 1.5;
  }

  #cnpm-landing .cnpm-champ__list li::before {
    top: calc(0.75em - 3px);
    left: 2px;
  }
}

/* =========================================================
 * SECTION: LÝ DO NÊN LỰA CHỌN DỊCH VỤ TẠI LINH ANH
 * 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 tím của section Quy trình
 * lan liền lên đáy section này, không còn đường cắt ngang như Figma */
.cnpm-why {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 60px 24px 80px;
  overflow: hidden;
}

#cnpm-landing .cnpm-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;
}

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

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

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

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

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

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

.cnpm-why__media {
  flex: 0 0 auto;
  width: var(--cnpm-why-w, 300px);
  max-width: 62%;
  padding: 3px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 10px 3px #fff inset, 0 10px 24px rgba(113, 13, 172, 0.14);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cnpm-why__item:hover .cnpm-why__media {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 0 10px 3px #fff inset, 0 18px 32px rgba(113, 13, 172, 0.22);
}

#cnpm-landing .cnpm-why__image {
  width: 100%;
  height: auto;
  border-radius: 19px;
}

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

/* ----- CTA ----- */
.cnpm-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) {
  #cnpm-landing.is-js .cnpm-why__col--left [data-cnpm-reveal]:not(.is-in) {
    transform: translateX(-50px);
  }

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

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

  .cnpm-why__item {
    gap: 18px;
  }

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

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

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

  .cnpm-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 */
  .cnpm-why__col {
    display: contents;
  }

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

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

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

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

  .cnpm-why__media {
    width: 54%;
    max-width: none;
    padding: 2px;
    border-radius: 16px;
  }

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

  #cnpm-landing .cnpm-why__image {
    border-radius: 14px;
  }

  /* Khung chữ nền trắng, tràn ra sát mép màn hình và luồn dưới ảnh (Figma) */
  #cnpm-landing .cnpm-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;
  }

  .cnpm-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 */
  #cnpm-landing .cnpm-why__item--m-text-first .cnpm-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 */
  #cnpm-landing .cnpm-why__item--m-media-first .cnpm-why__text {
    margin: 0 -16px 0 -24px;
    padding-right: 16px;
    padding-left: 30px;
  }

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

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

/* =========================================================
 * SECTION: QUY TRÌNH PHUN MÔI CHUẨN Y KHOA
 * Layout clone từ LP phun-moi-collagen: 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.
 * ========================================================= */
.cnpm-steps {
  position: relative;
  width: 100%;
  padding: 56px 24px 96px;
}

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

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

/* Brush tím – góc phải trên */
.cnpm-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 */
.cnpm-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) */
#cnpm-landing .cnpm-steps__line {
  position: absolute;
  top: 55%;
  width: 220px;
  max-width: 18vw;
  height: auto;
  opacity: 0.78;
  transform: translateY(-50%);
}

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

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

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

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

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

/* Ảnh tròn đè lên đầu pill */
.cnpm-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);
}

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

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

/* Pill kính */
.cnpm-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;
}

.cnpm-steps__item:hover .cnpm-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);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* =========================================================
 * COMPONENT: SLIDER (cuộn ngang native + scroll-snap)
 * Desktop: nút prev/next, hết bài quay vòng về đầu | Mobile: vuốt + dots
 * ========================================================= */
.cnpm-slider {
  --cnpm-slider-gap: 25px;

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

.cnpm-slider__viewport {
  position: relative;
  display: flex;
  gap: var(--cnpm-slider-gap);
  padding: 14px 4px 22px; /* chừa chỗ cho bóng đổ card */
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  outline: none;
}

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

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

#cnpm-landing .cnpm-slider__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(--cnpm-primary);
  cursor: pointer;
  transition: transform 0.25s ease, color 0.25s ease;
}

#cnpm-landing .cnpm-slider__nav:hover {
  color: var(--cnpm-violet);
  transform: scale(1.18);
}

#cnpm-landing .cnpm-slider__nav--prev:hover {
  transform: translateX(-4px) scale(1.18);
}

#cnpm-landing .cnpm-slider__nav--next:hover {
  transform: translateX(4px) scale(1.18);
}

#cnpm-landing .cnpm-slider__nav:focus-visible,
.cnpm-slider__viewport:focus-visible {
  outline: 3px solid var(--cnpm-primary);
  outline-offset: 2px;
}

.cnpm-slider__dots {
  display: none;
  grid-column: 1 / -1;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

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

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

/* =========================================================
 * SECTION: BÁO CHÍ
 * Container 1565 | Cột trái: tiêu đề + mô tả | Cột phải: slider card 260 x 524
 * ========================================================= */
.cnpm-press {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 90px 24px 40px;
}

.cnpm-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;
}

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

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

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

.cnpm-press__card {
  width: 260px;
}

.cnpm-press__link {
  display: block;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(113, 13, 172, 0.16);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.cnpm-press__link:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 30px rgba(113, 13, 172, 0.24);
}

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

/* ----- Tablet ----- */
@media (min-width: 769px) and (max-width: 1199px) {
  .cnpm-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) {
  .cnpm-press {
    padding: 40px 16px 24px;
  }

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

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

  .cnpm-slider {
    --cnpm-slider-gap: 18px;
    grid-template-columns: minmax(0, 1fr);
  }

  #cnpm-landing .cnpm-slider__nav {
    display: none;
  }

  .cnpm-slider__dots {
    display: flex;
  }

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

  .cnpm-press__card {
    width: 66%;
  }

  .cnpm-press__link {
    aspect-ratio: 277 / 392;
    border-radius: 14px;
  }

  #cnpm-landing .cnpm-press__image {
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
}

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

#cnpm-landing .cnpm-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;
}

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

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

.cnpm-awards__year {
  margin-top: 8px;
  color: var(--cnpm-deep);
  font-family: var(--cnpm-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 */
#cnpm-landing .cnpm-awards__intro {
  display: none;
}

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

.cnpm-awards__item {
  margin: 0;
}

#cnpm-landing .cnpm-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;
}

.cnpm-awards__item:hover .cnpm-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) {
  .cnpm-awards__grid {
    gap: 40px;
  }

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

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

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

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

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

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

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

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

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

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

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

/* =========================================================
 * 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.
 * ========================================================= */
.cnpm-faq {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 70px 24px 100px;
  background: var(--cnpm-bg);
}

.cnpm-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 */
.cnpm-faq__aside {
  position: sticky;
  top: 120px;
  padding-top: 6px;
}

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

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

.cnpm-faq__item {
  position: relative;
}

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

#cnpm-landing .cnpm-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(--cnpm-radius-tab);
  background: var(--cnpm-grad-title-2);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: var(--cnpm-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;
}

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

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

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

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

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

#cnpm-landing.is-js .cnpm-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);
}

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

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

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

/* Khung trắng trả lời */
.cnpm-faq__answer {
  margin: 0;
  padding: 36px 30px 24px;
  border-radius: 0 0 var(--cnpm-radius-tab) var(--cnpm-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;
}

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

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

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

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

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

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

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

  .cnpm-faq__aside {
    position: static;
  }
}

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

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

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

  .cnpm-faq__list {
    gap: 14px;
  }

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

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

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

/* =========================================================
 * COMPONENT: VIDEO FACADE (YouTube)
 * Hiện thumbnail nét nhất, bấm 1 lần → tải player + phát ngay.
 * ========================================================= */
.cnpm-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  background: var(--cnpm-primary);
  box-shadow: 0 14px 30px rgba(113, 13, 172, 0.2);
}

#cnpm-landing .cnpm-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;
}

#cnpm-landing .cnpm-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;
}

.cnpm-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: cnpm-play-pulse 2s ease-out infinite;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

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

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

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

@keyframes cnpm-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);
  }
}

/* =========================================================
 * SECTION: NGƯỜI NỔI TIẾNG TIN CHỌN
 * Desktop: 4 video Shorts 290 x 516 ngang hàng | Mobile: cuộn ngang
 * ========================================================= */
.cnpm-celebs {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px 24px 96px;
}

.cnpm-celebs__inner {
  max-width: 1214px;
  margin: 0 auto;
}

.cnpm-celebs__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 44px;
  text-align: center;
}

.cnpm-celebs__title-top {
  color: var(--cnpm-primary);
  font-family: var(--cnpm-font-sans);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
}

.cnpm-celebs__title-keyword {
  padding: 0 0.1em 0.08em;
  font-family: var(--cnpm-font-serif);
  font-size: 100px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.cnpm-celebs__title .cnpm-pill-title {
  margin-top: -2px;
}

.cnpm-celebs__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 290px));
  justify-content: center;
  gap: 18px;
}

/* ----- Tablet ----- */
@media (min-width: 769px) and (max-width: 1024px) {
  .cnpm-celebs__title-keyword {
    font-size: 80px;
  }

  .cnpm-celebs__row {
    gap: 12px;
  }

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

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

/* ----- Mobile: cuộn ngang, video kế tiếp ló ra mép phải ----- */
@media (max-width: 768px) {
  .cnpm-celebs {
    padding: 8px 16px 48px;
  }

  .cnpm-celebs__inner {
    max-width: 420px;
  }

  .cnpm-celebs__title {
    margin-bottom: 22px;
  }

  .cnpm-celebs__title-top {
    font-size: 20px;
  }

  .cnpm-celebs__title-keyword {
    font-size: 56px;
  }

  .cnpm-celebs__row {
    display: flex;
    justify-content: flex-start; /* bỏ căn giữa của desktop → video đầu không bị đẩy lệch ra ngoài mép trái */
    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;
  }

  .cnpm-celebs__row::-webkit-scrollbar {
    display: none;
  }

  .cnpm-celebs__item {
    flex: 0 0 68%;
    scroll-snap-align: start;
  }

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

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

@media (max-width: 400px) {
  .cnpm-celebs__title-keyword {
    font-size: 48px;
  }
}

/** CSS bổ sung từ Linh Anh ***/
.cnpm-results .cnpm-results__title-keyword {
	padding-top: 0.9rem;
}
/***************************/
/* =========================================================
 * FIX (chỉ section Người nổi tiếng): chữ gradient bị mất dấu (ổ, ế)
 * Chữ gradient (background-clip: text) chỉ tô màu trong hộp chữ.
 * Dấu chồng tầng nhô lên trên hộp → tàng hình. Chừa thêm khoảng trống
 * phía trên/dưới bằng padding, rồi bù lại bằng margin âm để bố cục không đổi.
 * ========================================================= */
#cnpm-landing .cnpm-celebs__title-keyword {
  padding-top: 0.44em;
  padding-bottom: 0.12em;
  margin-top: -0.24em;
  margin-bottom: -0.06em;
}

/* ===== [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) {
  #cnpm-landing *,
  #cnpm-landing *::before,
  #cnpm-landing *::after {
    animation: none !important;
    transition: none !important;
  }
}