/**
 * Steps Block Styles
 *
 * @package LiquidationSpa
 */

.lspa-steps {
    padding: 5rem 0;
    overflow: hidden;
}

.lspa-steps__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 3rem;
    align-items: center;
}

/* Left Column */
.lspa-steps__left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Header */
.lspa-steps__header {
    max-width: 450px;
}

.lspa-steps__pill {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6CA6C4;
    margin-bottom: 1rem;
}

.lspa-steps__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #012951;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    isolation: isolate;
}

.lspa-steps__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: #525252;
    line-height: 1.6;
    margin: 0;
}

/* Image Wrapper */
.lspa-steps__image-wrapper {
    position: relative;
    max-width: 450px;
}

.lspa-steps__image {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    z-index: 2;
}

.lspa-steps__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Decorative Elements */
.lspa-steps__decoration {
    position: absolute;
    z-index: 1;
}

.lspa-steps__decoration--circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6CA6C4 0%, #012951 100%);
    border-radius: 50%;
    top: -30px;
    right: -30px;
    opacity: 0.8;
}

.lspa-steps__decoration--dots {
    width: 80px;
    height: 80px;
    bottom: -20px;
    left: -20px;
    background-image: radial-gradient(#6CA6C4 2px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0.6;
}

/* CTA Button */
.lspa-steps__cta {
    margin-top: 1rem;
}

.lspa-steps__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    background-color: #012951;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    border: 2px solid #012951;
    transition: all 200ms ease;
}

.lspa-steps__button:hover {
    background-color: transparent;
    color: #012951;
}

.lspa-steps__button-icon {
    width: 18px;
    height: 18px;
    transition: transform 200ms ease;
}

.lspa-steps__button:hover .lspa-steps__button-icon {
    transform: translateX(4px);
}

/* Right Column - Cards */
.lspa-steps__right {
    padding-left: 2rem;
}

.lspa-steps__cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Step Card */
.lspa-steps__card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background-color: #FFFFFF;
    border-radius: 1rem;
    border-left: 4px solid #6CA6C4;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 300ms ease;
    width: 520px;
    max-width: 100%;
}

/* Alternating offset - odd cards left, even cards right */
.lspa-steps__card:nth-child(odd) {
    margin-left: 0;
}

.lspa-steps__card:nth-child(even) {
    margin-left: 60px;
}

.lspa-steps__card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Card Number */
.lspa-steps__card-number {
    flex-shrink: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #6CA6C4;
    opacity: 0.5;
    line-height: 1;
}

/* Card Content */
.lspa-steps__card-content {
    flex: 1;
    min-width: 0;
}

.lspa-steps__card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #012951;
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
}

.lspa-steps__card-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .lspa-steps {
        padding: 4rem 0;
    }

    .lspa-steps__container {
        gap: 3rem;
    }

    .lspa-steps__right {
        padding-left: 1rem;
    }

    .lspa-steps__card {
        width: 455px;
    }

    .lspa-steps__card:nth-child(odd) {
        margin-left: 0;
    }

    .lspa-steps__card:nth-child(even) {
        margin-left: 40px;
    }
}

@media (max-width: 768px) {
    .lspa-steps {
        padding: 3rem 0;
    }

    .lspa-steps__container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .lspa-steps__left {
        order: 1;
    }

    .lspa-steps__right {
        order: 2;
        padding-left: 0;
    }

    .lspa-steps__header {
        max-width: 100%;
    }

    .lspa-steps__image-wrapper {
        max-width: 100%;
    }

    .lspa-steps__card {
        margin-left: 0;
        padding: 1.25rem;
    }

    .lspa-steps__card-number {
        font-size: 1.25rem;
    }

    .lspa-steps__card-title {
        font-size: 1rem;
    }

    .lspa-steps__decoration--circle {
        width: 70px;
        height: 70px;
        top: -20px;
        right: -10px;
    }

    .lspa-steps__decoration--dots {
        width: 60px;
        height: 60px;
        bottom: -10px;
        left: -10px;
    }

    .lspa-steps__button {
        width: 100%;
        justify-content: center;
    }
}

/* Editor Preview */
.editor-styles-wrapper .lspa-steps {
    margin: 1rem 0;
}
