/* =========================================================
   Programs detail — Acne (/programs-acne)
   - 좌측은 일반 스크롤, 우측은 sticky로 고정.
   - 상단 sub-nav만 sticky, 그 외 섹션은 일반 흐름.
   ========================================================= */

.main--acne-detail {
  padding-top: 70px;
  background-color: var(--wh);
}

/* ============= Sub navigation (Figma 1168:291) ============= */
.acne-subnav {
  position: sticky;
  top: 70px;
  z-index: 90;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 10px 20px;
  background-color: var(--g-100);
  border-bottom: 1px solid var(--g-200);
  flex-wrap: wrap;
  row-gap: 12px;
}

.acne-subnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-detail);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--g-600);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.acne-subnav a:hover {
  color: var(--bl);
}

.acne-subnav a.is-active,
.acne-subnav a[aria-current="page"] {
  font-weight: 600;
  color: var(--primary);
}

/* ============= Two column layout ============= */
.acne-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  width: 100%;
}

.acne-layout__left {
  min-width: 0;
}

.acne-layout__right {
  position: relative;
  min-width: 0;
  border-left: 1px solid var(--g-200);
}

.acne-layout__sticky {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 80px;
  height: calc(100vh - 140px);
  padding: clamp(40px, 6.25vw, 120px);
  background-color: var(--wh);
}

.acne-layout__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.acne-layout__eyebrow {
  font-family: var(--font-base);
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--bl);
  line-height: 1.3;
  text-transform: uppercase;
}

.acne-layout__title {
  font-size: clamp(36px, 6.4vw, 64px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--bl);
  text-transform: uppercase;
}

.acne-layout__title .accent {
  display: block;
  font-size: inherit;
  line-height: inherit;
  color: var(--primary);
}

.acne-layout__desc {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--g-600);
  letter-spacing: -0.5px;
  margin-top: 10px;
}

.acne-layout__cta {
  display: inline-flex;
  align-items: center;

  gap: 10px;
  padding: 10px 10px 10px 20px;
  border: 1px solid var(--g-200);
  border-radius: 999px;
  background: var(--wh);
  color: var(--bl);
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: -0.5px;
  text-transform: capitalize;
  white-space: nowrap;
}

.acne-layout__cta:hover {
  /* border-color: var(--g-500); */
  background-color: var(--g-100);
}

.acne-layout__cta-arrow {
  display: block;
  /* width: 47px;
  height: 52px; */
  flex-shrink: 0;
  margin: 0;
}

/* ============= 1) Hero (model image) ============= */
.acne-hero {
  position: relative;
  width: 100%;
  background-color: var(--wh);
  overflow: hidden;
}

.acne-hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============= 2) ULTRAPLA section ============= */
.acne-ultrapla {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.acne-ultrapla__media {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.acne-ultrapla__copy {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  padding: clamp(48px, 6.25vw, 120px) 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  pointer-events: none;
}

.acne-ultrapla__eyebrow {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  background-image: linear-gradient(
    103deg,
    #3752ff 4.89%,
    #c43aff 69.92%,
    #357cff 94.08%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.acne-ultrapla__title {
  font-size: clamp(28px, 5vw, 50px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--wh);
  white-space: nowrap;
}

.acne-ultrapla__desc {
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--g-500);
}

/* ============= 3) Section: 3 modes / Recovery ============= */
.acne-mode-wrap {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 120px 0 160px;
  background-color: var(--wh);
}

.acne-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 clamp(20px, 6.25vw, 120px);
}

.acne-section__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.acne-section__title {
  font-size: clamp(28px, 4.6vw, 46px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--bl);
}

.acne-section__title > span {
  display: block;
  font-size: inherit;
  line-height: inherit;
}

.acne-section__title .gray {
  color: var(--g-500);
}

.acne-section__desc {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--g-600);
  letter-spacing: -0.5px;
}

.acne-section__visual {
  width: 100%;
  aspect-ratio: 720 / 400;
  background-color: #e3dcea;
  border-radius: 20px;
  overflow: hidden;
}

.acne-section__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============= 4) Recommendations list ============= */
.acne-recommend {
  background-color: var(--g-100);
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.acne-recommend__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  padding: 0 20px;
}

.acne-recommend__eyebrow {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--bl);
}

.acne-recommend__title {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--bl);
}

.acne-recommend__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--g-200);
}

.acne-recommend__item {
  text-align: center;
  padding: 30px 20px;
  border-bottom: 1px solid var(--g-200);
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: -0.5px;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--g-600);
  font-weight: 400;
}

.acne-recommend__item strong {
  font-size: inherit;
  line-height: inherit;
  font-weight: 600;
  color: var(--bl);
}

/* ============= 5) Before & After ============= */
.acne-ba {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 120px clamp(20px, 6.25vw, 120px);
  background-color: var(--wh);
}

.acne-ba__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.acne-ba__eyebrow {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--bl);
}

