/* ==========================================================================
   Component: Steps
   Horizontal (4-col card) + Vertical (list) layout
   ========================================================================== */

/* ---------- Horizontal layout (how-to-book) ---------- */
.steps {
    background: #fff;
    padding: 80px 0;
}

.steps .btn-primary{
    margin: 30px auto 0;
    display: flex;
    width: fit-content;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.steps__grid:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
}

.step-card {
    background: var(--purple-bg-light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.step-card__number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 32px;
    color: var(--red-light);
    margin-bottom: 8px;
}

.step-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15.7px;
    color: var(--purple-dark);
    margin-bottom: 12px;
}

.step-card__desc {
    font-size: 13.6px;
    line-height: 1.625;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .steps__grid,
	.steps__grid:has(> :nth-child(3):last-child){
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .steps__grid,
	.steps__grid:has(> :nth-child(3):last-child){
        grid-template-columns: 1fr;
    }
}

/* ---------- Vertical layout (book-steps) ---------- */
.steps--vertical {
    background: #fff;
    padding: 64px 0 80px;
}

.steps__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.step:last-child {
    margin-bottom: 0;
}

.step__num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #6141b9, #ab5ade);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    color: #fff;
}

.step__content {
    flex: 1;
}

.step__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15.2px;
    color: var(--purple-text);
    margin-bottom: 8px;
}

.step__desc {
    font-size: 13.6px;
    line-height: 1.625;
    color: var(--text-body);
}
