﻿.credito-page {
    background: #000;
    color: #fff;
}

/* HERO */

.credito-hero {
    position: relative;
    min-height: calc(100vh - 92px);
    background-image: url('/assets/images/ProductosCreditos/creditos2.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

    .credito-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.08);
        z-index: 1;
    }

.credito-hero-content {
    position: relative;
    z-index: 2;
    width: 58%;
    margin-left: auto;
    margin-right: 5rem;
    text-align: right;
}

.credito-label {
    font-size: clamp(1.8rem, 3vw, 3.4rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 5px;
    margin-bottom: 1rem;
}

.credito-hero h1 {
    font-size: clamp(3.2rem, 5.2vw, 5.8rem);
    font-weight: 800;
    letter-spacing: 6px;
    line-height: 1.12;
    margin-bottom: 1.7rem;
    text-align: right;
}

.credito-description {
    max-width: 900px;
    margin: 0 0 2.2rem auto;
    font-size: clamp(1.1rem, 1.4vw, 1.6rem);
    font-weight: 300;
    line-height: 1.45;
    text-align: right;
}

.credito-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #93763D;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 999px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    transition: all .3s ease;
    min-width: 360px;
    height: 76px;
}

    .credito-btn:hover {
        background: #A98A49;
        color: #F5F1E6;
        transform: translateY(-2px);
    }

    .credito-btn span {
        font-size: 1.4rem;
        font-weight: 300;
    }

/* BENEFICIOS */

.credito-beneficios {
    position: relative;
    min-height: 78vh;
    background-image: url('/assets/images/ProductosCreditos/Componente40–1.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 5rem 0 5.5rem;
    overflow: hidden;
}

    .credito-beneficios::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,.03), rgba(0,0,0,.25));
        z-index: 1;
    }

.credito-linea {
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

.credito-linea-beneficios {
    left: 13%;
    top: 0;
    height: 100%;
    opacity: .55;
}

.credito-beneficios-content {
    position: relative;
    z-index: 3;
    max-width: 1600px;
    padding-left: 8rem;
}

.credito-beneficios h2 {
    font-size: clamp(2.6rem, 4vw, 4.4rem);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.beneficios-subtitle {
    font-size: clamp(1.3rem, 1.9vw, 2.1rem);
    font-weight: 300;
    margin-bottom: 2.7rem;
}

.beneficios-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .beneficios-list li {
        position: relative;
        color: #fff;
        font-size: clamp(1.25rem, 1.7vw, 2rem);
        font-weight: 800;
        margin-bottom: 1.2rem;
        padding-left: 4rem;
        line-height: 1.35;
    }

        .beneficios-list li::before {
            content: "›";
            position: absolute;
            left: 0;
            top: 50%;
            width: 2rem;
            height: 2rem;
            border-radius: 50%;
            background: #efe1a3;
            color: #7d6a39;
            transform: translateY(-50%);
            display: flex;
            align-items: center;
            justify-content: center;
            padding-bottom: 8px;
            font-size: 1.8rem;
            font-weight: 800;
            line-height: 1;
        }

/* IMAGEN SEGURIDAD */

.credito-seguridad {
    position: relative;
    min-height: 95vh;
    background: #000;
    overflow: hidden;
}

    .credito-seguridad::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 260px;
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(47,41,20,.65) 55%, rgba(84,70,35,1) 100%);
        z-index: 2;
    }

.credito-seguridad-img {
    min-height: 95vh;
    background-image: url('/assets/images/ProductosCreditos/credito4.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* REQUISITOS */

.credito-requisitos {
    position: relative;
    min-height: 70vh;
    background-image: url('/assets/images/ProductosCreditos/Rectangulo23.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 5.5rem 0 6rem;
    overflow: hidden;
    margin-top: -1px;
}

.credito-linea-requisitos {
    right: 0;
    top: -20%;
    height: 130%;
    opacity: .45;
}

.credito-requisitos-content {
    position: relative;
    z-index: 3;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.credito-requisitos h2 {
    font-size: clamp(2.1rem, 3vw, 3.3rem);
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 2.7rem;
}

.credito-requisitos p {
    max-width: 1300px;
    font-size: clamp(1.3rem, 1.8vw, 2.1rem);
    font-weight: 300;
    line-height: 1.45;
    margin-bottom: 4rem;
}

.requisitos-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.credito-btn-white {
    background: #fff;
    color: #92733c;
    min-width: 430px;
    padding: 1.15rem 2.6rem;
    font-size: clamp(1.1rem, 1.6vw, 1.8rem);
    box-shadow: 0 20px 35px rgba(0,0,0,.18);
}

    .credito-btn-white:hover {
        background: #efe1a3;
        color: #7d6a39;
    }

/* FOOTER */

.global-footer-bg {
    background-image: url('/assets/images/ProductosCreditos/Rectangulo23.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.global-footer-section {
    background-image: url('/assets/images/ProductosCreditos/Rectangulo23.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* RESPONSIVE */

@media (max-width: 1199px) {
    .credito-hero-content {
        width: 65%;
        margin-right: 2rem;
    }

    .credito-hero h1 {
        letter-spacing: 5px;
    }

    .credito-btn-white {
        min-width: 380px;
    }
}

@media (max-width: 991px) {
    .credito-hero {
        background-position: center left;
        min-height: 85vh;
    }

    .credito-hero-content {
        width: 100%;
        margin: 0;
        padding: 3rem 1rem;
    }

    .credito-hero::after {
        background: rgba(0,0,0,.45);
    }

    .credito-beneficios {
        padding: 4rem 0;
    }

    .credito-beneficios-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .credito-linea-beneficios,
    .credito-linea-requisitos {
        opacity: .2;
    }

    .beneficios-list li {
        font-size: 1.4rem;
    }

    .credito-seguridad,
    .credito-seguridad-img {
        min-height: 65vh;
    }

    .credito-requisitos p {
        font-size: 1.3rem;
    }

    .requisitos-buttons {
        gap: 2rem;
    }

    .credito-btn-white {
        min-width: 100%;
    }
}

@media (max-width: 575px) {
    .credito-hero h1 {
        font-size: 2.6rem;
        letter-spacing: 2px;
    }

    .credito-label {
        font-size: 1.5rem;
        letter-spacing: 3px;
        margin-bottom: 0.5rem;
        text-align: right;
        padding-right: 2rem;
    }

    .credito-description {
        font-size: 1rem;
    }

    .credito-btn {
        width: 100%;
        min-width: 100%;
        height: 68px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

        .credito-btn span {
            font-size: 1.1rem;
        }

    .credito-beneficios h2,
    .credito-requisitos h2 {
        font-size: 2rem;
    }

    .beneficios-subtitle {
        font-size: 1.1rem;
    }

    .beneficios-list li {
        font-size: 1.05rem;
        padding-left: 3rem;
    }

        .beneficios-list li::before {
            width: 1.8rem;
            height: 1.8rem;
            font-size: 1.8rem;
        }
}
