/*
 * Alf Theme — Product Design: Intro / Product Engineering Division
 * Figma node: 629:3512 (desktop), 629:4362 (mobile)
 *
 * Desktop: two-column — text left, image right, centered title above.
 * Mobile:  single column — title, text, image stacked.
 */

/* ═══════════════════════════════════════════════════════════════════
   SECTION
   ═══════════════════════════════════════════════════════════════════ */
.pd-intro {
  background-color: var(--color-bg, #f8faf0);
  padding: 160px 0;
}

/* ── Wrapper: flex-col, gap between title and body ─────────────────── */
.pd-intro__wrap {
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
}

/* ═══════════════════════════════════════════════════════════════════
   TITLE
   ═══════════════════════════════════════════════════════════════════ */
.pd-intro__title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-dark, #252525);
  text-align: center;
  width: 100%;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   BODY: TWO-COLUMN ROW
   ═══════════════════════════════════════════════════════════════════ */
.pd-intro__body {
  display: flex;
  gap: 40px;
  align-items: center;
  width: 100%;
}

/* ── Left: text column ─────────────────────────────────────────────── */
.pd-intro__text {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.pd-intro__para {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-dark, #252525);
  margin: 0;
}

/* ── Right: image column ───────────────────────────────────────────── */
.pd-intro__image-wrap {
  flex: 1 0 0;
  min-width: 0;
  align-self: stretch;
}

.pd-intro__image-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
}

.pd-intro__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Bottom gradient overlay */
.pd-intro__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(37, 37, 37, 0.6) 0%,
      rgba(0, 0, 0, 0) 50%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET / MOBILE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pd-intro {
    padding: 120px 0;
  }

  .pd-intro__para {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .pd-intro {
    padding: 80px 0;
  }

  .pd-intro__wrap {
    gap: 40px;
  }

  .pd-intro__title {
    font-size: 32px;
    text-align: left;
  }

  .pd-intro__body {
    flex-direction: column;
    gap: 40px;
  }

  .pd-intro__text {
    gap: 16px;
  }

  .pd-intro__para {
    font-size: 16px;
    font-weight: 300;
  }

  .pd-intro__image-wrap {
    width: 100%;
    align-self: auto;
  }

  .pd-intro__image-inner {
    min-height: 171px;
    height: 171px;
    position: relative;
  }

  .pd-intro__image {
    position: static;
    width: 100%;
    height: 171px;
  }
}

@media (max-width: 480px) {
  .pd-intro__title {
    font-size: 28px;
  }
}