/* ==========================================================
   MANOSALVA — PROCESO / PASOS
========================================================== */

.ms-process {
    position: relative;

    padding:
        clamp(58px, 6vw, 82px)
        clamp(20px, 4vw, 64px);

    background: #ffffff;
}

.ms-process *,
.ms-process *::before,
.ms-process *::after {
    box-sizing: border-box;
}

.ms-process__inner {
    width: min(100%, 1320px);
    margin: 0 auto;
}


/* ==========================================================
   CABECERA
========================================================== */

.ms-process__header {
    max-width: 850px;

    margin:
        0 auto
        38px;

    text-align: center;
}

.ms-process__title {
    position: relative;

    width: fit-content;

    margin: 0 auto 14px;
    padding-bottom: 10px;

    font-size:
        clamp(32px, 3vw, 44px);

    font-weight: 800;
    line-height: 1.1;

    color: #10234b;
}

.ms-process__title::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 0;

    width: 72px;
    height: 4px;

    border-radius: 999px;

    background: #ed1c2e;

    transform: translateX(-50%);
}

.ms-process__subtitle {
    font-size: 16px;
    line-height: 1.55;

    color: #5a6575;
}


/* ==========================================================
   PASOS
========================================================== */

.ms-process__steps {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* ==========================================================
   CARD
========================================================== */

.ms-process__step {
    position: relative;

    min-width: 0;
    min-height: 210px;

    padding: 28px;

    border:
        1px solid
        rgba(7, 59, 112, 0.10);

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 12px 30px
        rgba(15, 48, 84, 0.08);
}


/* Número */

.ms-process__number {
    position: absolute;

    top: -13px;
    left: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    margin: 0;

    border-radius: 50%;

    background: #ed1c2e;

    font-size: 15px;
    font-weight: 800;

    color: #ffffff;

    box-shadow:
        0 5px 12px
        rgba(237, 28, 46, 0.24);
}


/* Icono */

.ms-process__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    margin:
        8px
        0
        18px;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #edf6ff,
            #dcecff
        );
}

.ms-process__icon-image {
    width: 36px;
    height: 36px;

    object-fit: contain;
}


/* Texto */

.ms-process__description {
    font-size: 15px;
    line-height: 1.5;

    color: #536174;
}

.ms-process__description h3,
.ms-process__description h4 {
    margin:
        0
        0
        8px;

    font-size: 21px;
    font-weight: 800;
    line-height: 1.15;

    color: #10234b;
}

.ms-process__description p {
    margin:
        0
        0
        8px;
}

.ms-process__description p:last-child {
    margin-bottom: 0;
}


/* Flechas */

.ms-process__step:not(:last-child)::after {
    content: "→";

    position: absolute;

    top: 50%;
    right: -25px;

    z-index: 2;

    font-size: 24px;
    font-weight: 700;

    color: #2f5f91;

    transform: translateY(-50%);
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 767.98px) {

    .ms-process {
        padding: 46px 16px;
    }

    .ms-process__steps {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .ms-process__step {
        min-height: 0;
    }

    .ms-process__step:not(:last-child)::after {
        display: none;
    }
}