/* ============================================================
   pacy-section-steps-visual.css
   3-column layout: left steps | center visual | right steps
   ============================================================ */


/* ─── Container override ──────────────────────────────────── */

.pacy-section-steps-visual .pacy-container {
  max-width: 1400px;
}


/* ─── 3-col Grid ──────────────────────────────────────────── */

.pacy-steps-visual__layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: start;
}

.pacy-steps-visual__col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 10px;
}


/* ─── Numbered Steps ──────────────────────────────────────── */

.pacy-steps-visual__step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.pacy-steps-visual__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: var(--pacy-radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pacy-white);
  line-height: 1;
  margin-top: 0.2rem;
  box-shadow: 0 0 0 4px rgba(0, 186, 255, 0.08);
}

/* Light section override */
.light-grey-bg .pacy-steps-visual__num,
.white-bg      .pacy-steps-visual__num,
.subtle-bg     .pacy-steps-visual__num {
  border-color: var(--pacy-base-1);
  color: var(--pacy-dark-1);
  box-shadow: 0 0 0 4px rgba(10, 80, 255, 0.06);
}

.pacy-steps-visual__body .pacy-heading {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 0.5rem;
}

.pacy-steps-visual__body .pacy-body {
  margin-bottom: 0;
  font-size: 0.9rem;
}


/* ─── Center Visual ───────────────────────────────────────── */

.pacy-steps-visual__diagram {
  width: clamp(320px, 38vw, 600px);
}

.pacy-steps-visual__frame {
  border-radius: var(--pacy-radius-xl);
  overflow: hidden;
  background: var(--pacy-white);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10),
    0 16px 48px rgba(0, 0, 0, 0.35),
    0 4px 16px rgba(0, 186, 255, 0.12);
  line-height: 0;
}

.pacy-steps-visual__frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  object-fit: unset;
}


/* ─── Responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
  .pacy-steps-visual__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pacy-steps-visual__col {
    padding-top: 0;
  }

  .pacy-steps-visual__diagram {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }
}
