.imagen-modal{
    cursor: pointer;
}

.mb-lg{
    margin-bottom: 6rem;
}
.mt-lg{
    margin-top: 6rem;
}

.sticky{
    position: sticky;
    top: 10px;
    @media(width <= 480px){
        position: relative;
    }
    z-index: 30;
}

.caja-menu{
    box-shadow: 0px 0px 4px 0px #d8d8d8;
    padding: 32px 24px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #fff;

    &.horizontal{
        padding: 0;
        margin: 1rem 0 2rem 0;
        box-shadow: none;
        background-color:#ecf0f1;
        font-weight: 500;
        box-shadow: 0px 0px 0px 10px #fffe;
        padding: 6px 4px;
        top: 10rem;
    }

    &:not(.horizontal)::before{
        content: "";
        height: 12px;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        background-color: #ff8c00;
    }
    .titulo{
        color: #043ab9;
        font-weight: 700;
        font-size: 24px;
    }
    .menu-secciones{
        padding: 0;
        margin: 0;
        li{
            list-style-type: none;
            a{
                color: #000;
                display: inline-block;
                text-decoration: none;
                padding: 10px 15px;
                &:hover{
                    background-color: #dedede;
                    border-radius: 5px;
                }
            }
            &:not(:first-of-type)::before{
                content: "|";
                color: #666;
                font-weight: lighter;
            }
        }
    }
    &.horizontal{
        .menu-secciones{
            display: flex;
            justify-content: center;
            text-align: center;
            align-items: center;
            flex-wrap: wrap;
            li{
                display: inline-block;
                a{
                    font-weight: 600;
                    color: #0d1828;
                }
            }
        }
    }
}

.liston-derecha{
    display: grid;
    grid-template-columns: auto 1fr;
    place-items: center;
    gap: 20px;
    &::after{
        content: "";
        height: 2px;
        width: 100%;
        background-color: #24338d40;
    }
}
.liston-centrado{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    place-items: center;
    gap: 20px;
    margin-inline: 40px;
    &::before,&::after{
        content: "";
        height: 2px;
        width: 100%;
        background-color: #4b4ba1;
    }
}

.banner-a{
    width: 100%;
    aspect-ratio: 16/4;
    object-fit: cover;
}

.banner-b{
    width: 50%;
    align-self: center;
    aspect-ratio: 16/8;
    object-fit: cover;
}

