/* Estilos propios de la página: MicroCrédito */

*{
    box-sizing:border-box;
}

.microcredito-box{
    width:calc(100% - 30px);
    max-width:950px;
    margin:40px auto;
    padding:35px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 15px 35px rgba(0,0,0,.12);
    border-top:6px solid #2e7d32;
    font-family:Arial,Helvetica,sans-serif;
    overflow:hidden;
}

.microcredito-box h2{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    text-align:center;
    color:#2e7d32;
    font-size:34px;
    line-height:1.25;
    margin:0 0 20px;
}

.microcredito-box h2 svg{
    width:35px;
    height:35px;
    min-width:35px;
}

.microcredito-box p{
    color:#555;
    font-size:18px;
    line-height:1.8;
    text-align:justify;
    margin:0 0 18px;
    word-spacing:normal;
    letter-spacing:normal;
    overflow-wrap:break-word;
    hyphens:auto;
}

.microcredito-box strong{
    color:#2e7d32;
}

/* ESTILO GENERAL DE LOS ICONOS SVG */

.icono-lineal{
    display:inline-block;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
    flex-shrink:0;
}

.pasos{
    margin-top:30px;
}

.paso{
    width:100%;
    background:#f8f9fa;
    border-left:6px solid #4caf50;
    padding:20px;
    border-radius:12px;
    margin-bottom:20px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    overflow:hidden;
}

.paso h3{
    display:flex;
    align-items:center;
    gap:9px;
    margin:0 0 12px;
    color:#2e7d32;
    font-size:23px;
    line-height:1.35;
}

.paso h3 svg{
    width:25px;
    height:25px;
    min-width:25px;
}

.descarga{
    text-align:center;
    margin:20px 0 5px;
}

/* BOTÓN PARA DESCARGAR EL FORMULARIO */

