/* Block Proceso Styles
=============================================== */

.mwm-proceso {
    margin: 2.5rem 0.9375rem;
    padding: 2.5rem 0;
}

.mwm-proceso .max {
    max-width: calc(1310px + 0.9375rem + 0.9375rem);
    margin: 0 auto;
}

/* HEADER */

.mwm-proceso__header {
    text-align: center;
    margin-bottom: 3.125rem;
}

.mwm-proceso__title {
    margin: 0 0 1rem;
}

.mwm-proceso__subtitle {
    font-size: 1rem;
    font-style: italic;
    color: --var(--novalo-color);
    margin: 0;
    opacity: 0.8;
}

/* GRID */

.mwm-proceso__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 0.9375rem;
}

/* STEP */

.mwm-proceso__step {
    display: flex;
    gap: 1.25rem;
    background-color: var(--novalo-color);
    color: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    position: relative;
}

.mwm-proceso__grid.is-even .mwm-proceso__step:last-child {
  grid-column: 1 / -1;
}

/* STEP ICON */

.mwm-proceso__step-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

/* IMAGEN PERSONALIZADA */
.mwm-proceso__step-image {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    object-position: center;
}

/* STEP CONTENT */

.mwm-proceso__step-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem;
    line-height: 1.4;
    color: inherit;
}

.mwm-proceso__step-number {
    font-style: italic;
    font-weight: 400;
    margin-right: 0.25rem;
}

.mwm-proceso__step-desc {
    font-size: 0.9375rem;
    line-height: 1.5;
    opacity: 0.8;
    margin: 0;
}

.mwm-proceso__step-desc p {
    margin: 0 0 0.5rem;
}

.mwm-proceso__step-desc p:last-child {
    margin-bottom: 0;
}

/* RESPONSIVE */

@media screen and (min-width: 768px) {
    .mwm-proceso {
        margin: 3.125rem 0.9375rem;
        padding: 3.125rem 0;
    }
    
    .mwm-proceso__subtitle {
        font-size: 1.125rem;
    }
    
    .mwm-proceso__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .mwm-proceso__step {
        padding: 2.5rem;
    }
    
    .mwm-proceso__step-icon-container {
        width: 70px;
        height: 45px;
    }
    
    .mwm-proceso__step-title {
        font-size: 1.25rem;
    }
    
    .mwm-proceso__step-desc {
        font-size: 1rem;
    }
}

@media screen and (min-width: 1024px) {
    .mwm-proceso {
        margin: 3.75rem 0.9375rem;
        padding: 3.75rem 0;
    }
    
    .mwm-proceso__header {
        margin-bottom: 4rem;
    }
    
    .mwm-proceso__grid {
        gap: 3rem;
    }
    
    .mwm-proceso__step {
        padding: 3rem 2.5rem;
    }
    
    .mwm-proceso__step-title {
        font-size: 1.375rem;
    }
    
    .mwm-proceso__step-desc {
        font-size: 1.0625rem;
    }
}

@media screen and (min-width: 1200px) {
    .mwm-proceso {
        margin: 5rem 0.9375rem;
        padding: 5rem 0;
    }
    
    .mwm-proceso__subtitle {
        font-size: 1.25rem;
    }
    
    .mwm-proceso__header {
        margin-bottom: 5rem;
    }
    
    .mwm-proceso__step-title {
        font-size: 1.5rem;
    }
    
    .mwm-proceso__step-desc {
        font-size: 1.125rem;
    }
}

/* TIMELINE STYLES
=============================================== */

/* Timeline Container */
.mwm-proceso--timeline .mwm-proceso__timeline {
    position: relative;
    padding: 0 0.9375rem;
}

/* Timeline Line */
.mwm-proceso--timeline .mwm-proceso__timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--novalo-color);
    transform: translateX(-50%);
}

/* Timeline Steps */
.mwm-proceso--timeline .mwm-proceso__step {
    position: relative;
    display: flex;
    border-radius: 0;
    align-items: flex-start;
    margin-bottom: 3rem;
    background: none;
    padding: 0;
}

.mwm-proceso--timeline .mwm-proceso__step:last-child {
    margin-bottom: 0;
    background: white;
}

/* Alternate positioning */
.mwm-proceso--timeline .mwm-proceso__step:nth-child(odd) {
    flex-direction: row;
    padding-right: calc(50% + 2rem);
}

.mwm-proceso--timeline .mwm-proceso__step:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: calc(50% + 2rem);
}

/* Step Number Circle */
.mwm-proceso--timeline .mwm-proceso__step-number {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    background-color: var(--novalo-color);
    border: 3px solid #fff;
    border-radius: 0.5rem;
    margin-top: -3px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.mwm-proceso--timeline .mwm-proceso__step-number span {
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Step Content Box */
.mwm-proceso--timeline .mwm-proceso__step-inner {
    background-color: var(--novalo-color);
    color: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    flex: 1;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1.25rem;
}

/* Arrow pointing to timeline */
.mwm-proceso--timeline .mwm-proceso__step:nth-child(odd) .mwm-proceso__step-inner::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 1.5rem;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left-color: var(--novalo-color);
}

.mwm-proceso--timeline .mwm-proceso__step:nth-child(even) .mwm-proceso__step-inner::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 1.5rem;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: var(--novalo-color);
}

/* Hide inline step numbers in timeline mode */
.mwm-proceso--timeline .mwm-proceso__step-number-inline {
    display: none;
}

/* Timeline responsive adjustments */
@media screen and (max-width: 767px) {
    /* Mobile: vertical timeline */
    .mwm-proceso--timeline .mwm-proceso__timeline::before {
        left: 1rem;
    }
    
    .mwm-proceso--timeline .mwm-proceso__step {
        padding: 0 !important;
        flex-direction: row !important;
    }
    
    .mwm-proceso--timeline .mwm-proceso__step-number {
        left: 0;
        transform: translateX(-50%);
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .mwm-proceso--timeline .mwm-proceso__step-number span {
        font-size: 1rem;
    }
    
    .mwm-proceso--timeline .mwm-proceso__step-inner::after {
        display: none;
    }
    
    .mwm-proceso--timeline .mwm-proceso__step-inner {
        margin-left: 1.5rem;
    }
}

@media screen and (min-width: 768px) {
    .mwm-proceso--timeline .mwm-proceso__step-inner {
        padding: 2.5rem;
    }
    
    .mwm-proceso--timeline .mwm-proceso__step-number {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .mwm-proceso--timeline .mwm-proceso__step-number span {
        font-size: 1.25rem;
    }
}

@media screen and (min-width: 1024px) {
    .mwm-proceso--timeline .mwm-proceso__step-inner {
        padding: 3rem 2.5rem;
    }
    
    .mwm-proceso--timeline .mwm-proceso__step-number {
        width: 4rem;
        height: 4rem;
    }
    
    .mwm-proceso--timeline .mwm-proceso__step-number span {
        font-size: 1.375rem;
    }
}