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

*{
    box-sizing:border-box;
}

/* CONTENEDOR PRINCIPAL */

.credito-formal-box{
    width:calc(100% - 30px);
    max-width:950px;
    margin:40px auto;
    padding:35px;
    background:#ffffff;
    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;
}

/* TÍTULO PRINCIPAL */

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

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

/* TEXTOS */

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

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

/* ICONOS SVG LINEALES */

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

/* FRANJA CREZCAMOS JUNTOS */

.credito-franja{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    width:100%;
    margin:30px 0;
    padding:18px 25px;
    overflow:hidden;
    background:linear-gradient(135deg,#1b5e20,#43a047);
    color:#ffffff;
    border-radius:14px;
    box-shadow:0 8px 22px rgba(46,125,50,.25);
    text-align:center;
}

.credito-franja::before{
    content:"";
    position:absolute;
    top:-35px;
    left:-35px;
    width:100px;
    height:100px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
}

.credito-franja::after{
    content:"";
    position:absolute;
    right:-30px;
    bottom:-45px;
    width:120px;
    height:120px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
}

.credito-franja svg{
    position:relative;
    z-index:1;
    width:32px;
    height:32px;
    min-width:32px;
}

.credito-franja-contenido{
    position:relative;
    z-index:1;
}

.credito-franja-titulo{
    display:block;
    margin-bottom:3px;
    font-size:24px;
    font-weight:800;
    line-height:1.2;
}

.credito-franja-texto{
    display:block;
    font-size:15px;
    line-height:1.4;
    opacity:.95;
}

/* CONTENEDOR DE PASOS */

.credito-pasos{
    margin-top:30px;
}

/* TARJETAS */

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

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

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

/* LISTA DE REQUISITOS */

.credito-requisitos{
    margin:5px 0 18px;
    padding:0;
    list-style:none;
}

.credito-requisitos li{
    position:relative;
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:13px;
    padding:13px 15px;
    background:#ffffff;
    color:#555555;
    border:1px solid #e4e9e5;
    border-radius:10px;
    font-size:17px;
    line-height:1.6;
}

.credito-requisitos li svg{
    width:22px;
    height:22px;
    min-width:22px;
    margin-top:3px;
    color:#2e7d32;
}

/* EJEMPLO DEL DOBLE DEL AHORRO */

.credito-ejemplo{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin:20px 0;
    padding:18px;
    background:linear-gradient(135deg,#fff8e1,#fff3cd);
    border:1px solid #ffd180;
    border-left:6px solid #f57c00;
    border-radius:12px;
    color:#6d4c00;
    box-shadow:0 4px 12px rgba(245,124,0,.10);
}

.credito-ejemplo svg{
    width:28px;
    height:28px;
    min-width:28px;
    margin-top:2px;
    color:#f57c00;
}

.credito-ejemplo p{
    margin:0;
    color:#6d4c00;
    font-size:17px;
    line-height:1.65;
    text-align:left;
}

.credito-ejemplo strong{
    color:#e65100;
}

/* MONTO DESTACADO */

.credito-montos{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:15px;
    margin:25px 0;
}

.credito-monto-card{
    padding:18px;
    background:#ffffff;
    border:1px solid #dfe8e1;
    border-radius:13px;
    box-shadow:0 5px 14px rgba(0,0,0,.06);
    text-align:center;
}

.credito-monto-card svg{
    width:30px;
    height:30px;
    margin-bottom:7px;
    color:#2e7d32;
}

.credito-monto-card span{
    display:block;
    margin-bottom:4px;
    color:#777777;
    font-size:14px;
    font-weight:600;
}

.credito-monto-card strong{
    display:block;
    color:#2e7d32;
    font-size:22px;
    line-height:1.3;
}

/* ZONA DEL BOTÓN DE DESCARGA */

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

/* BOTÓN DESCARGAR FORMULARIO */

.credito-btn-formulario,
.credito-btn-formulario:link,
.credito-btn-formulario:visited,
.credito-btn-formulario:hover,
.credito-btn-formulario:active,
.credito-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:#ffffff !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;
}

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

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

/* BOTONES PEQUEÑOS "AQUÍ" */

.credito-btn-aqui,
.credito-btn-aqui:link,
.credito-btn-aqui:visited,
.credito-btn-aqui:hover,
.credito-btn-aqui:active,
.credito-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:#ffffff !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;
}

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

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

/* PALABRA PRÉSTAMOS EN NARANJA */

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

/* TIEMPO DE DESEMBOLSO */

.credito-tiempo{
    display:flex;
    align-items:center;
    gap:14px;
    margin-top:20px;
    padding:17px 18px;
    background:#eef8ff;
    border-left:6px solid #0284c7;
    border-radius:12px;
}

.credito-tiempo svg{
    width:30px;
    height:30px;
    min-width:30px;
    color:#0284c7;
}

.credito-tiempo p{
    margin:0;
    color:#334155;
    font-size:17px;
    line-height:1.6;
    text-align:left;
}

.credito-tiempo strong{
    color:#0369a1;
}

/* BOTÓN FINAL */

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

.credito-cta a,
.credito-cta a:link,
.credito-cta a:visited,
.credito-cta a:hover,
.credito-cta a:active,
.credito-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:#ffffff !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;
}

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

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

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

/* TABLET */

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

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

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

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

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

    .credito-paso{
        padding:18px;
    }

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

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

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

    .credito-franja-titulo{
        font-size:22px;
    }
}

/* CELULARES */

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

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

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

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

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

    .credito-franja{
        flex-direction:column;
        gap:8px;
        margin:22px 0;
        padding:17px 14px;
    }

    .credito-franja svg{
        width:29px;
        height:29px;
        min-width:29px;
    }

    .credito-franja-titulo{
        font-size:21px;
    }

    .credito-franja-texto{
        font-size:14px;
    }

    .credito-montos{
        grid-template-columns:1fr;
        gap:10px;
        margin:20px 0;
    }

    .credito-monto-card{
        padding:15px;
    }

    .credito-monto-card strong{
        font-size:20px;
    }

    .credito-pasos{
        margin-top:22px;
    }

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

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

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

    .credito-requisitos li{
        gap:8px;
        padding:12px;
        font-size:15px;
        line-height:1.6;
    }

    .credito-requisitos li svg{
        width:20px;
        height:20px;
        min-width:20px;
    }

    .credito-ejemplo{
        gap:9px;
        padding:14px 12px;
    }

    .credito-ejemplo svg{
        width:24px;
        height:24px;
        min-width:24px;
    }

    .credito-ejemplo p{
        font-size:15px;
    }

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

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

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

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

    .credito-tiempo{
        align-items:flex-start;
        gap:9px;
        padding:14px 12px;
    }

    .credito-tiempo svg{
        width:25px;
        height:25px;
        min-width:25px;
    }

    .credito-tiempo p{
        font-size:15px;
    }

    .credito-cta{
        margin-top:28px;
    }

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

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

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