:root {
    --bg-color: #FAFAFA;
    --text-color: #707070;
    --red-davivienda: #ed1c27;
    --white: #ffffff;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

h1 {
    font-size: 1.1rem;
    font-family: 'davbold_italic', sans-serif;
    text-transform: uppercase;
}

h2 {
    font-size: 1.6rem;
    line-height: 2.5rem;
    font-family: 'davbold_italic', sans-serif;
    color: var(--red-davivienda);
}

p {
    font-size: 1.1rem;
    line-height: 1.8rem;
    font-family: 'davlight', sans-serif;
}

b {
    font-family: 'davsemibold', sans-serif;
}

.italic {
    font-family: 'davbold_italic', sans-serif;
}

.fecha {
    font-family: 'davbold_italic', sans-serif;
    color: var(--red-davivienda);
}

.logo-vertical-fijo {
    position: fixed;
    right: 30px;
    top: 20%;
    z-index: 1000;
    pointer-events: none;
}

.logo-vertical-fijo img {
    height: 200px;
    filter: grayscale(1) brightness(0.5);
}

.logo-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
}

.main-logo {
    width: 140px;
}

/* Iconos circulares */
.icon-circle {
    background-color: var(--red-davivienda);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.bnn-ej {
    border: none;
    border-radius: 2rem;
    padding: 1.8rem 3rem;
    margin: 2rem 8rem;
}

.fecha-cont {
    align-items: center;
    margin-right: 5rem;
}

.icon-fecha {
    color: var(--red-davivienda);
    font-size: 1.5rem;
}

/* Estilos para la sección de progreso */
.progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 1;
}

.progress-bar-gray {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

.progress-bar-red {
    position: absolute;
    height: 100%;
    background-color: var(--red-davivienda);
    transition: width 0.4s ease-in-out;
    /* Animación de llenado */
}

.cuotas-nav {
    border: none;
    position: relative;
    z-index: 2;
}

.cuotas-nav .nav-link {
    background: transparent !important;
    border: none;
    color: #b0b0b0;
    font-family: 'davlight_italic', sans-serif;
    font-size: 0.9rem;
    padding-top: 15px;
    border-radius: 0;
}

.cuotas-nav .nav-link.active {
    color: var(--red-davivienda) !important;
    font-family: 'davbold_italic', sans-serif;
}

/* Redondear la card */
.rounded-5 {
    border-radius: 2rem !important;
}

/* Footer Styles (Proporcionados) */
footer {
    background: #000000;
    padding: 1.875em 0;
}

.legalFoot,
.copyRightFoot {
    color: var(--white);
    text-align: center;
    margin: 0 auto;
    max-width: 76.25em;
    margin-top: 0;
    margin-bottom: 0.538em;
    font-size: 0.75em;
    line-height: 2em;
    width: 100%;
    font-family: 'davlight', sans-serif;
}

.logo-davivienda-foot {
    width: 100%;
    max-width: 10.688em;
}

.legal-izq {
    width: 100%;
    max-width: 8.75em;
}

/* Responsive */

@media (max-width: 991px) {
    .logo-vertical-fijo img {
        height: 170px;
    }

    .main-logo {
        width: 125px;
    }

    h1,
    p,
    .fecha {
        font-size: 0.9rem;
        line-height: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
        line-height: 1.8rem;
    }

    .container {
        padding: 0;
        max-width: 900px;
    }

    .bnn-ej {
        margin: 2rem 3rem;
    }
}

@media (max-width: 768px) {

    h1,
    p,
    .fecha {
        font-size: 0.75rem;
        line-height: 1.2rem;
    }

    h2 {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .cuotas-nav .nav-link {
        font-size: 0.6rem;
        padding-top: 0px;
    }

    .logo-vertical-fijo {
        right: 20px;
    }

    .logo-vertical-fijo img {
        height: 120px;
    }

    .main-logo {
        width: 90px;
    }

    .container {
        padding: 0 2rem;
    }

    .footerSite .col {
        flex: initial;
        width: 100%;
        margin-bottom: 1rem;
    }

    .text-center-mobile {
        text-align: start !important;
    }

    .icon-circle {
        margin-right: auto;
    }

    .bnn-ej {
        padding: 1.2rem 2rem;
        margin: 0;
    }

    .fecha-cont {
        margin-right: 2rem;
    }

    .legalFoot,
    .copyRightFoot {
        font-size: 0.5em;
        line-height: 1.5em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    .logo-vertical-fijo {
        right: 10px;
    }
}

@media (max-width: 320px) {

    h1,
    p,
    .fecha {
        font-size: 0.7rem;
        line-height: 1rem;
    }

    h2 {
        font-size: 0.8rem;
        line-height: 1.2rem;
    }

    .cuotas-nav .nav-link {
        font-size: 0.6rem;
        padding-top: 0px;
    }

    .logo-vertical-fijo {
        right: 6px;
    }

    .logo-vertical-fijo img {
        height: 95px;
    }

    .main-logo {
        width: 75px;
    }

    .container {
        padding: 0 1rem;
    }

    .footerSite .col {
        flex: initial;
        width: 100%;
        margin-bottom: 1rem;
    }

    .text-center-mobile {
        text-align: start !important;
    }

    .icon-circle {
        font-size: 1rem;
        width: 30px;
        height: 30px;
    }

    .bnn-ej {
        padding: 0.5rem 1rem;
        margin: 0;
    }

    .rounded-5 {
        border-radius: 1rem !important;
    }

    .fecha-cont {
        margin-right: 1rem;
    }

    .cuotas-nav .nav-link {
        font-size: 0.5rem;
    }

    .legalFoot,
    .copyRightFoot {
        font-size: 0.4em;
        line-height: 1.5em;
    }
}