.btn-formulario,
.btn-formulario:link,
.btn-formulario:visited,
.btn-formulario:hover,
.btn-formulario:active,
.btn-formulario:focus{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    max-width:100%;
    padding:14px 26px;
    background:linear-gradient(145deg,#2e7d32,#4caf50);
    color:#fff !important;
    font-weight:bold;
    line-height:1.35;
    text-align:center;
    text-decoration:none !important;
    border:none;
    outline:none;
    border-radius:50px;
    box-shadow:0 6px 18px rgba(0,0,0,.2);
    transition:transform .25s ease, background .25s ease;
    white-space:normal;
}

.btn-formulario svg{
    width:22px;
    height:22px;
    min-width:22px;
}

.btn-formulario:hover{
    transform:scale(1.04);
    background:linear-gradient(145deg,#4caf50,#2e7d32);
}

/* BOTONES "AQUÍ" DENTRO DEL TEXTO */

.btn-aqui,
.btn-aqui:link,
.btn-aqui:visited,
.btn-aqui:hover,
.btn-aqui:active,
.btn-aqui:focus{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    padding:4px 14px;
    margin:0 4px;
    background:linear-gradient(145deg,#2e7d32,#4caf50);
    color:#fff !important;
    font-weight:bold;
    font-size:15px;
    line-height:1.4;
    text-align:center;
    text-decoration:none !important;
    border:none;
    outline:none;
    border-radius:20px;
    box-shadow:0 4px 10px rgba(0,0,0,.18);
    transition:transform .25s ease, background .25s ease;
    vertical-align:middle;
    white-space:nowrap;
}

.btn-aqui svg{
    width:16px;
    height:16px;
    min-width:16px;
}

.btn-aqui:hover{
    background:linear-gradient(145deg,#4caf50,#2e7d32);
    transform:scale(1.08);
}

/* PALABRA PRÉSTAMOS EN COLOR NARANJA */

.texto-naranja{
    color:#f57c00 !important;
    font-weight:bold;
}

/* BOTÓN FINAL */

.cta{
    text-align:center;
    margin-top:40px;
}

.cta a,
.cta a:link,
.cta a:visited,
.cta a:hover,
.cta a:active,
.cta a:focus{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    max-width:100%;
    padding:18px 45px;
    background:linear-gradient(145deg,#2e7d32,#4caf50);
    color:#fff !important;
    font-size:22px;
    font-weight:bold;
    line-height:1.3;
    text-align:center;
    text-decoration:none !important;
    border:none;
    outline:none;
    border-radius:60px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    transition:transform .25s ease, background .25s ease;
    white-space:normal;
}

.cta a svg{
    width:27px;
    height:27px;
    min-width:27px;
}

.cta a:hover{
    transform:scale(1.05);
    background:linear-gradient(145deg,#4caf50,#2e7d32);
}

.cta small{
    display:block;
    color:#666;
    margin-top:15px;
    font-size:15px;
    line-height:1.5;
}

/* TABLET */

@media screen and (max-width:768px){

    .microcredito-box{
        width:calc(100% - 24px);
        margin:25px auto;
        padding:22px;
        border-radius:15px;
    }

    .microcredito-box h2{
        font-size:28px;
    }

    .microcredito-box h2 svg{
        width:30px;
        height:30px;
        min-width:30px;
    }

    .microcredito-box p{
        font-size:17px;
        line-height:1.7;
        text-align:left;
        hyphens:none;
    }

    .paso{
        padding:18px;
    }

    .paso h3{
        font-size:21px;
    }

    .paso h3 svg{
        width:23px;
        height:23px;
        min-width:23px;
    }

    .btn-aqui,
    .btn-aqui:link,
    .btn-aqui:visited,
    .btn-aqui:hover,
    .btn-aqui:active,
    .btn-aqui:focus{
        font-size:14px;
        padding:4px 12px;
    }
}

/* CELULARES */

@media screen and (max-width:480px){

    .microcredito-box{
        width:calc(100% - 20px);
        margin:18px auto;
        padding:16px 12px;
        border-radius:13px;
    }

    .microcredito-box h2{
        font-size:24px;
        line-height:1.3;
        margin-bottom:18px;
        gap:8px;
    }

    .microcredito-box h2 svg{
        width:27px;
        height:27px;
        min-width:27px;
    }

    .microcredito-box p{
        font-size:16px;
        line-height:1.65;
        text-align:left;
        margin-bottom:16px;
    }

    .pasos{
        margin-top:22px;
    }

    .paso{
        border-left-width:5px;
        padding:16px 14px;
        border-radius:10px;
    }

    .paso h3{
        font-size:19px;
        line-height:1.4;
        align-items:flex-start;
        gap:7px;
    }

    .paso h3 svg{
        width:21px;
        height:21px;
        min-width:21px;
        margin-top:2px;
    }

    .btn-formulario,
    .btn-formulario:link,
    .btn-formulario:visited,
    .btn-formulario:hover,
    .btn-formulario:active,
    .btn-formulario:focus{
        width:100%;
        padding:13px 12px;
        font-size:15px;
        border-radius:14px;
    }

    .btn-formulario svg{
        width:20px;
        height:20px;
        min-width:20px;
    }

    .btn-aqui,
    .btn-aqui:link,
    .btn-aqui:visited,
    .btn-aqui:hover,
    .btn-aqui:active,
    .btn-aqui:focus{
        font-size:13px;
        padding:4px 10px;
        margin:2px 3px;
    }

    .btn-aqui svg{
        width:14px;
        height:14px;
        min-width:14px;
    }

    .cta{
        margin-top:28px;
    }

    .cta a,
    .cta a:link,
    .cta a:visited,
    .cta a:hover,
    .cta a:active,
    .cta a:focus{
        width:100%;
        padding:16px 15px;
        font-size:19px;
        border-radius:18px;
    }

    .cta a svg{
        width:24px;
        height:24px;
        min-width:24px;
    }

    .cta small{
        padding:0 8px;
        font-size:14px;
    }
}
