/* ═══════════════════════════════════════════════════════
   Component: Steps — Sticky stacking cards
   ═══════════════════════════════════════════════════════ */

.dc-steps {
    padding: 14vh 0 4vh;
}

.dc-steps__heading {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    margin-bottom: 14px;
    max-width: 14ch;
}

.dc-steps__sub {
    max-width: 48ch;
    margin-bottom: 10px;
}

/* ── Stack container ──────────────────────────────────── */

.dc-steps__stack {
    position: relative;
    width: 100%;
}

/* Each panel creates scroll-space and pins its card */
.dc-step-panel {
    position: sticky;
    top: 0;
    margin-bottom: 35vh;
    z-index: calc(1 + var(--i, 0));
}

.dc-step-panel:last-child {
    margin-bottom: 0;
}

/* Extra scroll runway so the last card can fully pin */
.dc-steps__stack::after {
    content: "";
    display: block;
    height: 35vh;
    pointer-events: none;
}

/* ── Card inner ───────────────────────────────────────── */

.dc-step-panel__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.4s ease;
}

.dc-step-panel__inner:hover {
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.13);
}

/* ── Visual side ──────────────────────────────────────── */

.dc-step-panel__visual {
    position: relative;
    overflow: hidden;
}

.dc-step-panel__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dc-step-panel__inner:hover .dc-step-panel__visual img {
    transform: scale(1.05);
}

.dc-step-panel__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.18) 100%);
    pointer-events: none;
}

/* Big number overlay */
.dc-step-panel__num {
    position: absolute;
    top: 28px;
    left: 32px;
    font-family: var(--dc-font-heading);
    font-size: clamp(5rem, 10vw, 9rem);
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.18);
    z-index: 2;
    letter-spacing: -0.04em;
}

/* ── Content side ─────────────────────────────────────── */

.dc-step-panel__content {
    padding: clamp(32px, 5vw, 64px);
    padding-right: clamp(32px, 5vw, calc((100vw - 1200px) / 2 + 64px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 680px;
}

.dc-step-panel__tag {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-pink);
    margin-bottom: 12px;
}

.dc-step-panel__title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 8px;
    line-height: 1.05;
}

.dc-step-panel__tagline {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 18px;
}

.dc-step-panel__content p {
    font-size: 0.95rem;
    max-width: 48ch;
}

/* Checklist */
.dc-step-panel__checks {
    list-style: none;
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.dc-step-panel__checks li {
    position: relative;
    padding-left: 28px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--muted);
}

.dc-step-panel__checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--accent-blue);
    font-size: 0.92rem;
}

/* Progress dots */
.dc-step-panel__progress {
    display: flex;
    gap: 10px;
    margin-top: 32px;
}

.dc-step-panel__progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.dc-step-panel__progress-dot--active {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-pink));
    transform: scale(1.3);
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 1080px) {
    .dc-step-panel__inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .dc-step-panel__content {
        padding: 24px 22px 28px;
    }

    .dc-step-panel__inner {
        height: 102vh;
    }

    .dc-step-panel__num {
        font-size: 4rem;
        top: 16px;
        left: 18px;
    }

    .dc-step-panel {
        margin: 0;
    }
}
