/* =========================================================
   Programs intro (shared simple layout)
   Used by: /programs-alltimax, /programs-acne, ...
   Layout: sub-nav + hero(media + info) + overview(title + media)
   ========================================================= */

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

/* ============= Sub navigation ============= */
.pintro-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;
}

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

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

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

/* ============= 1) Hero (model image + info) ============= */
.pintro-hero {
  display: grid;
  grid-template-columns: 1fr minmax(0, 720px);
  align-items: stretch;
  width: 100%;
  background-color: var(--wh);
}

.pintro-hero__media {
  position: relative;
  background-color: var(--g-100);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 720px;
}

.pintro-hero__media img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.pintro-hero__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(48px, 6.25vw, 100px) clamp(32px, 4.16vw, 80px);
  background-color: var(--wh);
  border-left: 1px solid var(--g-200);
}

.pintro-info__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
}

.pintro-info__heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.pintro-info__title {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--bl);
}

.pintro-info__desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.6px;
  color: var(--g-700);
}

.pintro-info__divider {
  width: 100%;
  height: 1px;
  background-color: var(--g-300);
}

.pintro-info__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.pintro-info__meta-row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.pintro-info__meta-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 76px;
  min-width: 76px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--g-600);
}

.pintro-info__meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pintro-info__meta-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.pintro-info__meta-value {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--g-900);
}

.pintro-info__cta,
.pintro-info__cta span {
  font-size: var(--fs-detail);
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--bl);
  line-height: 1;
}

.pintro-info__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 15px 15px 15px 20px;
  margin-top: 60px;
  border: 1px solid var(--g-200);
  border-radius: 999px;
  background: var(--wh);
  white-space: nowrap;
  align-self: flex-start;
  transition: background-color 0.2s ease;
}

.pintro-info__cta:hover {
  background-color: var(--g-100);
}

.pintro-info__cta-arrow {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============= 2) Overview (heading + device) ============= */
.pintro-overview {
  position: relative;
  width: 100%;
  padding: clamp(100px, 10vw, 160px) 0 0;
  background-color: var(--wh);
  overflow: hidden;
}

.pintro-overview__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
  padding: 0 30px;
}

.pintro-overview__title {
  font-size: clamp(24px, 5vw, 46px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--bl);
  text-transform: uppercase;
}

.pintro-overview__desc {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: var(--g-900);
  max-width: 1200px;
}

.pintro-overview__media {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: -150px;
}

.pintro-overview__media img {
  width: 100%;
  height: auto;
}

/* ============= Mobile (≤1024px) ============= */
@media (max-width: 1024px) {
  .pintro-subnav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 10px 20px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

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

  .pintro-subnav a {
    flex-shrink: 0;
  }

  .pintro-hero {
    grid-template-columns: 1fr;
  }

  .pintro-hero__media {
    min-height: 100%;
    height: 100%;
    width: auto;
  }

  .pintro-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
  }

  .pintro-hero__info {
    border-left: none;
    border-top: 1px solid var(--g-200);
    padding: 40px 20px 60px;
    gap: 40px;
  }

  .pintro-info__body {
    gap: 30px;
  }

  .pintro-info__cta {
    margin-top: 0;
    align-self: stretch;
    justify-content: space-between;
  }

  .pintro-info__desc br {
    display: none;
  }

  .pintro-overview__desc br {
    display: none;
  }

  .pintro-overview__media {
    margin-top: -150px;
  }
}
