/*
 * HolDent — Block: Process Steps
 */

.holdent-process-steps {
  padding-block: var(--space-4xl);
}

.holdent-process-steps--canvas    { background: var(--color-canvas); }
.holdent-process-steps--alternate { background: var(--color-alternate); }

.holdent-process-steps__header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
}

.holdent-process-steps__overline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.holdent-process-steps__title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.holdent-process-steps__subtitle {
  font-size: var(--fs-body-l);
  line-height: var(--lh-body);
  color: var(--color-text-muted);
}

/* Grid layouts */
.holdent-process-steps__list {
  list-style: none;
  display: grid;
  gap: var(--space-lg);
}

.holdent-process-steps__list--grid-4,
.holdent-process-steps__list--grid-5 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .holdent-process-steps__list--grid-4 { grid-template-columns: repeat(2, 1fr); }
  .holdent-process-steps__list--grid-5 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .holdent-process-steps__list--grid-4 { grid-template-columns: repeat(4, 1fr); }
  .holdent-process-steps__list--grid-5 { grid-template-columns: repeat(5, 1fr); }
}

.holdent-process-steps__list--grid-4 .holdent-process-steps__item,
.holdent-process-steps__list--grid-5 .holdent-process-steps__item {
  padding: var(--space-xl);
  border-radius: var(--radius-3xl);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.holdent-process-steps__item-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.holdent-process-steps__item-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  color: var(--color-ink);
}

.holdent-process-steps__item-desc {
  font-size: var(--fs-body-s);
  line-height: var(--lh-body);
  color: var(--color-text-muted);
}

/* Vertical layout (Metodo 5-step) */
.holdent-process-steps__list--vertical {
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: var(--container-lg);
  margin-inline: auto;
}

.holdent-process-steps__list--vertical .holdent-process-steps__item {
  padding: var(--space-xl);
  border-radius: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .holdent-process-steps__list--vertical .holdent-process-steps__item {
    grid-template-columns: 160px 1fr auto;
    padding: var(--space-2xl);
  }
}

.holdent-process-steps__list--vertical .holdent-process-steps__item-num-value {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(56px, 6vw, 80px);
  line-height: 1;
  color: var(--color-primary);
}

.holdent-process-steps__list--vertical .holdent-process-steps__item-num-bar {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--color-primary);
  margin-top: 8px;
}

.holdent-process-steps__list--vertical .holdent-process-steps__item-title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
}

.holdent-process-steps__list--vertical .holdent-process-steps__item-desc {
  font-size: var(--fs-body-l);
  line-height: var(--lh-body);
}

.holdent-process-steps__list--vertical .holdent-process-steps__item-icon {
  display: none;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-3xl);
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-brand);
}

@media (min-width: 768px) {
  .holdent-process-steps__list--vertical .holdent-process-steps__item-icon {
    display: inline-flex;
  }
}

.holdent-process-steps__icon-glyph { color: #fff; }
