/* ============================================
   Steps Carousel - Styles
   ============================================ */

/* -- Swiper container -- */
.steps-carousel {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    overflow: hidden;
    padding-bottom: 4px;
    position: relative;
    box-sizing: border-box;
}

.steps-carousel .swiper-wrapper {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    cursor: grab;
}

.steps-carousel .swiper-wrapper:active {
    cursor: grabbing;
}

.steps-carousel .swiper-slide {
    flex-shrink: 0;
    height: auto;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.steps-carousel .swiper-slide-visible {
    opacity: 1;
}

.steps-carousel.swiper-dragging * {
    user-select: none;
    -webkit-user-select: none;
}

/* ============================================
   STEP CARD
   ============================================ */
.steps-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 400px;
    background: linear-gradient(180deg, transparent 0%, #0d0d0d 100%), #1a0a0a;
    border: 1px solid #3a1a1a;
    border-radius: 12px;
    padding: 28px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    gap: 0;
}

/* -- Header: icon left, number right -- */
.steps-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: auto;
}

/* -- Icon -- */
.steps-card__icon {
    flex-shrink: 0;
    line-height: 0;
}

.steps-card__icon img,
.steps-card__icon svg {
    width: 56px;
    height: 56px;
    display: block;
}

/* Inline SVG color inheritance */
.steps-card__icon svg {
    fill: #e74c6f;
    stroke: #e74c6f;
}

.steps-card__icon svg path,
.steps-card__icon svg circle,
.steps-card__icon svg rect,
.steps-card__icon svg line,
.steps-card__icon svg polyline,
.steps-card__icon svg polygon {
    fill: inherit;
    stroke: inherit;
}

/* -- Number -- */
.steps-card__number {
    font-size: 1.1rem;
    font-weight: 500;
    color: #e74c6f;
    line-height: 1;
    flex-shrink: 0;
}

/* -- Body -- */
.steps-card__body {
    margin-top: auto;
}

.steps-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 16px;
}

.steps-card__desc {
    font-size: 0.9rem;
    font-weight: 400;
    color: #b0b0b0;
    line-height: 1.6;
    margin: 0;
}

/* -- Responsive -- */
@media (max-width: 767px) {
    .steps-card {
        padding: 22px;
    }

    .steps-card__icon img,
    .steps-card__icon svg {
        width: 44px;
        height: 44px;
    }

    .steps-card__title {
        font-size: 1.25rem;
    }
}
