.mdc-path{
    padding:76px 24px 72px;
    background:#f7f7f8;
}

.mdc-path__inner{
    width:min(1180px,100%);
    margin:0 auto;
}

.mdc-path__header{
    max-width:820px;
    margin:0 auto 46px;
    text-align:center;
}

.mdc-path__eyebrow{
    display:block;
    margin-bottom:10px;
    color:#c90012;
    font-size:12px;
    font-weight:800;
    letter-spacing:.13em;
}

.mdc-path__title{
    margin:0 0 16px;
    color:#374151;
    font-size:clamp(31px,3vw,44px);
    line-height:1.08;
    font-weight:800;
    letter-spacing:-.025em;
}

.mdc-path__title span{
    color:#c90012;
}

.mdc-path__intro{
    max-width:760px;
    margin:0 auto;
    color:#5d5d63;
    font-size:17px;
    line-height:1.6;
}


/* ===== FLUJO ===== */

.mdc-path__flow{
    display:grid;
    grid-template-columns:
        minmax(0,1fr) 34px
        minmax(0,1fr) 34px
        minmax(0,1fr) 34px
        minmax(0,1fr);
    align-items:stretch;
}

.mdc-path__step{
    position:relative;
    min-width:0;
    padding:28px 22px 26px;
    border:1px solid #e3e5e8;
    border-radius:12px;
    background:#fff;
}

.mdc-path__icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:66px;
    height:66px;
    margin-bottom:22px;
    border:1.5px solid rgba(201,0,18,.20);
    border-radius:50%;
    color:#c90012;
}

.mdc-path__icon svg{
    display:block;
    width:31px;
    height:31px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.mdc-path__number{
    position:absolute;
    top:27px;
    right:22px;
    color:#b7bac0;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
}

.mdc-path__step h3{
    min-height:52px;
    margin:0 0 12px;
    color:#374151;
    font-size:20px;
    line-height:1.25;
    font-weight:750;
}

.mdc-path__step p{
    margin:0 0 18px;
    color:#5d5d63;
    font-size:14px;
    line-height:1.58;
}

.mdc-path__link{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:#c90012!important;
    font-size:13px;
    font-weight:750;
    text-decoration:none!important;
}

.mdc-path__link span{
    transition:transform .2s ease;
}

.mdc-path__link:hover span{
    transform:translateX(3px);
}

.mdc-path__arrow{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#c90012;
    font-size:24px;
    font-weight:400;
    opacity:.55;
}


/* ===== MENSAJE FINAL ===== */

.mdc-path__message{
    max-width:820px;
    margin:36px auto 0;
    padding-top:24px;
    border-top:1px solid #dedfe2;
    color:#5d5d63;
    font-size:16px;
    line-height:1.55;
    text-align:center;
}

.mdc-path__message strong{
    color:#374151;
}


/* ===== TABLET ===== */

@media(max-width:1024px){

    .mdc-path__flow{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:16px;
    }

    .mdc-path__arrow{
        display:none;
    }

    .mdc-path__step h3{
        min-height:0;
    }
}


/* ===== MÓVIL ===== */

@media(max-width:767px){

    .mdc-path{
        padding:50px 18px 54px;
    }

    .mdc-path__header{
        margin-bottom:30px;
        text-align:left;
    }

    .mdc-path__title{
        font-size:32px;
    }

    .mdc-path__intro{
        font-size:16px;
    }

    .mdc-path__flow{
        grid-template-columns:1fr;
        gap:14px;
    }

    .mdc-path__step{
        display:grid;
        grid-template-columns:64px minmax(0,1fr);
        column-gap:16px;
        padding:20px 18px;
    }

    .mdc-path__icon{
        grid-row:1 / span 4;
        width:58px;
        height:58px;
        margin:0;
    }

    .mdc-path__icon svg{
        width:28px;
        height:28px;
    }

    .mdc-path__number{
        position:static;
        margin-bottom:4px;
    }

    .mdc-path__step h3{
        min-height:0;
        margin-bottom:8px;
        font-size:19px;
    }

    .mdc-path__step p{
        margin-bottom:12px;
    }

    .mdc-path__message{
        margin-top:28px;
        text-align:left;
    }
}