.card-a{
    display: inline-block;
    width: 20rem;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 0px 2px 0px #0004;
    margin-inline: 20px;
    margin-bottom: 40px;
    img{
        background-color: #f1f1f1;
        width: 100%;
        object-fit: contain;
        &.cover{
            object-fit: cover;
        }
        aspect-ratio: 4/3;
    }

    .datos{
        padding: 15px 20px;
        color: #000;
        .titulo{
            font-size: 20px;
            margin-bottom: 16px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        .descripcion{
            font-size: 14px;
            color: #333;
            font-weight: 400;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        .mas{
            margin-top: 28px;
            margin-right: auto;
            font-size: 12px;
            color: #333;
            font-weight: 400;
            display: inline-block;
            border: 1px solid #666;
            padding: 8px 16px;
            border-radius: 32px;
            min-width: 50%;
            position: relative;
            &::after{
                position: absolute;
                right: 0;
                font-family: "remixicon";
                content: "\ea6c";
                margin-right: 24px;
            }
            transition: all 120ms ease-in-out;
        }
        transition: all 120ms ease-in-out;
    }

    &:hover{
        cursor: pointer;
        box-shadow: 0px 0px 8px 2px #1455aad8;
        .datos{
            .titulo{
                white-space: wrap;
            }
        }
        .mas{
            min-width: 100%;
            color: #fff;
            background-color: #0b3177;
        }
    }
}

.card-b{
    margin-inline: 20px;
    display: inline-block;
    width: 24rem;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 0px 0px 2px #0840a840;
    transition: all 120ms ease-in-out;
    margin-bottom: 3rem;
    img{
        background-color: #f1f1f1;
        width: 100%;
        object-fit: contain;
        &.cover{
            object-fit: cover;
        }
        aspect-ratio: 4/2;
        box-shadow: 0px 0px 0px 2px #0840a840;
    }

    .datos{
        padding: 15px 20px;
        color: #000;
        transition: all 120ms ease-in-out;
        .titulo{
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 16px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        .descripcion{
            font-size: 14px;
            margin-bottom: 24px;
            font-weight: 400;
            color: #999;
        }
        .mas{
            font-size: 16px;
            color: #0935e3;
            font-weight: 400;
            font-weight: 500;
            transition: all 120ms ease-in-out;
        }
    }
    &:hover{
        box-shadow: 0 0 0 4px #fff, 0px 0px 0px 6px #075eff;
        .datos{
            .mas{
                color: rgb(255, 126, 20);
            }
        }
    }
}


.card-c{
    margin-inline: 20px;
    margin-bottom: 20px;
    display: inline-block;
    width: 28rem;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 0px 2px 0px #0004;
    display: grid;
    grid-template-columns: 4fr 8fr;
    transition: all 120ms ease-in-out;
    filter: grayscale(1);
    background: #fff;
    img{
        background-color: #f1f1f1;
        width: 100%;
        height: 8rem;
        object-fit: contain;
        &.cover{
            object-fit: cover;
        }
    }

    .datos{
        padding: 15px 20px;
        color: #000;
        transition: all 120ms ease-in-out;
        display: flex;
        align-items: center;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        .titulo{
            font-size: 16px;
            margin-bottom: 0;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
    }
    &:hover{
        filter: grayscale(0);
        scale: 1.2;
        width: 32rem;
        z-index: 2;
        outline: 1px solid #0b2a9b;
        box-shadow: 0px 0px 6px 0px #0b2a9bcc;
    }
}




.footer-a{
    box-shadow:     0 -14px 0px 1px #1e3799,
                    0 -20px 0px 1px #cbcbcb;
    width: 100%;
    padding: 40px;
    .principal{
        display: grid;
        grid-template-columns: 2fr 3fr;
        gap: 20px;
        .logo{
            img{
                /* aspect-ratio: 4 / 1; */
                width: 40%;
                object-fit: contain;
            }
            .direccion{
                margin: 20px 0;
                *{
                    color: #666 !important;
                    line-height: 20px !important;
                    font-size: 14px !important;
                }
            }
        }
        .vinculos{
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            direction: rtl;
            .vinculo{
                .titulo{
                    font-weight: 600;
                }
                ul{
                    margin: 0;
                    padding: 0;
                    list-style: none;
                    li{
                        a{
                            text-decoration: none;
                            color: #666;
                            font-size: 14px;
                            display: block;
                            padding: 5px;
                            &:hover{
                                color: #1f66ff;
                                background-color: #f5f5f5;
                            }
                        }
                    }
                }
            }
        }
    }
    .extra{
        border-top: 1px solid #ddd;
        padding-top: 20px;
        font-size: 12px;
        color: #666;
    }
}




.footer-b{
    width: 100%;
    margin-top: 4rem;
    .capsula{
        background-color: #fff;
        width: 80%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        box-shadow: 0px 0px 8px 0px #0002;
        margin: 0 auto;
        z-index: 3;
        position: relative;
        padding: 2rem 4rem;
        @media(width <= 640px){
            grid-template-columns: 1fr;
        }
        .direccion{
            display: flex;
            justify-content: center;
            flex-direction: column;
            font-size: 14px;
        }
        .logo{
            display: flex;
            justify-content: end;
            align-items: center;
            img{    
                width: auto;
                height: 10vw;
                object-fit: contain;
            }
            @media(width <= 640px){
                justify-content: center;
                img{
                    height: 25vw;
                }
            }
        }
        &::before,&::after{
            content: "";
            position: absolute;
            height: 1rem;
            bottom: 0;
            left: 0;
            z-index: -1;
        }
        &::before{
            width: 20%;
            z-index: 1;
            background-color: #dedede;
        }
        &::after{
            width: 100%;
            background-color: #b1cfff;
        }
    }
    .principal{
        z-index: 1;
        background-color: #4a4b4c;
        padding: 3rem 4rem;
        position: relative;
        .vinculos{
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            .vinculo{
                .titulo{
                    font-weight: 700;
                    color: #fff;
                    font-size: 20px;
                }
                ul{
                    margin: 0;
                    padding: 0;
                    list-style: none;
                    li{
                        a{
                            text-decoration: none;
                            color: #fff;
                            font-size: 16px;
                            display: block;
                            padding: 10px 20px;
                            &:hover{
                                color: #4ecaff;
                                background-color: #0002;
                            }
                        }
                    }
                }
            }
        }
        &::before{
            content: "";
            position: absolute;
            width: 100%;
            height: 6rem;
            top: -6rem;
            left: 0;
            background-color: #4a4b4c;
            z-index: -1;
        }
    }
    .extra{
        padding: 20px;
        font-size: 12px;
        background-color: #1e3799;
        color: #fff;
    }
}




.footer-c{
    width: 100%;
    padding: 40px;
    box-shadow: -1px 0 20px 0 #ddd8;
    .principal{
        display: grid;
        grid-template-columns: 2fr 1fr 2fr;
        gap: 20px;
        .logo{
            display: grid;
            place-items: center;
            img{
                height: auto;
                width: 100%;
                object-fit: contain;
            }
        }
        .direccion{
            *{
                color: #333 !important;
                line-height: 20px !important;
                font-size: 12px !important;
            }
        }
        .vinculos{
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            gap: 20px;
            direction: rtl;
            .vinculo{
                .titulo{
                    font-weight: 600;
                }
                ul{
                    margin: 0;
                    padding: 0;
                    list-style: none;
                    li{
                        a{
                            text-decoration: none;
                            color: #666;
                            font-size: 12px;
                            display: block;
                            margin-bottom: 12px;
                            &:hover{
                                color: #1f66ff;
                                background-color: #f5f5f5;
                            }
                        }
                    }
                }
            }
        }
    }
    .extra{
        border-top: 4px solid #166C79;
        padding-top: 20px;
        font-size: 12px;
        color: #666;
        text-align: center;
    }
}








.card-horizontal-b{
    display: grid;
    grid-template-columns: 20% auto;
    width: 44%;
    color: #000;
    margin: 20px;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0px 0px 8px 0px #6662;
    transition: all 120ms ease-in-out;
    padding: 10px;
    &:hover{
        box-shadow: 0px 0px 0px 2px #fff,
                    0px 0px 0px 6px #8436f1;
    }

    img{
        background-color: #cfecf2;
        width: 100%;
        aspect-ratio: 1/1;
        object-fit: contain;
        border-radius: 10px;
    }

    .datos{
        padding-inline: 10px;
        display: grid;
        justify-content: center;
        align-items: center;
        text-align: center;
        &>div{
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            .titulo{
                font-weight: 700;
                font-size: 20px;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .descripcion{
                font-size: 14px;
                color: #666;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }
    }
}



.card-horizontal-a{
    display: grid;
    grid-template-columns: 1fr 3fr;
    width: 30%;
    color: #000;
    margin: 20px;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0px 0px 2px 0px #0004;
    transition: all 120ms ease-in-out;
    &:hover{
        box-shadow: 0px 0px 0px 4px #fff,
                    0px 0px 0px 8px #1046b1;
    }

    img{
        background-color: #f1f1f1;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .datos{
        padding: 20px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        .titulo{
            font-weight: 700;
            font-size: 20px;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .descripcion{
            font-size: 14px;
            color: #666;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }
}