/*
 * Alf Theme — Product Design: FSS Process Section
 * Figma node: 629:3522
 *
 * Desktop structure:
 *   section.pd-process
 *   └── .alf-container.pd-process__wrap
 *       ├── .pd-process__header      (title + subtitle + body)
 *       ├── .pd-process__steps       (4 cards flex-wrap)
 *       ├── .pd-process__detail      (dark box: pills left + photo right)
 *       └── .pd-process__strategic   (heading + 3-col cards)
 *
 * Background: #F0F0E3 (beige)
 */

/* ═══════════════════════════════════════════════════════════════════
   SECTION
   ═══════════════════════════════════════════════════════════════════ */
.pd-process {
  background-color: var(--color-beige, #f0f0e3);
  padding: 160px 0;
}

.pd-process__wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════ */
.pd-process__header {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
  max-width: 896px;
  width: 100%;
}

.pd-process__title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-dark, #252525);
  margin: 0;
}

.pd-process__subtitle {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-dark, #252525);
  margin: 0;
}

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

/* ═══════════════════════════════════════════════════════════════════
   STEP CARDS ROW
   ═══════════════════════════════════════════════════════════════════ */
.pd-process__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  align-items: flex-start;
  width: 100%;
}

/* ── Individual card ───────────────────────────────────────────────── */
.pd-step {
  position: relative;
  flex: 1 0 0;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 12px;
  border-radius: 16px;
  border: 1px solid var(--color-bg, #f8faf0);
  min-height: 220px;
  box-shadow: 0 20px 12.5px rgba(0, 0, 0, 0.1), 0 8px 5px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transition: background-color 0.25s ease;
  cursor: default;
}

/* Hover: dark bg ───────────────────────────── */
.pd-step:hover {
  background-color: var(--color-dark, #252525);
}

.pd-step:hover .pd-step__title {
  color: var(--color-bg, #f8faf0);
}

.pd-step:hover .pd-step__body {
  color: var(--color-bg, #f8faf0);
}

/* ── Red gradient icon box ─────────────────────────────────────────── */
.pd-step__icon-box {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  /* background: linear-gradient(90deg, #cd261d 0%, #a41c16 100%); */
  /* padding: 12px; */
  box-sizing: border-box;
}

.pd-step__icon-box img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.pd-step__icon-box--sm {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

/* ── Text elements ─────────────────────────────────────────────────── */
.pd-step__label {
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: var(--color-primary, #cd261d);
  margin: 0;
}

.pd-step__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-dark, #252525);
  margin: 0;
  transition: color 0.25s ease;
}

.pd-step__body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #373737;
  margin: 0;
  transition: color 0.25s ease;
}

/* ── Numbered badge top-right ──────────────────────────────────────── */
.pd-step__badge {
  position: absolute;
  top: -11px;
  right: -11px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-primary, #cd261d);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 7.5px rgba(0, 0, 0, 0.1), 0 4px 3px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   DETAIL PANEL (dark box)
   ═══════════════════════════════════════════════════════════════════ */
.pd-process__detail {
  display: flex;
  gap: 32px;
  align-items: center;
  width: 100%;
  background-color: var(--color-dark, #252525);
  border-radius: 16px;
  padding: 64px 40px;
  box-sizing: border-box;
}

/* ── Left: pills ───────────────────────────────────────────────────── */
.pd-process__pills {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.pd-process__pill {
  display: flex;
  align-items: center;
  gap: 32px;
  background-color: var(--color-bg, #f8faf0);
  border-radius: 24px;
  padding: 16px 24px;
}

.pd-process__pill-text {
  flex: 1 0 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: #0c0c0c;
  margin: 0;
}

.pd-pill-accent {
  font-weight: 700;
  color: var(--color-primary, #cd261d);
}

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

.pd-process__photo-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.pd-process__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ═══════════════════════════════════════════════════════════════════
   STRATEGIC BENEFITS
   ═══════════════════════════════════════════════════════════════════ */
.pd-process__strategic {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  width: 100%;
}

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

.pd-process__strategic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 100%;
}

/* ── Benefit card ──────────────────────────────────────────────────── */
.pd-benefit {
  flex: 1 0 0;
  min-width: 236px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background-color: var(--color-dark, #252525);
  border-radius: 16px;
  padding: 32px 16px;
}

.pd-benefit__label-wrap {
  border-left: 6px solid var(--color-primary, #cd261d);
  padding: 8px 16px;
}

.pd-benefit__label {
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-bg, #f8faf0);
  margin: 0;
  white-space: nowrap;
}

.pd-benefit__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-bg, #f8faf0);
  margin: 0;
}

.pd-benefit__body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #ababab;
  margin: 0;
}

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

  .pd-process__title {
    font-size: 30px;
  }

  .pd-process__detail {
    padding: 40px 24px;
  }
}

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

  .pd-process__header {
    gap: 24px;
  }

  .pd-process__title {
    font-size: 28px;
  }

  .pd-process__subtitle {
    font-size: 20px;
  }

  .pd-process__body {
    font-size: 16px;
  }

  .pd-process__steps {
    flex-direction: column;
  }

  .pd-step {
    min-width: 100%;
    min-height: auto;
  }

  .pd-process__detail {
    flex-direction: column;
    padding: 32px 20px;
    gap: 24px;
  }

  .pd-process__pills {
    width: 100%;
  }

  .pd-process__pill {
    gap: 16px;
    padding: 12px 16px;
  }

  .pd-process__photo {
    min-height: 200px;
    height: 200px;
  }

  .pd-process__strategic-title {
    font-size: 28px;
  }

  .pd-benefit {
    min-width: 100%;
  }

  .pd-benefit__label {
    font-size: 28px;
  }
}