.acne-ba__title {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--bl);
}

.acne-ba__desc {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--g-600);
  letter-spacing: -0.5px;
}

.acne-ba__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.acne-ba__item {
  display: flex;
  flex-direction: column;
}

.acne-ba__img {
  width: 100%;
  aspect-ratio: 720 / 240;
  background-color: #e0d3d0;
  overflow: hidden;
}

.acne-ba__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.acne-ba__caption {
  display: flex;
  gap: 5px;
  align-items: baseline;
  padding: 16px 0;
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: -0.5px;
  text-transform: uppercase;
  line-height: 1.4;
}

.acne-ba__caption-name {
  font-size: inherit;
  line-height: inherit;
  font-weight: 400;
  color: var(--bl);
}

.acne-ba__caption-count {
  font-size: inherit;
  line-height: inherit;
  font-weight: 400;
  color: var(--g-600);
}

/* ============= 6) Features (다른 이유) ============= */
.acne-features {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 120px clamp(20px, 6.25vw, 120px);
  background-color: var(--g-100);
}

.acne-features__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.acne-features__eyebrow {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--bl);
}

.acne-features__eyebrow .primary {
  font-size: inherit;
  line-height: inherit;
  color: var(--primary);
}

.acne-features__title {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--bl);
}

.acne-features__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.acne-features__item {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px;
  background-color: var(--wh);
}

.acne-features__icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acne-features__icon img {
  width: 60px;
  height: 60px;
  display: block;
  object-fit: contain;
}

.acne-features__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  letter-spacing: -0.5px;
  flex: 1;
  min-width: 0;
}

.acne-features__name {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--bl);
  text-transform: uppercase;
}

.acne-features__copy {
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.5;
  color: var(--g-600);
}

/* ============= 7) Q&A ============= */
.acne-qna {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 120px clamp(20px, 6.25vw, 120px);
  background-color: var(--wh);
}

.acne-qna__title {
  text-align: center;
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--bl);
}

.acne-qna__list {
  display: flex;
  flex-direction: column;
}

.acne-qna__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px;
  border-top: 1px solid var(--g-200);
}

.acne-qna__item.is-open {
  background-color: var(--g-100);
}

.acne-qna__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  background: transparent;
  width: 100%;
  text-align: left;
  padding: 0;
  border: 0;
}

.acne-qna__q {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--bl);
  letter-spacing: -0.5px;
  text-transform: uppercase;
  flex: 1;
  min-width: 0;
}

.acne-qna__toggle {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.acne-qna__toggle img {
  position: absolute;
  top: 50%;
  left: 50%;
  /* width: 32px; */
  /* height: 32px; */
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.acne-qna__icon-minus {
  opacity: 0;
}

.acne-qna__item.is-open .acne-qna__icon-plus {
  opacity: 0;
}

.acne-qna__item.is-open .acne-qna__icon-minus {
  opacity: 1;
}

.acne-qna__a {
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: var(--g-600);
  display: none;
}

.acne-qna__item.is-open .acne-qna__a {
  display: block;
}

/* ============= 8) Bespoke pore CTA ============= */
.acne-bespoke {
  display: block;
  width: 100%;
  background-color: var(--g-100);
  border-top: 1px solid var(--g-200);
  overflow: hidden;
}

.acne-bespoke img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============= Mobile / Tablet ============= */
@media (max-width: 1024px) {
  .main--acne-detail {
    padding-top: 60px;
  }

  .acne-subnav {
    top: 60px;
    height: 50px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 20px;
    padding: 10px 16px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
  }

  .acne-subnav::-webkit-scrollbar {
    display: none;
  }

  .acne-subnav a {
    font-size: 14px;
    flex-shrink: 0;
  }

  .acne-layout {
    grid-template-columns: 1fr;
  }

  .acne-layout__right {
    order: -1;
    border-left: 0;
    border-bottom: 1px solid var(--g-200);
  }

  .acne-layout__sticky {
    position: static;
    height: auto;
    gap: 32px;
    padding: 40px 20px;
  }

  .acne-layout__title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .acne-mode-wrap {
    gap: 80px;
    padding: 80px 0 100px;
  }

  .acne-section {
    gap: 24px;
    padding: 0 20px;
  }

  .acne-recommend {
    padding: 80px 0;
    gap: 32px;
  }

  .acne-recommend__item {
    padding: 22px 16px;
  }

  .acne-ba {
    padding: 80px 20px;
    gap: 32px;
  }

  .acne-features {
    padding: 80px 20px;
    gap: 32px;
  }

  .acne-features__item {
    padding: 20px;
    gap: 16px;
  }

  .acne-features__icon,
  .acne-features__icon img {
    width: 48px;
    height: 48px;
  }

  .acne-qna {
    padding: 80px 20px;
    gap: 32px;
  }

  .acne-qna__item {
    padding: 22px 16px;
  }
}
